You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**TMTheme Editor** is a color scheme editor for [SublimeText][1], [Textmate][2] and bunch of other text editors.
3
-
It started as a personal experiment trying to use new HTML5 File APIs in Chrome and Angular.js. It allows you to edit `tmtheme` files easier and faster.
4
1
5
-
**NOTE**: Only works in **Google Chrome** at the moment since HTML5 APIs it uses are not available in other browsers yet.
6
-
7
-
### TRY IT OUT HERE: [tmtheme-editor.herokuapp.com](http://tmtheme-editor.herokuapp.com/)
You can add your color scheme using the `Open` button (which does not upload anything to any server, but only allows the page to have access to the file. You can also drag and drop the file on to the page) and start tweaking the colors, add or remove rules and see the effect instantly on the preview pane.
As soon as you add a color scheme to the editor it saves the file using the File System API so that you can refresh the page and still have the color scheme loaded. Whenever you're happy with your changes you can save them so that editor can persist it on the disk. To get back the new tmtheme file you can click `Download` button and use it in your editor.
4
+
**TMTheme Editor** is a color scheme editor for [SublimeText](http://www.sublimetext.com/),
5
+
[Textmate](http://macromates.com/) and bunch of other text editors.
6
+
It allows you to edit `tmtheme` files easier and faster. it's written in [coffeescript](http://coffeescript.org/)
7
+
using [angular.js](angularjs.org)
25
8
26
-
## TmLanguage Parser
27
-
As a side project I started to write a tmLanguage parser in javascript to be able to highlight text files based on the color scheme inside the browser. it's a work in progress and has a lot of problems mainly because of javascript limited regular expression engine. I appreciate if you can help me improve it by sending a pull request.
28
-
29
-
## Keyboard Shortcuts
30
-
`ctrl+n`: adds a new rule
31
-
32
-
`esc`: closes all the popovers
33
-
34
-
## HTML5 APIs used
35
-
- Blob constructing
36
-
- FileReader API
37
-
- fileWriter API
38
-
- filesystem API
39
-
- file saver API
40
-
- Drag and Drop API
41
-
42
-
written in [coffeescript](http://coffeescript.org/) using [angular.js](angularjs.org)
43
-
44
-
45
-
## Install
46
-
47
-
```bash
48
-
git clone git@github.com:aziz/tmTheme-Editor.git
49
-
cd tmTheme-editor
50
-
./start.sh
51
-
```
9
+
**NOTE**: Only works in **Google Chrome** at the moment since HTML5 APIs it uses are not available in other browsers yet.
0 commit comments