aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/lexers/ada.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/ada.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/ada.tes')
-rw-r--r--lib/lexers/ada.tes22
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/lexers/ada.tes b/lib/lexers/ada.tes
new file mode 100644
index 0000000..2bdea8b
--- /dev/null
+++ b/lib/lexers/ada.tes
@@ -0,0 +1,22 @@
+! AUTO-GENERATED FROM SCITE PROPERTY SET !
+
+@[lexer.test.ada]{ [_
+ _.[ads,adb]M[lexer.checkname]
+]_ }
+
+@[lexer.set.ada]{
+ ESSETLEXER,SCLEX_ADA
+ 0ESSETKEYWORDS
+ abort abstract accept access aliased all array at begin body case constant
+ declare delay delta digits do else elsif end entry exception exit for function
+ generic goto if in is limited loop new null of others out package pragma private
+ procedure protected raise range record renames requeue return reverse select separate
+ subtype tagged task terminate then type until use when while with abs and mod not or
+ rem xor
+ :M[color.keyword],1M[color.set]
+ :M[color.number],3M[color.set]
+ :M[color.operator],4M[color.set]
+ :M[color.string2],5M[color.set]
+ :M[color.string],7M[color.set]
+ :M[color.comment],10M[color.set]
+}