author | mickeyl <mickeyl> | 2003-01-24 21:13:38 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-01-24 21:13:38 (UTC) |
commit | f5fa70864c66da0f12f3d34f6451c74e3bfb3103 (patch) (unidiff) | |
tree | ad6585cc10ba3397bed82c87a1b692fa0a4b9e43 /share/tinykate/syntax/eiffel.xml | |
parent | 67699ef8fd807a99c08d6401a67e8000bca8f1ca (diff) | |
download | opie-f5fa70864c66da0f12f3d34f6451c74e3bfb3103.zip opie-f5fa70864c66da0f12f3d34f6451c74e3bfb3103.tar.gz opie-f5fa70864c66da0f12f3d34f6451c74e3bfb3103.tar.bz2 |
added syntax highlighting patterns to tinykate
Diffstat (limited to 'share/tinykate/syntax/eiffel.xml') (more/less context) (show whitespace changes)
-rw-r--r-- | share/tinykate/syntax/eiffel.xml | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/share/tinykate/syntax/eiffel.xml b/share/tinykate/syntax/eiffel.xml new file mode 100644 index 0000000..548d779 --- a/dev/null +++ b/share/tinykate/syntax/eiffel.xml | |||
@@ -0,0 +1,76 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <!DOCTYPE language SYSTEM "language.dtd"> | ||
3 | <language name="Eiffel" version="1.00" kateversion="2.0" section="Sources" extensions="*.e" mimetype="text/x-eiffel-src"> | ||
4 | <highlighting> | ||
5 | <list name="keywords"> | ||
6 | <item> indexing </item> | ||
7 | <item> class </item> | ||
8 | <item> inherit </item> | ||
9 | <item> creation </item> | ||
10 | <item> feature </item> | ||
11 | <item> rename </item> | ||
12 | <item> redefine </item> | ||
13 | <item> undefine </item> | ||
14 | <item> select </item> | ||
15 | <item> export </item> | ||
16 | <item> local </item> | ||
17 | <item> deferred </item> | ||
18 | <item> do </item> | ||
19 | <item> is </item> | ||
20 | <item> once </item> | ||
21 | <item> alias </item> | ||
22 | <item> external </item> | ||
23 | <item> rescue </item> | ||
24 | <item> debug </item> | ||
25 | <item> if </item> | ||
26 | <item> inspect </item> | ||
27 | <item> from </item> | ||
28 | <item> else </item> | ||
29 | <item> elseif </item> | ||
30 | <item> when </item> | ||
31 | <item> until </item> | ||
32 | <item> loop </item> | ||
33 | <item> then </item> | ||
34 | <item> obsolete </item> | ||
35 | <item> end </item> | ||
36 | </list> | ||
37 | <list name="assertions"> | ||
38 | <item> check </item> | ||
39 | <item> ensure </item> | ||
40 | <item> require </item> | ||
41 | <item> variant </item> | ||
42 | <item> invariant </item> | ||
43 | </list> | ||
44 | <contexts> | ||
45 | <context attribute="0" lineEndContext="#stay"> | ||
46 | <keyword attribute="1" context="#stay" String="keywords"/> | ||
47 | <Float attribute="3" context="#stay"/> | ||
48 | <Int attribute="2" context="#stay"/> | ||
49 | <RegExpr attribute="4" context="#stay" String="'.'"/> | ||
50 | <DetectChar attribute="5" context="1" char="""/> | ||
51 | <Detect2Chars attribute="6" context="2" char="-" char1="-"/> | ||
52 | <keyword attribute="7" context="#stay" String="assertions"/> | ||
53 | </context> | ||
54 | <context attribute="5" lineEndContext="#pop"> | ||
55 | <DetectChar attribute="5" context="#pop" char="""/> | ||
56 | </context> | ||
57 | <context attribute="6" lineEndContext="#pop"/> | ||
58 | </contexts> | ||
59 | <itemDatas> | ||
60 | <itemData name="Normal Text" defStyleNum="dsNormal" /> | ||
61 | <itemData name="Keyword" defStyleNum="dsKeyword" /> | ||
62 | <itemData name="Decimal" defStyleNum="dsDecVal" /> | ||
63 | <itemData name="Float" defStyleNum="dsFloat" /> | ||
64 | <itemData name="Char" defStyleNum="dsChar" /> | ||
65 | <itemData name="String" defStyleNum="dsString" /> | ||
66 | <itemData name="Comment" defStyleNum="dsComment" /> | ||
67 | <itemData name="Assertions" defStyleNum="dsOthers" /> | ||
68 | </itemDatas> | ||
69 | </highlighting> | ||
70 | <general> | ||
71 | <comments> | ||
72 | <comment name="singleLine" start="--" /> | ||
73 | </comments> | ||
74 | <keywords casesensitive="1" /> | ||
75 | </general> | ||
76 | </language> | ||