From 83f18d2578288fe71fca409e4f03434346b0d5b7 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Tue, 24 Mar 2015 02:40:41 +0100 Subject: 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. --- lib/lexers/caml.tes | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 lib/lexers/caml.tes (limited to 'lib/lexers/caml.tes') diff --git a/lib/lexers/caml.tes b/lib/lexers/caml.tes new file mode 100644 index 0000000..f9827e2 --- /dev/null +++ b/lib/lexers/caml.tes @@ -0,0 +1,21 @@ +! AUTO-GENERATED FROM SCITE PROPERTY SET ! + +@[lexer.test.caml]{ [_ + _.[ml,mli]M[lexer.checkname] +]_ } + +@[lexer.set.caml]{ + ESSETLEXER,SCLEX_CAML + 0ESSETKEYWORDS + and as assert asr begin class constraint do done downto else end exception + external false for fun function functor if in include inherit initializer land lazy + let lor lsl lsr lxor match method mod module mutable new object of open or + private rec sig struct then to true try type val virtual when while with + 1ESSETKEYWORDS + option Some None ignore ref lnot succ pred parser + 2ESSETKEYWORDS + array bool char float int list string unit + :M[color.keyword],3M[color.set] + :M[color.operator],7M[color.set] + :M[color.comment],12M[color.set] +} -- cgit v1.2.3