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/awk.tes | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 lib/lexers/awk.tes (limited to 'lib/lexers/awk.tes') diff --git a/lib/lexers/awk.tes b/lib/lexers/awk.tes new file mode 100644 index 0000000..e9b98a0 --- /dev/null +++ b/lib/lexers/awk.tes @@ -0,0 +1,24 @@ +! AUTO-GENERATED FROM SCITE PROPERTY SET ! + +@[lexer.test.awk]{ [_ + _.awkM[lexer.checkname] +]_ } + +@[lexer.set.awk]{ + ESSETLEXER,SCLEX_PERL + 0ESSETKEYWORDS + BEGIN END if else while do for in break continue delete exit function return + print printf sprintf system close getline next nextfile fflush atan2 cos exp int + log rand sin sqrt srand asort asorti gensub sub gsub index length match split + strtonum substr tolower toupper mktime strftime systime and compl lshift or rshift + xor bindtextdomain dcgettext dcngettext ARGC ARGIND ARGV BINMODE CONVFMT ENVIRON + ERRNO FIELDWIDTHS FILENAME FNR FS IGNORECASE LINT NF NR OFMT OFS ORS PROCINFO RS + RT RSTART RLENGTH SUBSEP TEXTDOMAIN + :M[color.error],1M[color.set] + :M[color.comment],2M[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.operator],10M[color.set] +} -- cgit v1.2.3