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/purebasic.tes | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 lib/lexers/purebasic.tes (limited to 'lib/lexers/purebasic.tes') diff --git a/lib/lexers/purebasic.tes b/lib/lexers/purebasic.tes new file mode 100644 index 0000000..c6ad766 --- /dev/null +++ b/lib/lexers/purebasic.tes @@ -0,0 +1,33 @@ +! AUTO-GENERATED FROM SCITE PROPERTY SET ! + +@[lexer.test.purebasic]{ [_ + _.pbM[lexer.checkname] +]_ } + +@[lexer.set.purebasic]{ + ESSETLEXER,SCLEX_PUREBASIC + 0ESSETKEYWORDS + and break case continue data datasection declare declarecdll declaredll + default deftype dim else elseif end enddatasection endenumeration endif endinterface + endprocedure endselect endstructure endstructureunion enumeration extends fakereturn for + foreach forever global gosub goto if includebinary includefile includepath interface + newlist next or procedure procedurecdll proceduredll procedurereturn protected read + repeat restore return select shared static step structure structureunion to until + wend while xincludefile + 1ESSETKEYWORDS + compilercase compilerdefault compilerelse compilerendif compilerendselect + compilerif compilerselect + :M[color.comment],1M[color.set] + :M[color.number],2M[color.set] + :M[color.keyword],3M[color.set] + :M[color.string],4M[color.set] + :M[color.operator],6M[color.set] + :M[color.preproc],10M[color.set] + :M[color.keyword],11M[color.set] + :M[color.keyword],12M[color.set] + :M[color.number],13M[color.set] + :M[color.preproc],15M[color.set] + :M[color.error],16M[color.set] + :M[color.number],17M[color.set] + :M[color.number],18M[color.set] +} -- cgit v1.2.3