Subversion-Projekte lars-tiefland.prado

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<?xml version="1.0"?>
2
<!-- $Id: css.xml,v 1.1 2007/06/03 02:35:28 ssttoo Exp $ -->
3
 
4
<highlight lang="css" case="no">
5
 
6
  <authors>
7
    <author name="Andrey Demenev" email="demenev@gmail.com"/>
8
  </authors>
9
 
10
 
11
  <default innerClass="code" />
12
 
13
  <block name="atrule" match="(@[a-z\d]+)"
14
         innerClass="var" never-contained="yes"/>
15
 
16
  <region name="property" start="[a-z][a-z\d\-]*\s*:" end="(?=;|\})"
17
         innerClass="code" delimClass="reserved" contained="yes"/>
18
 
19
  <block name="selector" match="(((\.|#)?[a-z]+[a-z\d\-]*(?![a-z\d\-]))|(\*))(?!\s*:\s*[\s\{])"
20
         innerClass="identifier" >
21
  </block>
22
 
23
  <block name="pseudo" match=":[a-z][a-z\d\-]*"
24
         innerClass="special" />
25
 
26
  <block name="bescaped" match="\\[\\(\\)\\]"
27
         innerClass="string" contained="yes"/>
28
 
29
 
30
  <region name="paramselector" start="\[" end="\]" innerClass="code"
31
          delimClass="brackets" >
32
    <contains block="paramname" />
33
    <not-contains block="identifier" />
34
    <contains region="strdouble" />
35
    <contains region="strsingle" />
36
  </region>
37
 
38
  <region name="block" start="\{" end="\}" innerClass="code"
39
          delimClass="brackets" >
40
    <contains region="block" />
41
    <contains region="property" />
42
    <contains block="selector" />
43
  </region>
44
 
45
  <region name="brackets" start="\(" end="\)" innerClass="string"
46
          delimClass="brackets" contained="yes">
47
    <contains block="bescaped"/>
48
  </region>
49
 
50
  <region name="strsingle" delimClass="quotes" innerClass="string" start="'" end="'" contained="yes"/>
51
 
52
  <block name="escaped" match="\\\\|\\&quot;|\\'|\\`" innerClass="special" contained="yes">
53
    <onlyin region="strsingle"/>
54
  </block>
55
 
56
  <block name="descaped" match="\\\\|\\&quot;|\\'|\\`|\\t|\\n|\\r" innerClass="special" contained="yes">
57
    <onlyin region="strdouble"/>
58
  </block>
59
 
60
  <region name="strdouble" delimClass="quotes" innerClass="string"
61
          start="&quot;" end="&quot;" contained="yes" />
62
 
63
  <block name="measure" match="\d*\.?\d+(\%|em|ex|pc|pt|px|in|mm|cm)"
64
         innerClass="number" contained="yes">
65
    <onlyin region="property"/>
66
    <partClass index="1" innerClass="string" />
67
  </block>
68
 
69
  <block name="number" match="\d*\.?\d+" innerClass="number" contained="yes" >
70
    <onlyin region="property"/>
71
  </block>
72
 
73
  <block name="identifier" match="[a-z][a-z\d\-]*"
74
         innerClass="code" contained="yes">
75
    <onlyin region="property"/>
76
  </block>
77
 
78
  <block name="hexcolor" match="#([\da-f]{6}|[\da-f]{3})\b" innerClass="var" contained="yes">
79
    <onlyin region="property"/>
80
  </block>
81
 
82
  <block name="paramname" match="[\w\-\:]+" innerClass="var" contained="yes">
83
    <onlyin region="paramselector"/>
84
  </block>
85
 
86
  <keywords name="propertyValue" inherits="identifier" innerClass="string" case = "no">
87
        <word name="left-side"/>
88
        <keyword match="far-left"/>
89
        <keyword match="left"/>
90
        <keyword match="center-left"/>
91
        <keyword match="center-right"/>
92
        <keyword match="center"/>
93
        <keyword match="far-right"/>
94
        <keyword match="right-side"/>
95
        <keyword match="right"/>
96
        <keyword match="behind"/>
97
        <keyword match="leftwards"/>
98
        <keyword match="rightwards"/>
99
        <keyword match="inherit"/>
100
        <keyword match="scroll"/>
101
        <keyword match="fixed"/>
102
        <keyword match="transparent"/>
103
        <keyword match="none"/>
104
        <keyword match="repeat-x"/>
105
        <keyword match="repeat-y"/>
106
        <keyword match="repeat"/>
107
        <keyword match="no-repeat"/>
108
        <keyword match="collapse"/>
109
        <keyword match="separate"/>
110
        <keyword match="auto"/>
111
        <keyword match="top"/>
112
        <keyword match="bottom"/>
113
        <keyword match="both"/>
114
        <keyword match="open-quote"/>
115
        <keyword match="close-quote"/>
116
        <keyword match="no-open-quote"/>
117
        <keyword match="no-close-quote"/>
118
        <keyword match="crosshair"/>
119
        <keyword match="default"/>
120
        <keyword match="pointer"/>
121
        <keyword match="move"/>
122
        <keyword match="e-resize"/>
123
        <keyword match="ne-resize"/>
124
        <keyword match="nw-resize"/>
125
        <keyword match="n-resize"/>
126
        <keyword match="se-resize"/>
127
        <keyword match="sw-resize"/>
128
        <keyword match="s-resize"/>
129
        <keyword match="text"/>
130
        <keyword match="wait"/>
131
        <keyword match="help"/>
132
        <keyword match="ltr"/>
133
        <keyword match="rtl"/>
134
        <keyword match="inline"/>
135
        <keyword match="block"/>
136
        <keyword match="list-item"/>
137
        <keyword match="run-in"/>
138
        <keyword match="compact"/>
139
        <keyword match="marker"/>
140
        <keyword match="table"/>
141
        <keyword match="inline-table"/>
142
        <keyword match="table-row-group"/>
143
        <keyword match="table-header-group"/>
144
        <keyword match="table-footer-group"/>
145
        <keyword match="table-row"/>
146
        <keyword match="table-column-group"/>
147
        <keyword match="table-column"/>
148
        <keyword match="table-cell"/>
149
        <keyword match="table-caption"/>
150
        <keyword match="below"/>
151
        <keyword match="level"/>
152
        <keyword match="above"/>
153
        <keyword match="higher"/>
154
        <keyword match="lower"/>
155
        <keyword match="show"/>
156
        <keyword match="hide"/>
157
        <keyword match="caption"/>
158
        <keyword match="icon"/>
159
        <keyword match="menu"/>
160
        <keyword match="message-box"/>
161
        <keyword match="small-caption"/>
162
        <keyword match="status-bar"/>
163
        <keyword match="normal"/>
164
        <keyword match="wider"/>
165
        <keyword match="narrower"/>
166
        <keyword match="ultra-condensed"/>
167
        <keyword match="extra-condensed"/>
168
        <keyword match="condensed"/>
169
        <keyword match="semi-condensed"/>
170
        <keyword match="semi-expanded"/>
171
        <keyword match="expanded"/>
172
        <keyword match="extra-expanded"/>
173
        <keyword match="ultra-expanded"/>
174
        <keyword match="italic"/>
175
        <keyword match="oblique"/>
176
        <keyword match="small-caps"/>
177
        <keyword match="bold"/>
178
        <keyword match="bolder"/>
179
        <keyword match="lighter"/>
180
        <keyword match="inside"/>
181
        <keyword match="outside"/>
182
        <keyword match="disc"/>
183
        <keyword match="circle"/>
184
        <keyword match="square"/>
185
        <keyword match="decimal"/>
186
        <keyword match="decimal-leading-zero"/>
187
        <keyword match="lower-roman"/>
188
        <keyword match="upper-roman"/>
189
        <keyword match="lower-greek"/>
190
        <keyword match="lower-alpha"/>
191
        <keyword match="lower-latin"/>
192
        <keyword match="upper-alpha"/>
193
        <keyword match="upper-latin"/>
194
        <keyword match="hebrew"/>
195
        <keyword match="armenian"/>
196
        <keyword match="georgian"/>
197
        <keyword match="cjk-ideographic"/>
198
        <keyword match="hiragana"/>
199
        <keyword match="katakana"/>
200
        <keyword match="hiragana-iroha"/>
201
        <keyword match="katakana-iroha"/>
202
        <keyword match="crop"/>
203
        <keyword match="cross"/>
204
        <keyword match="invert"/>
205
        <keyword match="visible"/>
206
        <keyword match="hidden"/>
207
        <keyword match="always"/>
208
        <keyword match="avoid"/>
209
        <keyword match="x-low"/>
210
        <keyword match="low"/>
211
        <keyword match="medium"/>
212
        <keyword match="high"/>
213
        <keyword match="x-high"/>
214
        <keyword match="mix?"/>
215
        <keyword match="repeat?"/>
216
        <keyword match="static"/>
217
        <keyword match="relative"/>
218
        <keyword match="absolute"/>
219
        <keyword match="portrait"/>
220
        <keyword match="landscape"/>
221
        <keyword match="spell-out"/>
222
        <keyword match="once"/>
223
        <keyword match="digits"/>
224
        <keyword match="continuous"/>
225
        <keyword match="code"/>
226
        <keyword match="x-slow"/>
227
        <keyword match="slow"/>
228
        <keyword match="fast"/>
229
        <keyword match="x-fast"/>
230
        <keyword match="faster"/>
231
        <keyword match="slower"/>
232
        <keyword match="justify"/>
233
        <keyword match="underline"/>
234
        <keyword match="overline"/>
235
        <keyword match="line-through"/>
236
        <keyword match="blink"/>
237
        <keyword match="capitalize"/>
238
        <keyword match="uppercase"/>
239
        <keyword match="lowercase"/>
240
        <keyword match="embed"/>
241
        <keyword match="bidi-override"/>
242
        <keyword match="baseline"/>
243
        <keyword match="sub"/>
244
        <keyword match="super"/>
245
        <keyword match="text-top"/>
246
        <keyword match="middle"/>
247
        <keyword match="text-bottom"/>
248
        <keyword match="silent"/>
249
        <keyword match="x-soft"/>
250
        <keyword match="soft"/>
251
        <keyword match="loud"/>
252
        <keyword match="x-loud"/>
253
        <keyword match="pre"/>
254
        <keyword match="nowrap"/>
255
        <keyword match="serif"/>
256
        <keyword match="sans-serif"/>
257
        <keyword match="cursive"/>
258
        <keyword match="fantasy"/>
259
        <keyword match="monospace"/>
260
        <keyword match="empty"/>
261
        <keyword match="string"/>
262
        <keyword match="strict"/>
263
        <keyword match="loose"/>
264
        <keyword match="char"/>
265
        <keyword match="true"/>
266
        <keyword match="false"/>
267
        <keyword match="dotted"/>
268
        <keyword match="dashed"/>
269
        <keyword match="solid"/>
270
        <keyword match="double"/>
271
        <keyword match="groove"/>
272
        <keyword match="ridge"/>
273
        <keyword match="inset"/>
274
        <keyword match="outset"/>
275
        <keyword match="larger"/>
276
        <keyword match="smaller"/>
277
        <keyword match="xx-small"/>
278
        <keyword match="x-small"/>
279
        <keyword match="small"/>
280
        <keyword match="large"/>
281
        <keyword match="x-large"/>
282
        <keyword match="xx-large"/>
283
        <keyword match="all"/>
284
        <keyword match="newspaper"/>
285
        <keyword match="distribute"/>
286
        <keyword match="distribute-all-lines"/>
287
        <keyword match="distribute-center-last"/>
288
        <keyword match="inter-word"/>
289
        <keyword match="inter-ideograph"/>
290
        <keyword match="inter-cluster"/>
291
        <keyword match="kashida"/>
292
        <keyword match="ideograph-alpha"/>
293
        <keyword match="ideograph-numeric"/>
294
        <keyword match="ideograph-parenthesis"/>
295
        <keyword match="ideograph-space"/>
296
        <keyword match="keep-all"/>
297
        <keyword match="break-all"/>
298
        <keyword match="break-word"/>
299
        <keyword match="lr-tb"/>
300
        <keyword match="tb-rl"/>
301
        <keyword match="thin"/>
302
        <keyword match="thick"/>
303
        <keyword match="inline-block"/>
304
        <keyword match="w-resize"/>
305
        <keyword match="hand"/>
306
        <keyword match="distribute-letter"/>
307
        <keyword match="distribute-space"/>
308
        <keyword match="whitespace"/>
309
        <keyword match="male"/>
310
        <keyword match="female"/>
311
        <keyword match="child"/>
312
  </keywords>
313
 
314
 
315
  <keywords name="namedcolor" inherits="identifier" innerClass="var" case = "no">
316
    <keyword match="aqua"/>
317
    <keyword match="black"/>
318
    <keyword match="blue"/>
319
    <keyword match="fuchsia"/>
320
    <keyword match="gray"/>
321
    <keyword match="green"/>
322
    <keyword match="lime"/>
323
    <keyword match="maroon"/>
324
    <keyword match="navy"/>
325
    <keyword match="olive"/>
326
    <keyword match="purple"/>
327
    <keyword match="red"/>
328
    <keyword match="silver"/>
329
    <keyword match="teal"/>
330
    <keyword match="white"/>
331
    <keyword match="yellow"/>
332
    <keyword match="ActiveBorder"/>
333
    <keyword match="ActiveCaption"/>
334
    <keyword match="AppWorkspace"/>
335
    <keyword match="Background"/>
336
    <keyword match="ButtonFace"/>
337
    <keyword match="ButtonHighlight"/>
338
    <keyword match="ButtonShadow"/>
339
    <keyword match="ButtonText"/>
340
    <keyword match="CaptionText"/>
341
    <keyword match="GrayText"/>
342
    <keyword match="Highlight"/>
343
    <keyword match="HighlightText"/>
344
    <keyword match="InactiveBorder"/>
345
    <keyword match="InactiveCaption"/>
346
    <keyword match="InactiveCaptionText"/>
347
    <keyword match="InfoBackground"/>
348
    <keyword match="InfoText"/>
349
    <keyword match="Menu"/>
350
    <keyword match="MenuText"/>
351
    <keyword match="Scrollbar"/>
352
    <keyword match="ThreeDDarkShadow"/>
353
    <keyword match="ThreeDFace"/>
354
    <keyword match="ThreeDHighlight"/>
355
    <keyword match="ThreeDLightShadow"/>
356
    <keyword match="ThreeDShadow"/>
357
    <keyword match="Window"/>
358
    <keyword match="WindowFrame"/>
359
    <keyword match="WindowText"/>
360
  </keywords>
361
</highlight>