diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2015-03-24 02:40:41 +0100 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2015-03-24 02:48:01 +0100 |
commit | 83f18d2578288fe71fca409e4f03434346b0d5b7 (patch) | |
tree | 4d32a1e4dbb3f113ac08fc7ef664636d909df004 /lib/lexers/js.tes | |
parent | fec93b9b0cc83dc1102c78c8bf1eacaf8763d9b8 (diff) | |
download | sciteco-83f18d2578288fe71fca409e4f03434346b0d5b7.tar.gz |
added new lexer configs auto-generated by scite2co.lua
* these are still not all languages supported by Scintilla.
scite2co.lua does not do a good job of generating styles when
SciTE's property files use hardcoded colors/fonts.
This commit only includes reasonably good conversion results.
The remaining languages need some additional manual labor.
* Even these lexers are not perfect and should be revised by comparing
them with SciTE's properties.
* So many lexers make the "lexer.auto" macro too slow.
We need some optimization. E.g. the search-command optimization
described in TODO, or an extended EN command for globbing manually
specified file names.
Diffstat (limited to 'lib/lexers/js.tes')
-rw-r--r-- | lib/lexers/js.tes | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/lib/lexers/js.tes b/lib/lexers/js.tes new file mode 100644 index 0000000..50953af --- /dev/null +++ b/lib/lexers/js.tes @@ -0,0 +1,27 @@ +! AUTO-GENERATED FROM SCITE PROPERTY SET ! + +@[lexer.test.js]{ [_ + _.[js,es,json]M[lexer.checkname] +]_ } + +@[lexer.set.js]{ + ESSETLEXER,SCLEX_CPP + 0ESSETKEYWORDS + abstract boolean break byte case catch char class const continue debugger + default delete do double else enum export extends final finally float for function + goto if implements import in instanceof int interface long native new package + private protected public return short static super switch synchronized this throw + throws transient try typeof var void volatile while with + :M[color.comment],1M[color.set] + :M[color.comment],2M[color.set] + :M[color.comment],3M[color.set] + :M[color.number],4M[color.set] + :M[color.keyword],5M[color.set] + :M[color.string],6M[color.set] + :M[color.string2],7M[color.set] + :M[color.preproc],9M[color.set] + :M[color.operator],10M[color.set] + :M[color.comment],15M[color.set] + :M[color.string],20M[color.set] + :M[color.comment],24M[color.set] +} |