summaryrefslogtreecommitdiffstats
path: root/kate/data/css.xml
blob: 7cfdcfd2c73ee7839881f39f392bf97592fd6fdc (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
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">

<!--

    Kate CSS syntax highlighting definition


    Changelog:

    - Version 2.02, by Rafał Miłecki:
        - Added CSS 3 properties "border-*-image" and "border-*-radius".
        - Added CSS values "clip", "ellipsis" and "ellipsis-word".
        - Added CSS 3 properties "overflow-x", "overflow-y", "text-overflow", "box-shadow" and "outline-offset".
        - Added CSS 3 color values: "rgba", "hsl" and "hsla".
        - Added Gecko CSS properties: "-moz-border-*-colors".
        - Added background size properties: "background-size" and prefixes: "-o-", "-webkit-" and "-khtml-".

    - Version 2.01, by Mathieu Bonnet:
        - Added CSS 3 property "border-radius".
        - Added Gecko CSS properties "-moz-border-radius" and "-moz-box-flex".
        - Added Gecko CSS value "-moz-box".
        - Added Trident CSS functional notation "expression".
        - Extended the id and class syntax specifications, as per CSS 2.1 grammar.

-->

<language name="CSS" version="2.02" kateversion="2.4" section="Markup" extensions="*.css" mimetype="text/css" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL">

  <highlighting>
    <list name="properties">
      <!-- CSS2 -->
      <item> azimuth </item>
      <item> background </item>
      <item> background-attachment </item>
      <item> background-color </item>
      <item> background-image </item>
      <item> background-position </item>
      <item> background-repeat </item>
      <item> border </item>
      <item> border-bottom </item>
      <item> border-bottom-color </item>
      <item> border-bottom-style </item>
      <item> border-bottom-width </item>
      <item> border-collapse </item>
      <item> border-color </item>
      <item> border-left </item>
      <item> border-left-color </item>
      <item> border-left-style </item>
      <item> border-left-width </item>
      <item> border-right </item>
      <item> border-right-color </item>
      <item> border-right-style </item>
      <item> border-right-width </item>
      <item> border-spacing </item>
      <item> border-style </item>
      <item> border-top </item>
      <item> border-top-color </item>
      <item> border-top-style </item>
      <item> border-top-width </item>
      <item> border-width </item>
      <item> bottom </item>
      <item> caption-side </item>
      <item> clear </item>
      <item> clip </item>
      <item> color </item>
      <item> content </item>
      <item> counter-increment </item>
      <item> counter-reset </item>
      <item> cue </item>
      <item> cue-after </item>
      <item> cue-before </item>
      <item> cursor </item>
      <item> direction </item>
      <item> display </item>
      <item> elevation </item>
      <item> empty-cells </item>
      <item> float </item>
      <item> font </item>
      <item> font-family </item>
      <item> font-size </item>
      <item> font-size-adjust </item>
      <item> font-stretch </item>
      <item> font-style </item>
      <item> font-variant </item>
      <item> font-weight </item>
      <item> height </item>
      <item> left </item>
      <item> letter-spacing </item>
      <item> line-height </item>
      <item> list-style </item>
      <item> list-style-image </item>
      <item> list-style-keyword </item>
      <item> list-style-position </item>
      <item> list-style-type  </item>
      <item> margin </item>
      <item> margin-bottom </item>
      <item> margin-left </item>
      <item> margin-right </item>
      <item> margin-top </item>
      <item> marker-offset </item>
      <item> max-height </item>
      <item> max-width </item>
      <item> min-height </item>
      <item> min-width </item>
      <item> orphans </item>
      <item> outline </item>
      <item> outline-color </item>
      <item> outline-style </item>
      <item> outline-width </item>
      <item> overflow </item>
      <item> padding </item>
      <item> padding-bottom </item>
      <item> padding-left </item>
      <item> padding-right </item>
      <item> padding-top </item>
      <item> page </item>
      <item> page-break-after </item>
      <item> page-break-before </item>
      <item> page-break-inside </item>
      <item> pause </item>
      <item> pause-after </item>
      <item> pause-before </item>
      <item> pitch </item>
      <item> pitch-range </item>
      <item> play-during </item>
      <item> position </item>
      <item> quotes </item>
      <item> richness </item>
      <item> right </item>
      <item> size </item>
      <item> speak </item>
      <item> speak-header </item>
      <item> speak-numeral </item>
      <item> speak-punctuation </item>
      <item> speech-rate </item>
      <item> stress </item>
      <item> table-tqlayout </item>
      <item> text-align </item>
      <item> text-decoration </item>
      <item> text-decoration-color </item>
      <item> text-indent </item>
      <item> text-shadow </item>
      <item> text-transform </item>
      <item> top </item>
      <item> tqunicode-bidi </item>
      <item> vertical-align </item>
      <item> visibility </item>
      <item> voice-family </item>
      <item> volume </item>
      <item> white-space </item>
      <item> widows </item>
      <item> width </item>
      <item> word-spacing </item>
      <item> z-index </item>

      <!-- CSS3 -->
      <item> border-bottom-image </item>
      <item> border-bottom-left-image </item>
      <item> border-bottom-left-radius </item>
      <item> border-bottom-right-image </item>
      <item> border-bottom-right-radius </item>
      <item> border-corner-image </item>
      <item> border-image </item>
      <item> border-left-image </item>
      <item> border-radius </item>
      <item> border-right-image </item>
      <item> border-top-image </item>
      <item> border-top-left-image </item>
      <item> border-top-left-radius </item>
      <item> border-top-right-image </item>
      <item> border-top-right-radius </item>
      <item> box-shadow </item>
      <item> box-sizing </item>
      <item> opacity </item>
      <item> outline-offset </item>
      <item> overflow-x </item>
      <item> overflow-y </item>
      <item> text-overflow </item>
      <item> text-shadow </item>

      <!-- Gecko rendering engine CSS property extensions -->
      <item> -moz-border-bottom-colors </item>
      <item> -moz-border-left-colors </item>
      <item> -moz-border-radius </item>
      <item> -moz-border-right-colors </item>
      <item> -moz-border-top-colors </item>
      <item> -moz-box-flex </item>

      <!-- Opera rendering engine CSS property extensions -->
      <item> -o-background-size </item>
      <item> -o-text-overflow </item>

      <!-- konq specific -->
      <item> -khtml-background-size </item>
      <item> konq_bgpos_x </item>
      <item> konq_bgpos_y </item>

      <!-- Webkit rendering engine CSS property extensions -->
      <item> -webkit-background-size </item>

      <!-- font properties in @font-face -->
      <item> font-family </item>
      <item> font-size </item>
      <item> font-stretch </item>
      <item> font-style </item>
      <item> font-variant </item>
      <item> font-weight </item>
      <item> tqunicode-range </item>
      <item> units-per-em </item>
      <item> src </item>
      <item> panose-1 </item>
      <item> stemv </item>
      <item> stemh </item>
      <item> slope </item>
      <item> cap-height </item>
      <item> x-height </item>
      <item> ascent </item>
      <item> descent </item>
      <item> widths </item>
      <item> bbox </item>
      <item> definition-src </item>
      <item> baseline </item>
      <item> centerline </item>
      <item> mathline </item>
      <item> topline </item>
    </list>

    <list name="types">
      <item> inherit </item>
      <item> none </item>
      <item> hidden </item>
      <item> dotted </item>
      <item> dashed </item>
      <item> solid </item>
      <item> double </item>
      <item> groove </item>
      <item> ridge </item>
      <item> inset </item>
      <item> outset </item>
      <item> xx-small </item>
      <item> x-small </item>
      <item> small </item>
      <item> medium </item>
      <item> large </item>
      <item> x-large </item>
      <item> xx-large </item>
      <item> smaller </item>
      <item> larger </item>
      <item> italic </item>
      <item> oblique </item>
      <item> small-caps </item>
      <item> normal </item>
      <item> bold </item>
      <item> bolder </item>
      <item> lighter </item>
      <item> light </item>
      <item> 100 </item>
      <item> 200 </item>
      <item> 300 </item>
      <item> 400 </item>
      <item> 500 </item>
      <item> 600 </item>
      <item> 700 </item>
      <item> 800 </item>
      <item> 900 </item>
      <item> transparent </item>
      <item> repeat </item>
      <item> repeat-x </item>
      <item> repeat-y </item>
      <item> no-repeat </item>
      <item> baseline </item>
      <item> sub </item>
      <item> super </item>
      <item> top </item>
      <item> text-top </item>
      <item> middle </item>
      <item> bottom </item>
      <item> text-bottom </item>
      <item> left </item>
      <item> right </item>
      <item> center </item>
      <item> justify </item>
      <item> konq-center </item>
      <item> disc </item>
      <item> circle </item>
      <item> square </item>
      <item> box </item>
      <item> decimal </item>
      <item> decimal-leading-zero </item>
      <item> lower-roman </item>
      <item> upper-roman </item>
      <item> lower-greek </item>
      <item> lower-alpha </item>
      <item> lower-latin </item>
      <item> upper-alpha </item>
      <item> upper-latin </item>
      <item> hebrew </item>
      <item> armenian </item>
      <item> georgian </item>
      <item> cjk-ideographic </item>
      <item> hiragana </item>
      <item> katakana </item>
      <item> hiragana-iroha </item>
      <item> katakana-iroha </item>
      <item> inline </item>
      <item> inline-block </item>
      <item> block </item>
      <item> list-item </item>
      <item> run-in </item>
      <item> compact </item>
      <item> marker </item>
      <item> table </item>
      <item> inline-table </item>
      <item> table-row-group </item>
      <item> table-header-group </item>
      <item> table-footer-group </item>
      <item> table-row </item>
      <item> table-column-group </item>
      <item> table-column </item>
      <item> table-cell </item>
      <item> table-caption </item>
      <item> auto </item>
      <item> crosshair </item>
      <item> default </item>
      <item> pointer </item>
      <item> move </item>
      <item> e-resize </item>
      <item> ne-resize </item>
      <item> nw-resize </item>
      <item> n-resize </item>
      <item> se-resize </item>
      <item> sw-resize </item>
      <item> s-resize </item>
      <item> w-resize </item>
      <item> text </item>
      <item> wait </item>
      <item> help </item>
      <item> above </item>
      <item> absolute </item>
      <item> always </item>
      <item> avoid </item>
      <item> below </item>
      <item> bidi-override </item>
      <item> blink </item>
      <item> both </item>
      <item> capitalize </item>
      <item> caption </item>
      <item> clip </item>
      <item> close-quote </item>
      <item> collapse </item>
      <item> condensed </item>
      <item> crop </item>
      <item> cross </item>
      <item> ellipsis </item>
      <item> ellipsis-word </item>
      <item> embed </item>
      <item> expanded </item>
      <item> extra-condensed </item>
      <item> extra-expanded </item>
      <item> fixed </item>
      <item> hand </item>
      <item> hide </item>
      <item> higher </item>
      <item> icon </item>
      <item> inside </item>
      <item> invert </item>
      <item> landscape </item>
      <item> level </item>
      <item> line-through </item>
      <item> loud </item>
      <item> lower </item>
      <item> lowercase </item>
      <item> ltr </item>
      <item> menu </item>
      <item> message-box </item>
      <item> mix </item>
      <item> narrower </item>
      <item> no-close-quote </item>
      <item> no-open-quote </item>
      <item> nowrap </item>
      <item> open-quote </item>
      <item> outside </item>
      <item> overline </item>
      <item> portrait </item>
      <item> pre </item>
      <item> pre-line </item>
      <item> pre-wrap </item>
      <item> relative </item>
      <item> rtl </item>
      <item> scroll </item>
      <item> semi-condensed </item>
      <item> semi-expanded </item>
      <item> separate </item>
      <item> show </item>
      <item> small-caption </item>
      <item> static </item>
      <item> static-position </item>
      <item> status-bar </item>
      <item> thick </item>
      <item> thin </item>
      <item> ultra-condensed </item>
      <item> ultra-expanded </item>
      <item> underline </item>
      <item> uppercase </item>
      <item> visible </item>
      <item> wider </item>
      <item> break </item>
      <item> serif </item>
      <item> sans-serif </item>
      <item> cursive </item>
      <item> fantasy </item>
      <item> monospace </item>
      <item> border-box </item>
      <item> content-box </item>
      
      <!-- Gecko rendering engine CSS value extensions -->
      <item> -moz-box </item>      
      
    </list>


    <list name="colors">
      <item> aqua </item>
      <item> black </item>
      <item> blue </item>
      <item> fuchsia </item>
      <item> gray </item>
      <item> green </item>
      <item> lime </item>
      <item> maroon </item>
      <item> navy </item>
      <item> olive </item>
      <item> purple </item>
      <item> red </item>
      <item> silver </item>
      <item> teal </item>
      <item> white </item>
      <item> yellow </item>
      <item> ActiveBorder  </item>
      <item> ActiveCaption  </item>
      <item> AppWorkspace  </item>
      <item> Background  </item>
      <item> ButtonFace  </item>
      <item> ButtonHighlight  </item>
      <item> ButtonShadow  </item>
      <item> ButtonText  </item>
      <item> CaptionText  </item>
      <item> GrayText  </item>
      <item> Highlight  </item>
      <item> HighlightText  </item>
      <item> InactiveBorder  </item>
      <item> InactiveCaption  </item>
      <item> InactiveCaptionText  </item>
      <item> InfoBackground  </item>
      <item> InfoText  </item>
      <item> Menu  </item>
      <item> MenuText  </item>
      <item> Scrollbar  </item>
      <item> ThreeDDarkShadow  </item>
      <item> ThreeDFace  </item>
      <item> ThreeDHighlight  </item>
      <item> ThreeDLightShadow  </item>
      <item> ThreeDShadow  </item>
      <item> Window  </item>
      <item> WindowFrame  </item>
      <item> WindowText  </item>
    </list>

    <list name="paren">
      <item> url </item>
      <item> attr </item>
      <item> rect </item>
      <item> rgb </item>
      <item> rgba </item>
      <item> hsl </item>
      <item> hsla </item>
      <item> counter </item>
      <item> counters </item>

      <!-- in @font-face -->
      <item> local </item>
      <item> format </item>
      
      <!-- Trident (a.k.a., MSHTML) rendering engine functional notation extensions -->
      <item> expression </item>
      
    </list>

    <list name="mediatypes">
      <item> all </item>
      <item> aural </item>
      <item> braille </item>
      <item> embossed </item>
      <item> handheld </item>
      <item> print </item>
      <item> projection </item>
      <item> screen </item>
      <item> tty </item>
      <item> tv </item>
    </list>

    <list name="pseudoclasses">
      <item> hover </item>
      <item> link </item>
      <item> visited </item>
      <item> active </item>
      <item> focus </item>
      <item> first-child </item>
      <item> last-child </item>
      <item> only-child </item>
      <item> first-of-type </item>
      <item> last-of-type </item>
      <item> only-of-type </item>
      <item> first-letter </item>
      <item> first-line </item>
      <item> before </item>
      <item> after </item>
      <item> selection </item>
      <item> root </item>
      <item> empty </item>
      <item> target </item>
      <item> enabled </item>
      <item> disabled </item>
      <item> checked </item>
      <item> indeterminate </item>
      <item> nth-child </item>
      <item> nth-last-child </item>
      <item> nth-of-type </item>
      <item> nth-last-of-type </item>
      <item> not </item>
    </list>

    <contexts>
      <context attribute="Normal Text" lineEndContext="#stay" name="Base">
        <LineContinue/>
        <DetectSpaces/>
	<IncludeRules context="FindRuleSets" />
      </context>

      <!-- to be included -->
      <!-- tqfinds rules and detects nesting -->
      <context attribute="Normal Text" lineEndContext="#stay" name="FindRuleSets">
        <RegExpr attribute="Media" context="Media" String="@media\b" />
	<RegExpr attribute="At Rule" context="Import" String="@import\b" />
	<RegExpr attribute="At Rule" context="#stay" String="@(font-face|charset)\b" />
        <DetectChar attribute="Property" context="RuleSet" char="{" beginRegion="ruleset" />
        <!--parse selectors-->
	<DetectChar attribute="Selector Attr" context="SelAttr" char="[" />
	<RegExpr attribute="Selector Id" context="#stay" String="#([a-zA-Z0-9\-_]|[\x80-\xFF]|\\[0-9A-Fa-f]{1,6})*" />
	<RegExpr attribute="Selector Class" context="#stay" String="\.([a-zA-Z0-9\-_]|[\x80-\xFF]|\\[0-9A-Fa-f]{1,6})*" />
	<RegExpr attribute="Selector Pseudo" context="#stay" String=":lang\([\w_-]+\)" />
	<DetectChar attribute="Selector Pseudo" context="SelPseudo" char=":" />
	<IncludeRules context="FindStrings" />
	<IncludeRules context="FindComments" />
      </context>

      <!-- tqfinds arguments to properties -->
      <context attribute="Normal Text" lineEndContext="#stay" name="FindValues">
	<RegExpr attribute="Value" context="#stay" String="[-+]?[0-9.]+(em|ex|px|in|cm|mm|pt|pc|deg|rad|grad|ms|s|Hz|kHz)\b" />
	<RegExpr attribute="Value" context="#stay" String="[-+]?[0-9.]+[%]?" />
	<RegExpr attribute="Normal Text" context="#stay" String="[\w\-]+" />
      </context>

      <!-- tqfinds strings -->
      <context attribute="Normal Text" lineEndContext="#stay" name="FindStrings">
	<DetectChar attribute="String" context="StringDQ" char="&quot;" />
	<DetectChar attribute="String" context="StringSQ" char="'" />
      </context>

      <!-- tqfinds comments -->
      <context attribute="Normal Text" lineEndContext="#stay" name="FindComments">
        <RegExpr attribute="Region Marker" context="#stay" String="/\*BEGIN.*\*/" beginRegion="UserDefined" />
        <RegExpr attribute="Region Marker" context="#stay" String="/\*END.*\*/" endRegion="UserDefined" />
        <Detect2Chars attribute="Comment" context="Comment" char="/" char1="*" beginRegion="comment" />
      </context>

      <!-- other contexts -->
      <context attribute="Normal Text" lineEndContext="#stay" name="Media">
        <DetectChar attribute="Media" context="Media2" char="{" beginRegion="media" />
	<keyword attribute="Media" context="#stay" String="mediatypes" />
	<DetectChar attribute="Media" context="#stay" char="," />
	<IncludeRules context="FindComments" />
	<RegExpr attribute="Error" context="#stay" String="\S+" />
      </context>

      <context attribute="Normal Text" lineEndContext="#stay" name="Media2">
        <DetectChar attribute="Media" context="#pop#pop" char="}" endRegion="media" />
	<IncludeRules context="FindRuleSets" />
      </context>

      <context attribute="Selector Attr" lineEndContext="#stay" name="SelAttr">
	<DetectChar attribute="Selector Attr" context="#pop" char="]" />
	<IncludeRules context="FindStrings" />
      </context>

      <context attribute="Selector Pseudo" lineEndContext="#pop" name="SelPseudo"
      		fallthrough="true" fallthroughContext="#pop">
	<keyword attribute="Selector Pseudo" context="#pop" String="pseudoclasses" />
      </context>

      <context attribute="Normal Text" lineEndContext="#stay" name="Import">
      	<DetectChar attribute="At Rule" context="#pop" char=";" />
	<keyword attribute="Media" context="#stay" String="mediatypes" />
	<IncludeRules context="FindValues" />
	<IncludeRules context="FindStrings" />
	<IncludeRules context="FindComments" />
      </context>

      <context attribute="Comment" lineEndContext="#stay" name="Comment">
	<DetectSpaces/>
        <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="comment" />
        <IncludeRules context="##Alerts" />
	<DetectIdentifier/>
      </context>

      <context attribute="Normal Text" lineEndContext="#stay" name="RuleSet">
        <DetectChar attribute="Property" context="#pop" char="}" endRegion="ruleset" />
        <keyword attribute="Property" context="Rule" String="properties" />
	<RegExpr attribute="Unknown Property" context="Rule" String="-?[A-Za-z_-]+(?=\s*:)" />
	<IncludeRules context="FindComments" />
	<RegExpr attribute="Error" context="#stay" String="\S" />
      </context>

      <context attribute="Normal Text" lineEndContext="#stay" name="Rule">
      	<DetectChar attribute="Property" context="Rule2" char=":" />
	<RegExpr attribute="Error" context="#stay" String="\S" />
      </context>

      <context attribute="Normal Text" lineEndContext="#stay" name="Rule2">
      	<DetectChar attribute="Property" context="#pop#pop" char=";" />
	<DetectChar attribute="Property" context="#pop#pop#pop" char="}" endRegion="ruleset" />
        <!-- parse property values -->
	<keyword attribute="Value" context="#stay" String="types" />
	<keyword attribute="Value" context="#stay" String="colors" />
	<RegExpr attribute="Value" context="#stay" String="#([0-9A-Fa-f]{3}){1,4}\b" />
	<keyword attribute="Value" context="PropParen" String="paren" />
	<RegExpr attribute="Important" context="#stay" String="!important\b" />
	<IncludeRules context="FindValues" />
	<IncludeRules context="FindStrings" />
	<IncludeRules context="FindComments" />
      </context>

      <context attribute="Normal Text" lineEndContext="#stay" name="PropParen">
        <DetectChar attribute="Value" context="PropParen2" char="(" />
	<IncludeRules context="FindComments" />
	<RegExpr attribute="Error" context="#stay" String="\S" />
      </context>

      <context attribute="Normal Text" lineEndContext="#stay" name="PropParen2">
        <DetectChar attribute="Value" context="#pop#pop" char=")" />
	<IncludeRules context="FindValues" />
	<IncludeRules context="FindStrings" />
	<IncludeRules context="FindComments" />
      </context>

      <!-- string contexts -->
      <context attribute="String" lineEndContext="#stay" name="StringDQ">
        <DetectChar attribute="String" context="#pop" char="&quot;" />
        <IncludeRules context="InsideString" />
      </context>

      <context attribute="String" lineEndContext="#stay" name="StringSQ">
        <DetectChar attribute="String" context="#pop" char="'" />
        <IncludeRules context="InsideString" />
      </context>

      <context attribute="String" lineEndContext="#stay" name="InsideString">
        <RegExpr attribute="String" context="#stay" String="\\[&quot;']" />
	<DetectIdentifier/>
      </context>

    </contexts>
    <itemDatas>
      <itemData name="Normal Text" defStyleNum="dsNormal"/>
      <itemData name="Property"  defStyleNum="dsKeyword"/>
      <itemData name="Unknown Property"  defStyleNum="dsKeyword" italic="1"/>
      <itemData name="Media"  defStyleNum="dsDecVal" bold="1"/>
      <itemData name="At Rule"  defStyleNum="dsDecVal" />
      <itemData name="String"  defStyleNum="dsString" />
      <itemData name="Value"  defStyleNum="dsDataType" />
      <itemData name="Important" defStyleNum="dsKeyword" />
      <itemData name="Selector Attr" defStyleNum="dsChar" />
      <itemData name="Selector Id"  defStyleNum="dsFloat" bold="1"/>
      <itemData name="Selector Class"  defStyleNum="dsFloat" />
      <itemData name="Selector Pseudo"  defStyleNum="dsDecVal" />
      <itemData name="Comment" defStyleNum="dsComment" />
      <itemData name="Region Marker" defStyleNum="dsRegionMarker"/>
      <itemData name="Alert" defStyleNum="dsAlert"/>
      <itemData name="Error" defStyleNum="dsError"/>
    </itemDatas>
  </highlighting>
  <general>
    <keywords casesensitive="0" weakDeliminator="-%"/>
    <comments>
      <comment name="multiLine" start="/*" end="*/" />
    </comments>
  </general>
</language>