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/oscript.tes | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 lib/lexers/oscript.tes (limited to 'lib/lexers/oscript.tes') diff --git a/lib/lexers/oscript.tes b/lib/lexers/oscript.tes new file mode 100644 index 0000000..e0839bd --- /dev/null +++ b/lib/lexers/oscript.tes @@ -0,0 +1,45 @@ +! AUTO-GENERATED FROM SCITE PROPERTY SET ! + +@[lexer.test.oscript]{ [_ + _.osxM[lexer.checkname] +]_ } + +@[lexer.set.oscript]{ + ESSETLEXER,SCLEX_OSCRIPT + 0ESSETKEYWORDS + break breakif by case continue continueif default downto else elseif end for + goto if in repeat switch to until while function return void dll inbyref inout + linked nodebug super this xcmd xfcn + 1ESSETKEYWORDS + false true undefined booleantype bytestype datatype dynamictype errortype + externtype integertype listtype longtype objecttype objreftype pointtype realtype + scripttype stringtype undefinedtype voidtype + 2ESSETKEYWORDS + and eq ge gt le lt ne not or xor + 3ESSETKEYWORDS + assoc boolean bytes date dynamic error extern file integer list long object + point real recarray record script string cachetree capiconnect capierr capilog + capilogin compiler dapisession dapinode dapiversion dapistream filecopy fileprefs + frame javaobject mailmessage pop3session smtpsession ssloptions patfind patchange + regex socket sqlconnection sqlcursor uapisession uapiuser wapisession wapimap + wapimaptask wapiwork wapisubwork domattr domcdatasection domcharacterdata domcomment + domdocument domdocumentfragment domdocumenttype domelement domentity domentityreference + domimplementation domnamednodemap domnode domnodelist domnotation domparser + domprocessinginstruction domtext saxparser xslprocessor + 4ESSETKEYWORDS + datatypename echo echodebug echoerror echoinfo echostamp echowarn + getfeatures isdefined iserror isfeature isinvokable isnoterror isnotset isobject isset + isundefined length nparameters parameters pointh pointv type + 5ESSETKEYWORDS + capi dapi env global language logging math memcached otds pattern security + sql str system uapi vis wapi web zip + :M[color.comment],1M[color.set] + :M[color.comment],2M[color.set] + :M[color.comment],3M[color.set] + :M[color.preproc],4M[color.set] + :M[color.number],5M[color.set] + :M[color.string],6M[color.set] + :M[color.string],7M[color.set] + :M[color.keyword],11M[color.set] + :M[color.operator],12M[color.set] +} -- cgit v1.2.3