blob: 8be78b2d4b3bc2587a53e3cba1ef28c616089192 (
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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
|
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="Objective-C++" version="1.01-1" kateversion="2.4" section="Sources" extensions="*.mm;*.M;*.h" mimetype="text/x-objcpp-src;text/x-c-hdr" author="Gennady Telegin (gepo@lvk.cs.msu.su">
<highlighting>
<list name="keywords">
<item> break </item>
<item> case </item>
<item> continue </item>
<item> default </item>
<item> do </item>
<item> else </item>
<item> enum </item>
<item> extern </item>
<item> for </item>
<item> goto </item>
<item> if </item>
<item> return </item>
<item> sizeof </item>
<item> struct </item>
<item> switch </item>
<item> typedef </item>
<item> union </item>
<item> while </item>
<item> @class </item>
<item> @defs </item>
<item> @encode </item>
<item> @end </item>
<item> @implementation </item>
<item> @interface </item>
<item> @private </item>
<item> @protected </item>
<item> @protocol </item>
<item> @public </item>
<item> @selector </item>
<item> self </item>
<item> super </item>
<item> asm </item>
<item> catch </item>
<item> class </item>
<item> const_cast </item>
<item> delete </item>
<item> dynamic_cast</item>
<item> explicit </item>
<item> export </item>
<item> false </item>
<item> friend </item>
<item> inline </item>
<item> namespace </item>
<item> new </item>
<item> operator </item>
<item> private </item>
<item> protected </item>
<item> public </item>
<item> qobject_cast </item>
<item> reinterpret_cast </item>
<item> static_cast </item>
<item> template </item>
<item> this </item>
<item> throw </item>
<item> true </item>
<item> try </item>
<item> typeid </item>
<item> type_info </item>
<item> typename </item>
<item> using </item>
<item> virtual </item>
<item> and </item>
<item> and_eq </item>
<item> bad_cast </item>
<item> bad_typeid </item>
<item> bitand </item>
<item> bitor </item>
<item> compl </item>
<item> not </item>
<item> not_eq </item>
<item> or </item>
<item> or_eq </item>
<item> xor </item>
<item> xor_eq </item>
</list>
<!-- QT/TQT extensions -->
<list name="extensions">
<item> K_DCOP </item>
<item> Q_ARG </item>
<item> Q_ASSERT </item>
<item> Q_ASSERT_X </item>
<item> Q_CHECK_PTR </item>
<item> Q_CLASSINFO </item>
<item> Q_CLEANUP_RESOURCE </item>
<item> Q_D </item>
<item> Q_DECLARE_FLAGS </item>
<item> Q_DECLARE_INTERFACE </item>
<item> Q_DECLARE_METATYPE </item>
<item> Q_DECLARE_OPERATORS_FOR_FLAGS </item>
<item> Q_DECLARE_PRIVATE </item>
<item> Q_DECLARE_PUBLIC </item>
<item> Q_DECLARE_SHARED </item>
<item> Q_DECLARE_TYPEINFO </item>
<item> Q_DISABLE_COPY </item>
<item> Q_EMIT </item>
<item> Q_ENUMS </item>
<item> Q_EXPORT </item>
<item> Q_FLAGS </item>
<item> Q_FOREACH </item>
<item> Q_FOREVER </item>
<item> Q_GADGET </item>
<item> Q_GLOBAL_STATIC </item>
<item> Q_GLOBAL_STATIC_WITH_ARGS </item>
<item> Q_INIT_RESOURCE </item>
<item> Q_INTERFACES </item>
<item> Q_INVOKABLE </item>
<item> Q_NOREPLY </item>
<item> Q_OBJECT </item>
<item> Q_OVERRIDE </item>
<item> Q_PRIVATE_SLOT </item>
<item> Q_PROPERTY </item>
<item> Q_Q </item>
<item> Q_RETURN_ARG </item>
<item> Q_SCRIPTABLE </item>
<item> Q_SETS </item>
<item> Q_SIGNALS </item>
<item> Q_SLOTS </item>
<item> Q_UNUSED </item>
<item> SIGNAL </item>
<item> SLOT </item>
<item> TRUE </item>
<item> FALSE </item>
<item> TQ_ARG </item>
<item> TQ_ASSERT </item>
<item> TQ_ASSERT_X </item>
<item> TQ_CHECK_PTR </item>
<item> TQ_CLASSINFO </item>
<item> TQ_CLEANUP_RESOURCE </item>
<item> TQ_D </item>
<item> TQ_DECLARE_FLAGS </item>
<item> TQ_DECLARE_INTERFACE </item>
<item> TQ_DECLARE_METATYPE </item>
<item> TQ_DECLARE_OPERATORS_FOR_FLAGS </item>
<item> TQ_DECLARE_PRIVATE </item>
<item> TQ_DECLARE_PUBLIC </item>
<item> TQ_DECLARE_SHARED </item>
<item> TQ_DECLARE_TYPEINFO </item>
<item> TQ_DISABLE_COPY </item>
<item> TQ_EMIT </item>
<item> TQ_ENUMS </item>
<item> TQ_EXPORT </item>
<item> TQ_FLAGS </item>
<item> TQ_FOREACH </item>
<item> TQ_FOREVER </item>
<item> TQ_GADGET </item>
<item> TQ_GLOBAL_STATIC </item>
<item> TQ_GLOBAL_STATIC_WITH_ARGS </item>
<item> TQ_INIT_RESOURCE </item>
<item> TQ_INTERFACES </item>
<item> TQ_INVOKABLE </item>
<item> TQ_NOREPLY </item>
<item> TQ_OBJECT </item>
<item> TQ_OVERRIDE </item>
<item> TQ_PRIVATE_SLOT </item>
<item> TQ_PROPERTY </item>
<item> TQ_Q </item>
<item> TQ_RETURN_ARG </item>
<item> TQ_SCRIPTABLE </item>
<item> TQ_SETS </item>
<item> TQ_SIGNAL </item>
<item> TQ_SIGNALS </item>
<item> TQ_SLOT </item>
<item> TQ_SLOTS </item>
<item> TQ_UNUSED </item>
<item> TQT_SIGNAL </item>
<item> TQT_SLOT </item>
<item> TQT_TQOBJECT </item>
<item> connect </item>
<item> disconnect </item>
<item> emit </item>
<item> signals </item>
<item> slots </item>
<item> foreach </item>
<item> forever </item>
<item> qint8 </item>
<item> qint16 </item>
<item> qint32 </item>
<item> qint64 </item>
<item> qlonglong </item>
<item> qptrdiff </item>
<item> qreal </item>
<item> quint8 </item>
<item> quint16 </item>
<item> quint32 </item>
<item> quint64 </item>
<item> quintptr </item>
<item> qulonglong </item>
</list>
<list name="types">
<item> auto </item>
<item> char </item>
<item> const </item>
<item> double </item>
<item> float </item>
<item> int </item>
<item> long </item>
<item> register </item>
<item> short </item>
<item> signed </item>
<item> static </item>
<item> unsigned </item>
<item> void </item>
<item> volatile </item>
<item> bool </item>
<item> mutable </item>
<item> uchar </item>
<item> uint </item>
<item> int8_t </item>
<item> int16_t </item>
<item> int32_t </item>
<item> int64_t </item>
<item> uint8_t </item>
<item> uint16_t </item>
<item> uint32_t </item>
<item> uint64_t </item>
<item> wchar_t </item>
</list>
<contexts>
<context attribute="Normal Text" lineEndContext="#stay" name="Default">
<DetectSpaces />
<RegExpr attribute="Preprocessor" context="Outscoped" String="#\s*if\s+0" beginRegion="Outscoped" firstNonSpace="true" />
<DetectChar attribute="Preprocessor" context="Preprocessor" char="#" firstNonSpace="true" />
<StringDetect attribute="Region Marker" context="Region Marker" String="//BEGIN" beginRegion="Region1" firstNonSpace="true" />
<StringDetect attribute="Region Marker" context="Region Marker" String="//END" endRegion="Region1" firstNonSpace="true" />
<keyword attribute="Keyword" context="#stay" String="keywords"/>
<keyword attribute="Data Type" context="#stay" String="types"/>
<DetectChar attribute="Symbol" context="#stay" char="{" beginRegion="Brace1" />
<DetectChar attribute="Symbol" context="#stay" char="}" endRegion="Brace1" />
<DetectIdentifier />
<Float attribute="Float" context="#stay">
<AnyChar String="fF" attribute="Float" context="#stay"/>
</Float>
<HlCOct attribute="Octal" context="#stay"/>
<HlCHex attribute="Hex" context="#stay"/>
<Int attribute="Decimal" context="#stay" >
<StringDetect attribute="Decimal" context="#stay" String="ULL" insensitive="true"/>
<StringDetect attribute="Decimal" context="#stay" String="LUL" insensitive="true"/>
<StringDetect attribute="Decimal" context="#stay" String="LLU" insensitive="true"/>
<StringDetect attribute="Decimal" context="#stay" String="UL" insensitive="true"/>
<StringDetect attribute="Decimal" context="#stay" String="LU" insensitive="true"/>
<StringDetect attribute="Decimal" context="#stay" String="LL" insensitive="true"/>
<StringDetect attribute="Decimal" context="#stay" String="U" insensitive="true"/>
<StringDetect attribute="Decimal" context="#stay" String="L" insensitive="true"/>
</Int>
<HlCChar attribute="Char" context="#stay"/>
<DetectChar attribute="String" context="String" char="""/>
<Detect2Chars attribute="Comment" context="SingleLineComment" char="/" char1="/"/>
<Detect2Chars attribute="Comment" context="MultiLineComment" char="/" char1="*"/>
<RegExpr attribute="Preprocessor" context="Preprocessor" String="^#"/>
<Detect2Chars attribute="String" context="String" char="@" char1=""" />
<keyword attribute="Extensions" context="#stay" String="extensions" />
<IncludeRules context="##Doxygen" />
<Detect2Chars attribute="Comment" context="Commentar 1" char="/" char1="/"/>
<Detect2Chars attribute="Comment" context="Commentar 2" char="/" char1="*" beginRegion="Comment"/>
<DetectChar attribute="Symbol" context="#stay" char="{" beginRegion="Brace1" />
<DetectChar attribute="Symbol" context="#stay" char="}" endRegion="Brace1" />
<AnyChar attribute="Symbol" context="#stay" String=":!%&()+,-/.*<=>?[]{|}~^;"/>
</context>
<context attribute="String" lineEndContext="#pop" name="String">
<LineContinue attribute="String" context="#stay"/>
<HlCStringChar attribute="String Char" context="#stay"/>
<DetectChar attribute="String" context="#pop" char="""/>
</context>
<context attribute="Comment" lineEndContext="#pop" name="SingleLineComment"/>
<context attribute="Comment" lineEndContext="#stay" name="MultiLineComment">
<Detect2Chars attribute="Comment" context="#pop" char="*" char1="/"/>
</context>
<context attribute="Preprocessor" lineEndContext="Default" name="Preprocessor">
<LineContinue attribute="Preprocessor" context="#stay"/>
<RangeDetect attribute="Prep. Lib" context="#stay" char=""" char1="""/>
<RangeDetect attribute="Prep. Lib" context="#stay" char="<" char1=">"/>
<IncludeRules context="##Doxygen" />
<Detect2Chars attribute="Comment" context="SingleLineComment" char="/" char1="/"/>
<Detect2Chars attribute="Comment" context="MultiLineCommentPrep" char="/" char1="*"/>
</context>
<context attribute="Comment" lineEndContext="#stay" name="MultiLineCommentPrep">
<DetectSpaces />
<Detect2Chars attribute="Comment" context="#pop#pop" char="*" char1="/"/>
<DetectIdentifier />
</context>
<!-- from c++ -->
<context attribute="Region Marker" lineEndContext="#pop" name="Region Marker">
</context>
<context attribute="Comment" lineEndContext="#pop" name="Commentar 1">
<DetectSpaces />
<IncludeRules context="##Alerts" />
<DetectIdentifier />
</context>
<context attribute="Comment" lineEndContext="#stay" name="Commentar 2">
<DetectSpaces />
<Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment"/>
<IncludeRules context="##Alerts" />
<DetectIdentifier />
</context>
<context attribute="Preprocessor" lineEndContext="#pop" name="Preprocessor">
<LineContinue attribute="Preprocessor" context="#stay"/>
<RegExpr attribute="Preprocessor" context="Define" String="define.*((?=\\))"/>
<RegExpr attribute="Preprocessor" context="#stay" String="define.*"/>
<RangeDetect attribute="Prep. Lib" context="#stay" char=""" char1="""/>
<RangeDetect attribute="Prep. Lib" context="#stay" char="<" char1=">"/>
<IncludeRules context="##Doxygen" />
<Detect2Chars attribute="Comment" context="Commentar 1" char="/" char1="/"/>
<Detect2Chars attribute="Comment" context="MultiLineCommentPrep" char="/" char1="*"/>
</context>
<context attribute="Preprocessor" lineEndContext="#pop" name="Define">
<LineContinue attribute="Preprocessor" context="#stay"/>
</context>
<context attribute="Comment" lineEndContext="#stay" name="Outscoped" >
<DetectSpaces />
<IncludeRules context="##Alerts" />
<DetectIdentifier />
<DetectChar attribute="String" context="String" char="""/>
<IncludeRules context="##Doxygen" />
<Detect2Chars attribute="Comment" context="Commentar 1" char="/" char1="/"/>
<Detect2Chars attribute="Comment" context="Commentar 2" char="/" char1="*" beginRegion="Comment"/>
<RegExpr attribute="Comment" context="Outscoped intern" String="#\s*if" beginRegion="Outscoped" firstNonSpace="true" />
<RegExpr attribute="Preprocessor" context="#pop" String="#\s*(endif|else|elif)" endRegion="Outscoped" firstNonSpace="true" />
</context>
<context attribute="Comment" lineEndContext="#stay" name="Outscoped intern">
<DetectSpaces />
<IncludeRules context="##Alerts" />
<DetectIdentifier />
<DetectChar attribute="String" context="String" char="""/>
<IncludeRules context="##Doxygen" />
<Detect2Chars attribute="Comment" context="Commentar 1" char="/" char1="/"/>
<Detect2Chars attribute="Comment" context="Commentar 2" char="/" char1="*" beginRegion="Comment"/>
<RegExpr attribute="Comment" context="Outscoped intern" String="#\s*if" beginRegion="Outscoped" firstNonSpace="true"/>
<RegExpr attribute="Comment" context="#pop" String="#\s*endif" endRegion="Outscoped" firstNonSpace="true"/>
</context>
</contexts>
<itemDatas>
<itemData name="Normal Text" defStyleNum="dsNormal"/>
<itemData name="Keyword" defStyleNum="dsKeyword"/>
<itemData name="Extensions" defStyleNum="dsKeyword" color="#0095ff" selColor="#ffffff" bold="1" italic="0"/>
<itemData name="Data Type" defStyleNum="dsDataType"/>
<itemData name="Decimal" defStyleNum="dsDecVal"/>
<itemData name="Octal" defStyleNum="dsBaseN"/>
<itemData name="Hex" defStyleNum="dsBaseN"/>
<itemData name="Float" defStyleNum="dsFloat"/>
<itemData name="Char" defStyleNum="dsChar"/>
<itemData name="String" defStyleNum="dsString"/>
<itemData name="String Char" defStyleNum="dsChar"/>
<itemData name="Comment" defStyleNum="dsComment"/>
<itemData name="Symbol" defStyleNum="dsNormal"/>
<itemData name="Preprocessor" defStyleNum="dsOthers"/>
<itemData name="Prep. Lib" defStyleNum="dsOthers"/>
<itemData name="Region Marker" defStyleNum="dsRegionMarker" />
</itemDatas>
</highlighting>
<general>
<comments>
<comment name="singleLine" start="//" />
<comment name="multiLine" start="/*" end="*/" />
</comments>
<keywords casesensitive="1" />
</general>
</language>
|