ultraviolet 0.10.2 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitmodules +3 -0
- data/Gemfile +10 -0
- data/Gemfile.lock +28 -0
- data/Rakefile +18 -47
- data/Readme.md +89 -0
- data/bin/theme2latexrender +0 -0
- data/bin/theme2xhtmlrender +0 -0
- data/bin/uv +0 -0
- data/lib/uv.rb +78 -75
- data/lib/uv/render_processor.rb +128 -119
- data/lib/uv/utility.rb +62 -62
- data/lib/uv/version.rb +3 -0
- data/spec/spec_helper.rb +2 -0
- data/spec/ultraviolet_spec.rb +13 -0
- data/ultraviolet.gemspec +15 -0
- metadata +123 -271
- data/History.txt +0 -25
- data/Manifest.txt +0 -233
- data/README.txt +0 -52
- data/syntax/actionscript.syntax +0 -97
- data/syntax/active4d.syntax +0 -276
- data/syntax/active4d_html.syntax +0 -311
- data/syntax/active4d_ini.syntax +0 -50
- data/syntax/active4d_library.syntax +0 -21
- data/syntax/ada.syntax +0 -33
- data/syntax/antlr.syntax +0 -151
- data/syntax/apache.syntax +0 -191
- data/syntax/applescript.syntax +0 -384
- data/syntax/asp.syntax +0 -70
- data/syntax/asp_vb.net.syntax +0 -129
- data/syntax/bibtex.syntax +0 -151
- data/syntax/blog_html.syntax +0 -41
- data/syntax/blog_markdown.syntax +0 -42
- data/syntax/blog_text.syntax +0 -27
- data/syntax/blog_textile.syntax +0 -27
- data/syntax/build.syntax +0 -53
- data/syntax/bulletin_board.syntax +0 -287
- data/syntax/c++.syntax +0 -109
- data/syntax/c.syntax +0 -326
- data/syntax/cake.syntax +0 -55
- data/syntax/camlp4.syntax +0 -36
- data/syntax/cm.syntax +0 -32
- data/syntax/coldfusion.syntax +0 -119
- data/syntax/context_free.syntax +0 -176
- data/syntax/cs.syntax +0 -59
- data/syntax/css.syntax +0 -195
- data/syntax/css_experimental.syntax +0 -1925
- data/syntax/csv.syntax +0 -68
- data/syntax/d.syntax +0 -142
- data/syntax/diff.syntax +0 -81
- data/syntax/dokuwiki.syntax +0 -204
- data/syntax/dot.syntax +0 -47
- data/syntax/doxygen.syntax +0 -43
- data/syntax/dylan.syntax +0 -62
- data/syntax/eiffel.syntax +0 -78
- data/syntax/erlang.syntax +0 -922
- data/syntax/f-script.syntax +0 -80
- data/syntax/fortran.syntax +0 -141
- data/syntax/fxscript.syntax +0 -142
- data/syntax/greasemonkey.syntax +0 -34
- data/syntax/gri.syntax +0 -83
- data/syntax/groovy.syntax +0 -191
- data/syntax/gtd.syntax +0 -22
- data/syntax/gtdalt.syntax +0 -143
- data/syntax/haml.syntax +0 -88
- data/syntax/haskell.syntax +0 -88
- data/syntax/html-asp.syntax +0 -27
- data/syntax/html.syntax +0 -362
- data/syntax/html_django.syntax +0 -36
- data/syntax/html_for_asp.net.syntax +0 -424
- data/syntax/html_mason.syntax +0 -119
- data/syntax/html_rails.syntax +0 -40
- data/syntax/html_tcl.syntax +0 -26
- data/syntax/icalendar.syntax +0 -32
- data/syntax/inform.syntax +0 -48
- data/syntax/ini.syntax +0 -55
- data/syntax/installer_distribution_script.syntax +0 -77
- data/syntax/io.syntax +0 -81
- data/syntax/java.syntax +0 -211
- data/syntax/javaproperties.syntax +0 -20
- data/syntax/javascript.syntax +0 -256
- data/syntax/javascript_+_prototype.syntax +0 -72
- data/syntax/javascript_+_prototype_bracketed.syntax +0 -140
- data/syntax/jquery_javascript.syntax +0 -114
- data/syntax/json.syntax +0 -136
- data/syntax/languagedefinition.syntax +0 -708
- data/syntax/latex.syntax +0 -566
- data/syntax/latex_beamer.syntax +0 -41
- data/syntax/latex_log.syntax +0 -50
- data/syntax/latex_memoir.syntax +0 -64
- data/syntax/lexflex.syntax +0 -219
- data/syntax/lighttpd.syntax +0 -54
- data/syntax/lilypond.syntax +0 -492
- data/syntax/lisp.syntax +0 -61
- data/syntax/literate_haskell.syntax +0 -24
- data/syntax/logo.syntax +0 -29
- data/syntax/logtalk.syntax +0 -152
- data/syntax/lua.syntax +0 -86
- data/syntax/m.syntax +0 -142
- data/syntax/macports_portfile.syntax +0 -163
- data/syntax/mail.syntax +0 -118
- data/syntax/makefile.syntax +0 -36
- data/syntax/man.syntax +0 -17
- data/syntax/markdown.syntax +0 -543
- data/syntax/mediawiki.syntax +0 -567
- data/syntax/mel.syntax +0 -92
- data/syntax/mips.syntax +0 -66
- data/syntax/mod_perl.syntax +0 -50
- data/syntax/modula-3.syntax +0 -47
- data/syntax/moinmoin.syntax +0 -189
- data/syntax/mootools.syntax +0 -572
- data/syntax/movable_type.syntax +0 -162
- data/syntax/multimarkdown.syntax +0 -39
- data/syntax/objective-c++.syntax +0 -18
- data/syntax/objective-c.syntax +0 -233
- data/syntax/ocaml.syntax +0 -764
- data/syntax/ocamllex.syntax +0 -167
- data/syntax/ocamlyacc.syntax +0 -184
- data/syntax/opengl.syntax +0 -14
- data/syntax/pascal.syntax +0 -77
- data/syntax/perl.syntax +0 -1115
- data/syntax/php.syntax +0 -1253
- data/syntax/plain_text.syntax +0 -32
- data/syntax/pmwiki.syntax +0 -113
- data/syntax/postscript.syntax +0 -114
- data/syntax/processing.syntax +0 -106
- data/syntax/prolog.syntax +0 -40
- data/syntax/property_list.syntax +0 -635
- data/syntax/python.syntax +0 -868
- data/syntax/python_django.syntax +0 -21
- data/syntax/qmake_project.syntax +0 -114
- data/syntax/qt_c++.syntax +0 -26
- data/syntax/quake3_config.syntax +0 -32
- data/syntax/r.syntax +0 -81
- data/syntax/r_console.syntax +0 -16
- data/syntax/ragel.syntax +0 -201
- data/syntax/rd_r_documentation.syntax +0 -91
- data/syntax/regexp.syntax +0 -50
- data/syntax/regular_expressions_oniguruma.syntax +0 -107
- data/syntax/regular_expressions_python.syntax +0 -109
- data/syntax/release_notes.syntax +0 -46
- data/syntax/remind.syntax +0 -253
- data/syntax/restructuredtext.syntax +0 -250
- data/syntax/rez.syntax +0 -80
- data/syntax/ruby.syntax +0 -1035
- data/syntax/ruby_experimental.syntax +0 -145
- data/syntax/ruby_on_rails.syntax +0 -88
- data/syntax/s5.syntax +0 -69
- data/syntax/scheme.syntax +0 -347
- data/syntax/scilab.syntax +0 -41
- data/syntax/setext.syntax +0 -147
- data/syntax/shell-unix-generic.syntax +0 -384
- data/syntax/slate.syntax +0 -149
- data/syntax/smarty.syntax +0 -63
- data/syntax/sql.syntax +0 -237
- data/syntax/sql_rails.syntax +0 -18
- data/syntax/ssh-config.syntax +0 -33
- data/syntax/standard_ml.syntax +0 -121
- data/syntax/strings_file.syntax +0 -39
- data/syntax/subversion_commit_message.syntax +0 -36
- data/syntax/sweave.syntax +0 -84
- data/syntax/swig.syntax +0 -57
- data/syntax/tcl.syntax +0 -152
- data/syntax/template_toolkit.syntax +0 -121
- data/syntax/tex.syntax +0 -86
- data/syntax/tex_math.syntax +0 -49
- data/syntax/textile.syntax +0 -215
- data/syntax/tsv.syntax +0 -50
- data/syntax/twiki.syntax +0 -241
- data/syntax/txt2tags.syntax +0 -79
- data/syntax/vectorscript.syntax +0 -57
- data/syntax/xhtml_1.0.syntax +0 -4027
- data/syntax/xml.syntax +0 -180
- data/syntax/xml_strict.syntax +0 -92
- data/syntax/xsl.syntax +0 -60
- data/syntax/yaml.syntax +0 -160
- data/syntax/yui_javascript.syntax +0 -176
- data/test/test_uv.rb +0 -0
data/syntax/active4d_html.syntax
DELETED
@@ -1,311 +0,0 @@
|
|
1
|
-
---
|
2
|
-
name: HTML (Active4D)
|
3
|
-
fileTypes:
|
4
|
-
- a4d
|
5
|
-
- a4p
|
6
|
-
scopeName: text.html.strict.active4d
|
7
|
-
repository:
|
8
|
-
tag-stuff:
|
9
|
-
patterns:
|
10
|
-
- include: "#tag-id-attribute"
|
11
|
-
- include: "#tag-generic-attribute"
|
12
|
-
- include: "#string-double-quoted"
|
13
|
-
- include: "#string-single-quoted"
|
14
|
-
- include: "#embedded-code"
|
15
|
-
string-double-quoted:
|
16
|
-
name: string.quoted.double.html
|
17
|
-
endCaptures:
|
18
|
-
"0":
|
19
|
-
name: punctuation.definition.string.end.html
|
20
|
-
begin: "\""
|
21
|
-
beginCaptures:
|
22
|
-
"0":
|
23
|
-
name: punctuation.definition.string.begin.html
|
24
|
-
end: "\""
|
25
|
-
patterns:
|
26
|
-
- include: "#embedded-code"
|
27
|
-
- include: "#entities"
|
28
|
-
entities:
|
29
|
-
patterns:
|
30
|
-
- name: constant.character.entity.html
|
31
|
-
captures:
|
32
|
-
"1":
|
33
|
-
name: punctuation.definition.entity.html
|
34
|
-
"3":
|
35
|
-
name: punctuation.terminator.entity.html
|
36
|
-
match: (&)([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;)
|
37
|
-
- name: invalid.illegal.bad-ampersand.html
|
38
|
-
match: "&"
|
39
|
-
embedded-js:
|
40
|
-
patterns:
|
41
|
-
- include: "#string-double-quoted-js"
|
42
|
-
- include: "#string-single-quoted-js"
|
43
|
-
- include: "#embedded-code"
|
44
|
-
string-single-quoted:
|
45
|
-
name: string.quoted.single.html
|
46
|
-
endCaptures:
|
47
|
-
"0":
|
48
|
-
name: punctuation.definition.string.end.html
|
49
|
-
begin: "'"
|
50
|
-
beginCaptures:
|
51
|
-
"0":
|
52
|
-
name: punctuation.definition.string.begin.html
|
53
|
-
end: "'"
|
54
|
-
patterns:
|
55
|
-
- include: "#embedded-code"
|
56
|
-
- include: "#entities"
|
57
|
-
tag-id-attribute:
|
58
|
-
name: meta.attribute-with-value.id.html
|
59
|
-
captures:
|
60
|
-
"1":
|
61
|
-
name: entity.other.attribute-name.id.html
|
62
|
-
"2":
|
63
|
-
name: punctuation.separator.key-value.html
|
64
|
-
begin: \b(id)\b\s*(=)
|
65
|
-
end: (?<='|")
|
66
|
-
patterns:
|
67
|
-
- name: string.quoted.double.html
|
68
|
-
endCaptures:
|
69
|
-
"0":
|
70
|
-
name: punctuation.definition.string.end.html
|
71
|
-
begin: "\""
|
72
|
-
contentName: meta.toc-list.id.html
|
73
|
-
beginCaptures:
|
74
|
-
"0":
|
75
|
-
name: punctuation.definition.string.begin.html
|
76
|
-
end: "\""
|
77
|
-
patterns:
|
78
|
-
- include: "#embedded-code"
|
79
|
-
- include: "#entities"
|
80
|
-
- name: string.quoted.single.html
|
81
|
-
endCaptures:
|
82
|
-
"0":
|
83
|
-
name: punctuation.definition.string.end.html
|
84
|
-
begin: "'"
|
85
|
-
contentName: meta.toc-list.id.html
|
86
|
-
beginCaptures:
|
87
|
-
"0":
|
88
|
-
name: punctuation.definition.string.begin.html
|
89
|
-
end: "'"
|
90
|
-
patterns:
|
91
|
-
- include: "#embedded-code"
|
92
|
-
- include: "#entities"
|
93
|
-
string-double-quoted-js:
|
94
|
-
name: string.quoted.double.js
|
95
|
-
endCaptures:
|
96
|
-
"0":
|
97
|
-
name: punctuation.definition.string.end.js
|
98
|
-
begin: "\""
|
99
|
-
beginCaptures:
|
100
|
-
"0":
|
101
|
-
name: punctuation.definition.string.begin.js
|
102
|
-
end: "\""
|
103
|
-
patterns:
|
104
|
-
- include: "#embedded-code"
|
105
|
-
tag-generic-attribute:
|
106
|
-
name: entity.other.attribute-name.html
|
107
|
-
match: \b([a-zA-Z-:]+)
|
108
|
-
string-single-quoted-js:
|
109
|
-
name: string.quoted.single.js
|
110
|
-
endCaptures:
|
111
|
-
"0":
|
112
|
-
name: punctuation.definition.string.end.js
|
113
|
-
begin: "'"
|
114
|
-
beginCaptures:
|
115
|
-
"0":
|
116
|
-
name: punctuation.definition.string.begin.js
|
117
|
-
end: "'"
|
118
|
-
patterns:
|
119
|
-
- include: "#embedded-code"
|
120
|
-
embedded-code:
|
121
|
-
name: source.active4d.embedded.html
|
122
|
-
endCaptures:
|
123
|
-
"0":
|
124
|
-
name: punctuation.section.embedded.active4d
|
125
|
-
begin: <%
|
126
|
-
beginCaptures:
|
127
|
-
"0":
|
128
|
-
name: punctuation.section.embedded.active4d
|
129
|
-
end: "%>"
|
130
|
-
patterns:
|
131
|
-
- include: source.active4d
|
132
|
-
uuid: E666209C-4477-4D83-8B49-9463DFBACD9F
|
133
|
-
foldingStartMarker: |-
|
134
|
-
(?x)
|
135
|
-
(<(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)\b.*?>
|
136
|
-
|<!--(?!.*-->)
|
137
|
-
|^\s*<%(?!.*%>)
|
138
|
-
|(^\s*|<%\s*)(?i:if|while|for\ each|for|case\ of|repeat|method|save\ output)\b
|
139
|
-
)
|
140
|
-
patterns:
|
141
|
-
- name: meta.tag.any.html
|
142
|
-
endCaptures:
|
143
|
-
"1":
|
144
|
-
name: punctuation.definition.tag.html
|
145
|
-
"2":
|
146
|
-
name: meta.scope.between-tag-pair.html
|
147
|
-
"3":
|
148
|
-
name: entity.name.tag.html
|
149
|
-
"4":
|
150
|
-
name: punctuation.definition.tag.html
|
151
|
-
begin: (<)([a-zA-Z0-9:]+)(?=[^>]*></\2>)
|
152
|
-
beginCaptures:
|
153
|
-
"1":
|
154
|
-
name: punctuation.definition.tag.html
|
155
|
-
"2":
|
156
|
-
name: entity.name.tag.html
|
157
|
-
end: (>(<)/)(\2)(>)
|
158
|
-
patterns:
|
159
|
-
- include: "#tag-stuff"
|
160
|
-
- name: meta.tag.preprocessor.xml.html
|
161
|
-
captures:
|
162
|
-
"1":
|
163
|
-
name: punctuation.definition.tag.xml.html
|
164
|
-
"2":
|
165
|
-
name: entity.name.tag.xml.html
|
166
|
-
begin: (<\?)(xml)
|
167
|
-
end: (\?>)
|
168
|
-
patterns:
|
169
|
-
- include: "#tag-generic-attribute"
|
170
|
-
- include: "#string-double-quoted"
|
171
|
-
- include: "#string-single-quoted"
|
172
|
-
- name: comment.block.html
|
173
|
-
captures:
|
174
|
-
"0":
|
175
|
-
name: punctuation.definition.comment.html
|
176
|
-
begin: <!--
|
177
|
-
end: -->
|
178
|
-
patterns:
|
179
|
-
- name: invalid.illegal.bad-comments-or-CDATA.html
|
180
|
-
match: --
|
181
|
-
- name: meta.tag.sgml.html
|
182
|
-
captures:
|
183
|
-
"0":
|
184
|
-
name: punctuation.definition.tag.html
|
185
|
-
begin: <!
|
186
|
-
end: ">"
|
187
|
-
patterns:
|
188
|
-
- name: meta.tag.sgml.doctype.html
|
189
|
-
captures:
|
190
|
-
"1":
|
191
|
-
name: entity.name.tag.doctype.html
|
192
|
-
begin: (DOCTYPE)
|
193
|
-
end: (?=>)
|
194
|
-
patterns:
|
195
|
-
- name: string.quoted.double.doctype.identifiers-and-DTDs.html
|
196
|
-
match: "\"[^\">]*\""
|
197
|
-
- name: constant.other.inline-data.html
|
198
|
-
begin: \[CDATA\[
|
199
|
-
end: "]](?=>)"
|
200
|
-
- name: invalid.illegal.bad-comments-or-CDATA.html
|
201
|
-
match: (\s*)(?!--|>)\S(\s*)
|
202
|
-
- name: meta.tag.processor.html
|
203
|
-
endCaptures:
|
204
|
-
"0":
|
205
|
-
name: punctuation.section.embedded.active4d
|
206
|
-
"1":
|
207
|
-
name: meta.scope.between-tag-pair.html
|
208
|
-
begin: <%(?=%>)
|
209
|
-
beginCaptures:
|
210
|
-
"0":
|
211
|
-
name: punctuation.section.embedded.active4d
|
212
|
-
end: (%)>
|
213
|
-
patterns:
|
214
|
-
- include: "#embedded-code"
|
215
|
-
- include: "#embedded-code"
|
216
|
-
- name: source.css.embedded.html
|
217
|
-
captures:
|
218
|
-
"1":
|
219
|
-
name: punctuation.definition.tag.html
|
220
|
-
"2":
|
221
|
-
name: entity.name.tag.style.html
|
222
|
-
"3":
|
223
|
-
name: punctuation.definition.tag.html
|
224
|
-
begin: (?:^\s+)?(<)((?i:style))\b(?![^>]*/>)
|
225
|
-
end: (</)((?i:style))(>)(?:\s*\n)?
|
226
|
-
patterns:
|
227
|
-
- include: "#tag-stuff"
|
228
|
-
- begin: (>)
|
229
|
-
beginCaptures:
|
230
|
-
"1":
|
231
|
-
name: punctuation.definition.tag.html
|
232
|
-
end: (?=</(?i:style))
|
233
|
-
patterns:
|
234
|
-
- include: "#embedded-code"
|
235
|
-
- include: source.css
|
236
|
-
- name: source.js.embedded.html
|
237
|
-
endCaptures:
|
238
|
-
"1":
|
239
|
-
name: entity.name.tag.script.html
|
240
|
-
"2":
|
241
|
-
name: punctuation.definition.tag.html
|
242
|
-
begin: (?:^\s+)?(<)((?i:script))\b(?![^>]*/>)
|
243
|
-
beginCaptures:
|
244
|
-
"1":
|
245
|
-
name: punctuation.definition.tag.html
|
246
|
-
"2":
|
247
|
-
name: entity.name.tag.script.html
|
248
|
-
end: (?<=</(script|SCRIPT))(>)(?:\s*\n)?
|
249
|
-
patterns:
|
250
|
-
- include: "#tag-stuff"
|
251
|
-
- captures:
|
252
|
-
"1":
|
253
|
-
name: punctuation.definition.tag.html
|
254
|
-
begin: (?<!</(?:script|SCRIPT))(>)
|
255
|
-
end: (</)((?i:script))
|
256
|
-
patterns:
|
257
|
-
- include: "#embedded-js"
|
258
|
-
- include: source.js
|
259
|
-
- name: meta.tag.structure.any.html
|
260
|
-
captures:
|
261
|
-
"1":
|
262
|
-
name: punctuation.definition.tag.html
|
263
|
-
"2":
|
264
|
-
name: entity.name.tag.structure.any.html
|
265
|
-
begin: (</?)((?i:body|head|html)\b)
|
266
|
-
end: (>)
|
267
|
-
patterns:
|
268
|
-
- include: "#tag-stuff"
|
269
|
-
- name: meta.tag.block.any.html
|
270
|
-
captures:
|
271
|
-
"1":
|
272
|
-
name: punctuation.definition.tag.html
|
273
|
-
"2":
|
274
|
-
name: entity.name.tag.block.any.html
|
275
|
-
begin: (</?)((?i:address|blockquote|dd|div|dl|dt|fieldset|form|frame|frameset|h1|h2|h3|h4|h5|h6|iframe|noframes|object|ol|p|ul|applet|center|dir|hr|menu|pre)\b)
|
276
|
-
end: (>)
|
277
|
-
patterns:
|
278
|
-
- include: "#tag-stuff"
|
279
|
-
- name: meta.tag.inline.any.html
|
280
|
-
captures:
|
281
|
-
"1":
|
282
|
-
name: punctuation.definition.tag.html
|
283
|
-
"2":
|
284
|
-
name: entity.name.tag.inline.any.html
|
285
|
-
begin: (</?)((?i:a|abbr|acronym|area|b|base|basefont|bdo|big|br|button|caption|cite|code|col|colgroup|del|dfn|em|font|head|html|i|img|input|ins|isindex|kbd|label|legend|li|link|map|meta|noscript|optgroup|option|param|q|s|samp|script|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|title|tr|tt|u|var)\b)
|
286
|
-
end: (>)
|
287
|
-
patterns:
|
288
|
-
- include: "#tag-stuff"
|
289
|
-
- name: meta.tag.other.html
|
290
|
-
captures:
|
291
|
-
"1":
|
292
|
-
name: punctuation.definition.tag.html
|
293
|
-
"2":
|
294
|
-
name: entity.name.tag.other.html
|
295
|
-
begin: (</?)([a-zA-Z0-9:]+)
|
296
|
-
end: (>)
|
297
|
-
patterns:
|
298
|
-
- include: "#tag-stuff"
|
299
|
-
- include: "#entities"
|
300
|
-
- name: invalid.illegal.incomplete.html
|
301
|
-
match: <>
|
302
|
-
- name: invalid.illegal.bad-angle-bracket.html
|
303
|
-
match: <(?=\W)|>
|
304
|
-
foldingStopMarker: |-
|
305
|
-
(?x)
|
306
|
-
(</(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)>
|
307
|
-
|^(?!.*?<!--).*?-->
|
308
|
-
|^\s*%>
|
309
|
-
|(^\s*|<%\s*)(?i:end\ (if|while|for\ each|for|case|method|save\ output)|until)\b
|
310
|
-
)
|
311
|
-
keyEquivalent: ^~A
|
data/syntax/active4d_ini.syntax
DELETED
@@ -1,50 +0,0 @@
|
|
1
|
-
---
|
2
|
-
name: Active4D Config
|
3
|
-
fileTypes:
|
4
|
-
- ini
|
5
|
-
scopeName: text.active4d-ini
|
6
|
-
repository:
|
7
|
-
escaped_char:
|
8
|
-
name: constant.character.escape.active4d-ini
|
9
|
-
match: \\.
|
10
|
-
uuid: BECA5580-F845-4715-889C-134DF4BF67C2
|
11
|
-
patterns:
|
12
|
-
- name: comment.line.double-slash.active4d-ini
|
13
|
-
captures:
|
14
|
-
"1":
|
15
|
-
name: punctuation.definition.comment.active4d-ini
|
16
|
-
match: (//).*$\n?
|
17
|
-
- name: comment.line.backtick.active4d-ini
|
18
|
-
captures:
|
19
|
-
"1":
|
20
|
-
name: punctuation.definition.comment.active4d-ini
|
21
|
-
match: (`).*$\n?
|
22
|
-
- name: comment.line.double-backslash.continuation.active4d-ini
|
23
|
-
captures:
|
24
|
-
"1":
|
25
|
-
name: punctuation.definition.comment.active4d-ini
|
26
|
-
match: (\\\\).*$\n?
|
27
|
-
- name: comment.block.active4d-ini
|
28
|
-
captures:
|
29
|
-
"0":
|
30
|
-
name: punctuation.definition.comment.active4d-ini
|
31
|
-
begin: /\*
|
32
|
-
end: \*/
|
33
|
-
- name: string.quoted.double.active4d-ini
|
34
|
-
endCaptures:
|
35
|
-
"0":
|
36
|
-
name: punctuation.definition.string.end.active4d-ini
|
37
|
-
begin: "\"(?!\"\")"
|
38
|
-
beginCaptures:
|
39
|
-
"0":
|
40
|
-
name: punctuation.definition.string.begin.active4d-ini
|
41
|
-
end: "\""
|
42
|
-
patterns:
|
43
|
-
- include: "#escaped_char"
|
44
|
-
- name: constant.language.boolean.active4d-ini
|
45
|
-
match: \b(?i)(true|false|yes|no)\b
|
46
|
-
- name: keyword.operator.active4d-ini
|
47
|
-
match: "="
|
48
|
-
- name: support.constant.active4d-ini
|
49
|
-
match: (?i)((\b(use sessions|use session cookies|session var name|session timeout|session purge interval|session cookie path|session cookie name|session cookie domain|serve nonexecutables|script timeout|safe script dirs|safe doc dirs|root|refresh interval|receive timeout|platform charset|parameter mode|output encoding|output charset|max request size|log level|lib extension|lib dirs|http error page|fusebox page|expires|executable extensions|error page|default page|content charset|client is web server|cache control|auto relate one|auto relate many|auto refresh libs|auto create vars)\b)|(\<default\>|\<web\>|\<4d volume\>|\<boot volume\>))
|
50
|
-
keyEquivalent: ^~A
|
@@ -1,21 +0,0 @@
|
|
1
|
-
---
|
2
|
-
name: Active4D Library
|
3
|
-
fileTypes:
|
4
|
-
- a4l
|
5
|
-
scopeName: source.active4d.library
|
6
|
-
uuid: A595B09A-3829-48CB-958B-7D6C4646409D
|
7
|
-
foldingStartMarker: |-
|
8
|
-
(?x)
|
9
|
-
(^\s*(?i:if|while|for\ each|for|case\ of|repeat|method)\b
|
10
|
-
|^\s*<fusedoc\ fuse
|
11
|
-
)
|
12
|
-
patterns:
|
13
|
-
- name: keyword.other.active4d
|
14
|
-
match: (?i:end library|library)
|
15
|
-
- include: source.active4d
|
16
|
-
foldingStopMarker: |-
|
17
|
-
(?x)
|
18
|
-
(^\s*(?i:end\ (if|while|for\ each|for|case|method)|until)\b
|
19
|
-
|^\s*</fusedoc>
|
20
|
-
)
|
21
|
-
keyEquivalent: ^~A
|
data/syntax/ada.syntax
DELETED
@@ -1,33 +0,0 @@
|
|
1
|
-
---
|
2
|
-
name: Ada
|
3
|
-
fileTypes:
|
4
|
-
- adb
|
5
|
-
- ads
|
6
|
-
scopeName: source.ada
|
7
|
-
uuid: 0AB8A36E-6B1D-11D9-B034-000D93589AF6
|
8
|
-
foldingStartMarker: \b(?i:(procedure|package|function|task|type|loop))\b
|
9
|
-
patterns:
|
10
|
-
- name: keyword.control.ada
|
11
|
-
match: \b(?i:(abort|else|new|return|abs|elsif|not|reverse|abstract|end|null|accept|entry|select|access|exception|of|separate|aliased|exit|or|subtype|all|others|and|for|out|tagged|array|function|task|at|package|terminate|generic|pragma|then|begin|goto|private|type|body|procedure|if|protected|until|case|in|use|constant|is|raise|range|when|declare|limited|record|while|delay|loop|rem|with|delta|renames|digits|mod|requeue|xor|do))\b
|
12
|
-
- name: constant.numeric.ada
|
13
|
-
match: \b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\.?[0-9]*)|(\.[0-9]+))((e|E)(\+|-)?[0-9]+)?)(L|l|UL|ul|u|U|F|f|ll|LL|ull|ULL)?\b
|
14
|
-
- name: string.quoted.double.ada
|
15
|
-
endCaptures:
|
16
|
-
"0":
|
17
|
-
name: punctuation.definition.string.end.ada
|
18
|
-
begin: "\""
|
19
|
-
beginCaptures:
|
20
|
-
"0":
|
21
|
-
name: punctuation.definition.string.begin.ada
|
22
|
-
end: "\""
|
23
|
-
patterns:
|
24
|
-
- name: invalid.illegal.lf-in-string.ada
|
25
|
-
match: \n
|
26
|
-
- name: comment.line.double-dash.ada
|
27
|
-
captures:
|
28
|
-
"1":
|
29
|
-
name: punctuation.definition.comment.ada
|
30
|
-
match: (--)(.*)$\n?
|
31
|
-
foldingStopMarker: \b(?i:(end))\b
|
32
|
-
keyEquivalent: ^~A
|
33
|
-
comment: Ada -- chris@cjack.com. Feel free to modify, distribute, be happy. Share and enjoy.
|
data/syntax/antlr.syntax
DELETED
@@ -1,151 +0,0 @@
|
|
1
|
-
---
|
2
|
-
name: ANTLR
|
3
|
-
fileTypes:
|
4
|
-
- g
|
5
|
-
scopeName: source.antlr
|
6
|
-
repository:
|
7
|
-
nested-curly:
|
8
|
-
name: source.embedded.java-or-c.antlr
|
9
|
-
captures:
|
10
|
-
"0":
|
11
|
-
name: punctuation.section.group.antlr
|
12
|
-
begin: \{
|
13
|
-
end: \}
|
14
|
-
patterns:
|
15
|
-
- name: keyword.control.java-or-c
|
16
|
-
match: \b(break|case|continue|default|do|else|for|goto|if|_Pragma|return|switch|while)\b
|
17
|
-
- name: storage.type.java-or-c
|
18
|
-
match: \b(asm|__asm__|auto|bool|_Bool|char|_Complex|double|enum|float|_Imaginary|int|long|short|signed|struct|typedef|union|unsigned|void)\b
|
19
|
-
- name: storage.modifier.java-or-c
|
20
|
-
match: \b(const|extern|register|restrict|static|volatile|inline)\b
|
21
|
-
- name: constant.language.java-or-c
|
22
|
-
match: \b(NULL|true|false|TRUE|FALSE)\b
|
23
|
-
- name: keyword.operator.sizeof.java-or-c
|
24
|
-
match: \b(sizeof)\b
|
25
|
-
- name: constant.numeric.java-or-c
|
26
|
-
match: \b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\.?[0-9]*)|(\.[0-9]+))((e|E)(\+|-)?[0-9]+)?)(L|l|UL|ul|u|U|F|f|ll|LL|ull|ULL)?\b
|
27
|
-
- name: string.quoted.double.java-or-c
|
28
|
-
endCaptures:
|
29
|
-
"0":
|
30
|
-
name: punctuation.definition.string.end.java-or-c
|
31
|
-
begin: "\""
|
32
|
-
beginCaptures:
|
33
|
-
"0":
|
34
|
-
name: punctuation.definition.string.begin.java-or-c
|
35
|
-
end: "\""
|
36
|
-
patterns:
|
37
|
-
- name: constant.character.escape.antlr
|
38
|
-
match: \\.
|
39
|
-
- name: string.quoted.single.java-or-c
|
40
|
-
endCaptures:
|
41
|
-
"0":
|
42
|
-
name: punctuation.definition.string.end.java-or-c
|
43
|
-
begin: "'"
|
44
|
-
beginCaptures:
|
45
|
-
"0":
|
46
|
-
name: punctuation.definition.string.begin.java-or-c
|
47
|
-
end: "'"
|
48
|
-
patterns:
|
49
|
-
- name: constant.character.escape.antlr
|
50
|
-
match: \\.
|
51
|
-
- name: support.constant.eof-char.antlr
|
52
|
-
match: \bEOF_CHAR\b
|
53
|
-
- include: "#comments"
|
54
|
-
comments:
|
55
|
-
patterns:
|
56
|
-
- name: comment.block.antlr
|
57
|
-
captures:
|
58
|
-
"0":
|
59
|
-
name: punctuation.definition.comment.antlr
|
60
|
-
begin: /\*
|
61
|
-
end: \*/
|
62
|
-
- name: comment.line.double-slash.antlr
|
63
|
-
captures:
|
64
|
-
"1":
|
65
|
-
name: punctuation.definition.comment.antlr
|
66
|
-
match: (//).*$\n?
|
67
|
-
strings:
|
68
|
-
patterns:
|
69
|
-
- name: string.quoted.double.antlr
|
70
|
-
endCaptures:
|
71
|
-
"0":
|
72
|
-
name: punctuation.definition.string.end.antlr
|
73
|
-
begin: "\""
|
74
|
-
beginCaptures:
|
75
|
-
"0":
|
76
|
-
name: punctuation.definition.string.begin.antlr
|
77
|
-
end: "\""
|
78
|
-
patterns:
|
79
|
-
- name: constant.character.escape.antlr
|
80
|
-
match: \\(u\h{4}|.)
|
81
|
-
- name: string.quoted.single.antlr
|
82
|
-
endCaptures:
|
83
|
-
"0":
|
84
|
-
name: punctuation.definition.string.end.antlr
|
85
|
-
begin: "'"
|
86
|
-
beginCaptures:
|
87
|
-
"0":
|
88
|
-
name: punctuation.definition.string.begin.antlr
|
89
|
-
end: "'"
|
90
|
-
patterns:
|
91
|
-
- name: constant.character.escape.antlr
|
92
|
-
match: \\(u\h{4}|.)
|
93
|
-
uuid: ACABDECD-4F22-47D9-A5F4-DBA957A2A1CC
|
94
|
-
patterns:
|
95
|
-
- include: "#strings"
|
96
|
-
- include: "#comments"
|
97
|
-
- name: meta.options.antlr
|
98
|
-
begin: \boptions\b
|
99
|
-
beginCaptures:
|
100
|
-
"0":
|
101
|
-
name: keyword.other.options.antlr
|
102
|
-
end: (?<=\})
|
103
|
-
patterns:
|
104
|
-
- name: meta.options-block.antlr
|
105
|
-
captures:
|
106
|
-
"0":
|
107
|
-
name: punctuation.section.options.antlr
|
108
|
-
begin: \{
|
109
|
-
end: \}
|
110
|
-
patterns:
|
111
|
-
- include: "#strings"
|
112
|
-
- include: "#comments"
|
113
|
-
- name: constant.numeric.antlr
|
114
|
-
match: \b\d+\b
|
115
|
-
- name: variable.other.option.antlr
|
116
|
-
match: \b(k|charVocabulary|filter|greedy|paraphrase|exportVocab|buildAST|defaultErrorHandler|language|namespace|namespaceStd|namespaceAntlr|genHashLines)\b
|
117
|
-
- name: constant.language.boolean.antlr
|
118
|
-
match: \b(true|false)\b
|
119
|
-
- name: meta.definition.class.antlr
|
120
|
-
captures:
|
121
|
-
"1":
|
122
|
-
name: storage.type.antlr
|
123
|
-
"2":
|
124
|
-
name: entity.name.type.class.antlr
|
125
|
-
begin: ^(class)\b\s+(\w+)
|
126
|
-
end: ;
|
127
|
-
patterns:
|
128
|
-
- name: meta.definition.class.extends.antlr
|
129
|
-
captures:
|
130
|
-
"1":
|
131
|
-
name: storage.modifier.antlr
|
132
|
-
begin: \b(extends)\b\s+
|
133
|
-
end: (?=;)
|
134
|
-
patterns:
|
135
|
-
- name: support.class.antlr
|
136
|
-
match: \b(Parser|Lexer|TreeWalker)\b
|
137
|
-
- name: storage.modifier.antlr
|
138
|
-
match: ^protected\b
|
139
|
-
- name: entity.name.type.token.antlr
|
140
|
-
match: ^[[:upper:]_][[:upper:][:digit:]_]*\b
|
141
|
-
- name: meta.rule.antlr
|
142
|
-
captures:
|
143
|
-
"1":
|
144
|
-
name: entity.name.function.rule.antlr
|
145
|
-
"2":
|
146
|
-
name: keyword.control.antlr
|
147
|
-
match: ^(\w+)(?:\s+(returns\b))?
|
148
|
-
- name: constant.other.token.antlr
|
149
|
-
match: \b[[:upper:]_][[:upper:][:digit:]_]*\b
|
150
|
-
- include: "#nested-curly"
|
151
|
-
keyEquivalent: ^~A
|