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/ada.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/ada.xml') (more/less context) (ignore whitespace changes)
-rw-r--r-- | share/tinykate/syntax/ada.xml | 101 |
1 files changed, 101 insertions, 0 deletions
diff --git a/share/tinykate/syntax/ada.xml b/share/tinykate/syntax/ada.xml new file mode 100644 index 0000000..5e4ee9a --- a/dev/null +++ b/share/tinykate/syntax/ada.xml | |||
@@ -0,0 +1,101 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <!DOCTYPE language SYSTEM "language.dtd"> | ||
3 | <language name="Ada" version="1.00" kateversion="2.0" section="Sources" extensions="*.a" mimetype="text/x-adasrc"> | ||
4 | <highlighting> | ||
5 | <list name="keywords"> | ||
6 | <item> abort </item> | ||
7 | <item> abs </item> | ||
8 | <item> accept </item> | ||
9 | <item> access </item> | ||
10 | <item> all </item> | ||
11 | <item> and </item> | ||
12 | <item> array </item> | ||
13 | <item> at </item> | ||
14 | <item> begin </item> | ||
15 | <item> body </item> | ||
16 | <item> case </item> | ||
17 | <item> constant </item> | ||
18 | <item> declare </item> | ||
19 | <item> delay </item> | ||
20 | <item> delta </item> | ||
21 | <item> digits </item> | ||
22 | <item> do </item> | ||
23 | <item> else </item> | ||
24 | <item> elsif </item> | ||
25 | <item> end </item> | ||
26 | <item> entry </item> | ||
27 | <item> exception </item> | ||
28 | <item> exit </item> | ||
29 | <item> for </item> | ||
30 | <item> function </item> | ||
31 | <item> generic </item> | ||
32 | <item> goto </item> | ||
33 | <item> if </item> | ||
34 | <item> in </item> | ||
35 | <item> is </item> | ||
36 | <item> limited </item> | ||
37 | <item> loop </item> | ||
38 | <item> mod </item> | ||
39 | <item> new </item> | ||
40 | <item> not </item> | ||
41 | <item> null </item> | ||
42 | <item> of </item> | ||
43 | <item> or </item> | ||
44 | <item> others </item> | ||
45 | <item> out </item> | ||
46 | <item> package </item> | ||
47 | <item> pragma </item> | ||
48 | <item> private </item> | ||
49 | <item> procedure </item> | ||
50 | <item> raise </item> | ||
51 | <item> range </item> | ||
52 | <item> rem </item> | ||
53 | <item> record </item> | ||
54 | <item> renames </item> | ||
55 | <item> return </item> | ||
56 | <item> reverse </item> | ||
57 | <item> select </item> | ||
58 | <item> separate </item> | ||
59 | <item> subtype </item> | ||
60 | <item> task </item> | ||
61 | <item> terminate </item> | ||
62 | <item> then </item> | ||
63 | <item> type </item> | ||
64 | <item> use </item> | ||
65 | <item> when </item> | ||
66 | <item> while </item> | ||
67 | <item> with </item> | ||
68 | <item> xor </item> | ||
69 | </list> | ||
70 | <contexts> | ||
71 | <context attribute="0" lineEndContext="#stay"> | ||
72 | <keyword attribute="1" context="#stay" String="keywords"/> | ||
73 | <Float attribute="4" context="#stay"/> | ||
74 | <Int attribute="2" context="#stay"/> | ||
75 | <RegExpr attribute="5" context="#stay" String="'.'"/> | ||
76 | <DetectChar attribute="6" context="1" char="""/> | ||
77 | <Detect2Chars attribute="7" context="2" char="-" char1="-"/> | ||
78 | </context> | ||
79 | <context attribute="6" lineEndContext="#pop"> | ||
80 | <DetectChar attribute="6" context="#pop" char="""/> | ||
81 | </context> | ||
82 | <context attribute="7" lineEndContext="#pop"/> | ||
83 | </contexts> | ||
84 | <itemDatas> | ||
85 | <itemData name="Normal Text" defStyleNum="dsNormal" /> | ||
86 | <itemData name="Keyword" defStyleNum="dsKeyword" /> | ||
87 | <itemData name="Decimal" defStyleNum="dsDecVal" /> | ||
88 | <itemData name="Base-N" defStyleNum="dsBaseN" /> | ||
89 | <itemData name="Float" defStyleNum="dsFloat" /> | ||
90 | <itemData name="Char" defStyleNum="dsChar" /> | ||
91 | <itemData name="String" defStyleNum="dsString" /> | ||
92 | <itemData name="Comment" defStyleNum="dsComment" /> | ||
93 | </itemDatas> | ||
94 | </highlighting> | ||
95 | <general> | ||
96 | <comments> | ||
97 | <comment name="singleLine" start="--" /> | ||
98 | </comments> | ||
99 | <keywords casesensitive="1" /> | ||
100 | </general> | ||
101 | </language> | ||