aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/lexers/pascal.tes
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2015-03-24 02:40:41 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2015-03-24 02:48:01 +0100
commit83f18d2578288fe71fca409e4f03434346b0d5b7 (patch)
tree4d32a1e4dbb3f113ac08fc7ef664636d909df004 /lib/lexers/pascal.tes
parentfec93b9b0cc83dc1102c78c8bf1eacaf8763d9b8 (diff)
downloadsciteco-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/pascal.tes')
-rw-r--r--lib/lexers/pascal.tes32
1 files changed, 32 insertions, 0 deletions
diff --git a/lib/lexers/pascal.tes b/lib/lexers/pascal.tes
new file mode 100644
index 0000000..9373c73
--- /dev/null
+++ b/lib/lexers/pascal.tes
@@ -0,0 +1,32 @@
+! AUTO-GENERATED FROM SCITE PROPERTY SET !
+
+@[lexer.test.pascal]{ [_
+ _.[dpr,pas,dfm,inc,pp]M[lexer.checkname]
+]_ }
+
+@[lexer.set.pascal]{
+ ESSETLEXER,SCLEX_PASCAL
+ 0ESSETKEYWORDS
+ absolute abstract and array as asm assembler automated begin case cdecl
+ class const constructor delayed deprecated destructor dispid dispinterface div do
+ downto dynamic else end except experimental export exports external far file final
+ finalization finally for forward function goto helper if implementation in inherited
+ initialization inline interface is label library message mod near nil not object of on
+ operator or out overload override packed pascal platform private procedure program
+ property protected public published raise record reference register reintroduce
+ repeat resourcestring safecall sealed set shl shr static stdcall strict string then
+ threadvar to try type unit unsafe until uses var varargs virtual while winapi with xor
+ add default implements index name nodefault read readonly remove stored write
+ writeonly
+ :M[color.comment],2M[color.set]
+ :M[color.comment],3M[color.set]
+ :M[color.comment],4M[color.set]
+ :M[color.preproc],5M[color.set]
+ :M[color.preproc],6M[color.set]
+ :M[color.number],7M[color.set]
+ :M[color.number],8M[color.set]
+ :M[color.keyword],9M[color.set]
+ :M[color.string],10M[color.set]
+ :M[color.string2],12M[color.set]
+ :M[color.operator],13M[color.set]
+}