blob: 9114633e682cd71484d1d21f14bb66a9f51e67d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
|
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<!-- TADS 3 syntax highlight definition for Kate. -->
<!-- Author: Nikos Chantziaras <[email protected]> -->
<language name="TADS 3" section="Sources"
version="1.0" kateversion="2.4"
indenter="cstyle"
extensions="*.t;*.h"
mimetype=""
priority="0">
<highlighting>
<list name="keywords">
<item> abort </item>
<item> and </item>
<item> argcount </item>
<item> break </item>
<item> case </item>
<item> catch </item>
<item> class </item>
<item> construct </item>
<item> continue </item>
<item> default </item>
<item> definingobj </item>
<item> delegated </item>
<item> dictionary </item>
<item> do </item>
<item> else </item>
<item> enum </item>
<item> exit </item>
<item> export </item>
<item> extern </item>
<item> finalize </item>
<item> finally </item>
<item> for </item>
<item> foreach </item>
<item> function </item>
<item> goto </item>
<item> grammar </item>
<item> if </item>
<item> in </item>
<item> inherited </item>
<item> intrinsic </item>
<item> is </item>
<item> local </item>
<item> modify </item>
<item> new </item>
<item> nil </item>
<item> not </item>
<item> object </item>
<item> or </item>
<item> property </item>
<item> propertyset </item>
<item> replace </item>
<item> replaced </item>
<item> return </item>
<item> self </item>
<item> static </item>
<item> switch </item>
<item> targetobj </item>
<item> targetprop </item>
<item> template </item>
<item> throw </item>
<item> token </item>
<item> transient </item>
<item> true </item>
<item> try </item>
<item> while </item>
</list>
<contexts>
<context attribute="Normal Text" lineEndContext="#stay" name="Normal">
<keyword attribute="Keyword" context="#stay" String="keywords"/>
<HlCOct attribute="Octal" context="#stay"/>
<HlCHex attribute="Hex" context="#stay"/>
<Int attribute="Decimal" context="#stay"/>
<DetectChar attribute="String" context="String" char="""/>
<DetectChar attribute="ValString" context="ValString" char="'"/>
<Detect2Chars attribute="Comment" context="ShortComment" char="/" char1="/"/>
<Detect2Chars attribute="Comment" context="LongComment" char="/" char1="*" beginRegion="Comment"/>
<DetectChar attribute="Normal Text" context="#stay" char="{" beginRegion="Brace1"/>
<DetectChar attribute="Normal Text" context="#stay" char="}" endRegion="Brace1"/>
<AnyChar attribute="Symbol" context="#stay" String="!%&()+,-<=>?[]^{|}~"/>
<RegExpr attribute="Preprocessor" context="Preprocessor" String="#"/>
</context>
<context attribute="String" lineEndContext="#stay" name="String">
<Detect2Chars attribute="Backslash Code" context="#stay" char="\" char1="""/>
<Detect2Chars attribute="Backslash Code" context="#stay" char="\" char1="\"/>
<Detect2Chars attribute="Backslash Code" context="#stay" char="\" char1="n"/>
<Detect2Chars attribute="Backslash Code" context="#stay" char="\" char1="r"/>
<Detect2Chars attribute="Backslash Code" context="#stay" char="\" char1="t"/>
<Detect2Chars attribute="Backslash Code" context="#stay" char="\" char1="b"/>
<Detect2Chars attribute="Backslash Code" context="#stay" char="\" char1="^"/>
<Detect2Chars attribute="Backslash Code" context="#stay" char="\" char1="v"/>
<Detect2Chars attribute="Backslash Code" context="#stay" char="\" char1=" "/>
<Detect2Chars attribute="Embedded Expression" context="embedded" char="<" char1="<"/>
<DetectChar attribute="HTML Tag" context="htmltag" char="<"/>
<DetectChar attribute="String" context="#pop" char="""/>
</context>
<context attribute="ValString" lineEndContext="#stay" name="ValString">
<Detect2Chars attribute="Backslash Code" context="#stay" char="\" char1="'"/>
<Detect2Chars attribute="Backslash Code" context="#stay" char="\" char1="\"/>
<Detect2Chars attribute="Backslash Code" context="#stay" char="\" char1="n"/>
<Detect2Chars attribute="Backslash Code" context="#stay" char="\" char1="r"/>
<Detect2Chars attribute="Backslash Code" context="#stay" char="\" char1="t"/>
<Detect2Chars attribute="Backslash Code" context="#stay" char="\" char1="b"/>
<Detect2Chars attribute="Backslash Code" context="#stay" char="\" char1="^"/>
<Detect2Chars attribute="Backslash Code" context="#stay" char="\" char1="v"/>
<Detect2Chars attribute="Backslash Code" context="#stay" char="\" char1=" "/>
<DetectChar attribute="HTML Tag" context="htmltag" char="<"/>
<DetectChar attribute="String" context="#pop" char="'"/>
</context>
<context attribute="Comment" lineEndContext="#pop" name="ShortComment">
<RegExpr attribute="Preprocessor" context="#stay" String="(FIXME|TODO)"/>
</context>
<context attribute="Comment" lineEndContext="#stay" name="LongComment">
<RegExpr attribute="Preprocessor" context="#stay" String="(FIXME|TODO)"/>
<Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment"/>
</context>
<context attribute="Preprocessor" lineEndContext="#pop" name="Preprocessor">
<LineContinue attribute="Preprocessor" context="#stay"/>
<RangeDetect attribute="String" context="#stay" char=""" char1="""/>
<RangeDetect attribute="String" context="#stay" char="<" char1=">"/>
<Detect2Chars attribute="Comment" context="ShortComment" char="/" char1="/"/>
<Detect2Chars attribute="Comment" context="LongComment/Preprocessor" char="/" char1="*"/>
</context>
<context attribute="Comment" lineEndContext="#stay" name="LongComment/Preprocessor">
<RegExpr attribute="Preprocessor" context="#stay" String="(FIXME|TODO)"/>
<Detect2Chars attribute="Comment" context="#pop" char="*" char1="/"/>
</context>
<context name="embedded" attribute="Embedded Expression" lineEndContext="#stay">
<Detect2Chars attribute="Embedded Expression" context="#pop" char=">" char1=">"/>
</context>
<context name="htmltag" attribute="HTML Tag" lineEndContext="#stay">
<Detect2Chars attribute="HTML Tag" context="#pop" char="/" char1=">"/>
<DetectChar attribute="HTML Tag" context="#pop" char=">"/>
</context>
</contexts>
<itemDatas>
<itemData name="Normal Text" defStyleNum="dsNormal"/>
<itemData name="Keyword" defStyleNum="dsKeyword"/>
<itemData name="Decimal" defStyleNum="dsDecVal"/>
<itemData name="Octal" defStyleNum="dsBaseN"/>
<itemData name="Hex" defStyleNum="dsBaseN"/>
<itemData name="String" defStyleNum="dsString"/>
<itemData name="ValString" defStyleNum="dsString"/>
<itemData name="Comment" defStyleNum="dsComment"/>
<itemData name="Symbol" defStyleNum="dsNormal"/>
<itemData name="Preprocessor" defStyleNum="dsOthers"/>
<itemData name="Backslash Code" defStyleNum="dsKeyword" color="#0F0F8F" selColor="#ffffff" bold="1" italic="0"/>
<itemData name="HTML Tag" defStyleNum="dsKeyword" color="#0F0F8F" selColor="#ffffff" bold="0" italic="1"/>
<itemData name="Embedded Expression" defStyleNum="dsNormal" color="#000000" selColor="#ffffff" bold="0" italic="1"/>
</itemDatas>
</highlighting>
<general>
<comments>
<comment name="singleLine" start="//"/>
<comment name="multiLine" start="/*" end="*/"/>
</comments>
<keywords casesensitive="1"/>
</general>
</language>
|