ultraviolet1x 0.12.2 → 0.13.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -1
- data/Gemfile.lock +2 -2
- data/README.rdoc +1 -6
- data/lib/uv.rb +1 -1
- data/lib/uv/version.rb +1 -1
- data/spec/ultraviolet_spec.rb +0 -9
- metadata +52 -195
- 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/broken/markdown.syntax +0 -543
- data/syntax/broken/php.syntax +0 -1253
- data/syntax/buggy/nemerle.syntax +0 -74
- data/syntax/build.syntax +0 -53
- data/syntax/bulletin_board.syntax +0 -287
- data/syntax/c++.syntax +0 -186
- data/syntax/c.syntax +0 -414
- data/syntax/cake.syntax +0 -55
- data/syntax/camlp4.syntax +0 -36
- data/syntax/cm.syntax +0 -32
- data/syntax/coffeescript.syntax +0 -216
- 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/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/old/YAML.yaml +0 -160
- data/syntax/old/txt2tags.yaml +0 -139
- data/syntax/opengl.syntax +0 -14
- data/syntax/pascal.syntax +0 -77
- data/syntax/perl.syntax +0 -1113
- 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/sass.syntax +0 -45
- 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/syntax/applescript.syntax
DELETED
@@ -1,384 +0,0 @@
|
|
1
|
-
---
|
2
|
-
name: AppleScript
|
3
|
-
fileTypes:
|
4
|
-
- applescript
|
5
|
-
- script editor
|
6
|
-
scopeName: source.applescript
|
7
|
-
repository:
|
8
|
-
textmate:
|
9
|
-
patterns:
|
10
|
-
- name: support.class.textmate.applescript
|
11
|
-
match: \b(print settings)\b
|
12
|
-
- name: support.function.textmate.applescript
|
13
|
-
match: \b(get url|insert|reload bundles)\b
|
14
|
-
standard-suite:
|
15
|
-
patterns:
|
16
|
-
- name: support.class.standard-suite.applescript
|
17
|
-
match: \b(colors?|documents?|items?|windows?)\b
|
18
|
-
- name: support.function.standard-suite.applescript
|
19
|
-
match: \b(close|count|delete|duplicate|exists|make|move|open|print|quit|save|activate|select|data size)\b
|
20
|
-
- name: support.constant.standard-suite.applescript
|
21
|
-
match: \b(name|frontmost|version)\b
|
22
|
-
- name: support.variable.standard-suite.applescript
|
23
|
-
match: \b(selection)\b
|
24
|
-
- name: support.class.text-suite.applescript
|
25
|
-
match: \b(attachments?|attribute runs?|characters?|paragraphs?|texts?|words?)\b
|
26
|
-
tell-blocks:
|
27
|
-
patterns:
|
28
|
-
- name: meta.tell-block.application.textmate.applescript
|
29
|
-
captures:
|
30
|
-
"1":
|
31
|
-
name: keyword.control.applescript
|
32
|
-
begin: ^\s*(tell)\s+(?=app(lication)?\s+"(?i:textmate)")(?!.*\bto\b)
|
33
|
-
end: ^\s*(end tell)
|
34
|
-
patterns:
|
35
|
-
- include: "#textmate"
|
36
|
-
- include: "#standard-suite"
|
37
|
-
- include: $self
|
38
|
-
comment: tell Textmate
|
39
|
-
- name: meta.tell-block.application.finder.applescript
|
40
|
-
captures:
|
41
|
-
"1":
|
42
|
-
name: keyword.control.applescript
|
43
|
-
begin: ^\s*(tell)\s+(?=app(lication)?\s+"(?i:finder)")(?!.*\bto\b)
|
44
|
-
end: ^\s*(end tell)
|
45
|
-
patterns:
|
46
|
-
- include: "#finder"
|
47
|
-
- include: "#standard-suite"
|
48
|
-
- include: $self
|
49
|
-
comment: tell Finder
|
50
|
-
- name: meta.tell-block.application.system-events.applescript
|
51
|
-
captures:
|
52
|
-
"1":
|
53
|
-
name: keyword.control.applescript
|
54
|
-
begin: ^\s*(tell)\s+(?=app(lication)?\s+"(?i:system events)")(?!.*\bto\b)
|
55
|
-
end: ^\s*(end tell)
|
56
|
-
patterns:
|
57
|
-
- include: "#system-events"
|
58
|
-
- include: "#standard-suite"
|
59
|
-
- include: $self
|
60
|
-
comment: tell System Events
|
61
|
-
- name: meta.tell-block.application.itunes.applescript
|
62
|
-
captures:
|
63
|
-
"1":
|
64
|
-
name: keyword.control.applescript
|
65
|
-
begin: ^\s*(tell)\s+(?=app(lication)?\s+"(?i:itunes)")(?!.*\bto\b)
|
66
|
-
end: ^\s*(end tell)
|
67
|
-
patterns:
|
68
|
-
- include: "#itunes"
|
69
|
-
- include: "#standard-suite"
|
70
|
-
- include: $self
|
71
|
-
comment: tell iTunes
|
72
|
-
- name: meta.tell-block.application.generic.applescript
|
73
|
-
captures:
|
74
|
-
"1":
|
75
|
-
name: keyword.control.applescript
|
76
|
-
begin: ^\s*(tell)\s+(?=app(lication)?\b)(?!.*\bto\b)
|
77
|
-
end: ^\s*(end tell)
|
78
|
-
patterns:
|
79
|
-
- include: "#standard-suite"
|
80
|
-
- include: $self
|
81
|
-
comment: tell generic application
|
82
|
-
- name: meta.tell-block.generic.applescript
|
83
|
-
captures:
|
84
|
-
"1":
|
85
|
-
name: keyword.control.applescript
|
86
|
-
begin: ^\s*(tell)\s+(?!.*\bto\b)
|
87
|
-
end: ^\s*(end tell)
|
88
|
-
patterns:
|
89
|
-
- include: $self
|
90
|
-
comment: generic tell block
|
91
|
-
comments:
|
92
|
-
patterns:
|
93
|
-
- name: comment.line.double-dash.applescript
|
94
|
-
captures:
|
95
|
-
"1":
|
96
|
-
name: punctuation.definition.comment.applescript
|
97
|
-
match: (--).*$\n?
|
98
|
-
- name: comment.block.applescript
|
99
|
-
captures:
|
100
|
-
"0":
|
101
|
-
name: punctuation.definition.comment.applescript
|
102
|
-
begin: \(\*
|
103
|
-
end: \*\)
|
104
|
-
inline:
|
105
|
-
patterns:
|
106
|
-
- include: "#comments"
|
107
|
-
- include: "#data-structures"
|
108
|
-
- include: "#built-in"
|
109
|
-
- include: "#standardadditions"
|
110
|
-
data-structures:
|
111
|
-
patterns:
|
112
|
-
- name: meta.data.array.applescript
|
113
|
-
captures:
|
114
|
-
"1":
|
115
|
-
name: punctuation.section.array.applescript
|
116
|
-
begin: (\{)
|
117
|
-
end: (\})
|
118
|
-
patterns:
|
119
|
-
- captures:
|
120
|
-
"1":
|
121
|
-
name: constant.other.key.applescript
|
122
|
-
"2":
|
123
|
-
name: meta.identifier.applescript
|
124
|
-
"3":
|
125
|
-
name: punctuation.definition.identifier.applescript
|
126
|
-
"4":
|
127
|
-
name: punctuation.definition.identifier.applescript
|
128
|
-
"5":
|
129
|
-
name: punctuation.separator.key-value.applescript
|
130
|
-
match: ([A-Za-z]+|((\|)[^|\n]*(\|)))\s*(:)
|
131
|
-
- name: punctuation.separator.key-value.applescript
|
132
|
-
match: ":"
|
133
|
-
- name: punctuation.separator.array.applescript
|
134
|
-
match: ","
|
135
|
-
- include: "#inline"
|
136
|
-
comment: "\n\
|
137
|
-
\t\t\t\t\t\twe cannot necessarily distinguish \"records\" from\n\
|
138
|
-
\t\t\t\t\t\t\"arrays\", and so this could be either\n\
|
139
|
-
\t\t\t\t\t"
|
140
|
-
- name: string.quoted.double.application-name.applescript
|
141
|
-
captures:
|
142
|
-
"1":
|
143
|
-
name: punctuation.definition.string.applescript
|
144
|
-
begin: ((?<=application )"|(?<=app )")
|
145
|
-
end: (")
|
146
|
-
patterns:
|
147
|
-
- name: constant.character.escape.applescript
|
148
|
-
match: \\.
|
149
|
-
- name: string.quoted.double.applescript
|
150
|
-
captures:
|
151
|
-
"1":
|
152
|
-
name: punctuation.definition.string.applescript
|
153
|
-
begin: (")
|
154
|
-
end: (")
|
155
|
-
patterns:
|
156
|
-
- name: constant.character.escape.applescript
|
157
|
-
match: \\.
|
158
|
-
- name: meta.identifier.applescript
|
159
|
-
captures:
|
160
|
-
"1":
|
161
|
-
name: punctuation.definition.identifier.applescript
|
162
|
-
"2":
|
163
|
-
name: punctuation.definition.identifier.applescript
|
164
|
-
match: (\|)[^|\n]*(\|)
|
165
|
-
- name: meta.data.applescript
|
166
|
-
captures:
|
167
|
-
"6":
|
168
|
-
name: keyword.operator.applescript
|
169
|
-
"7":
|
170
|
-
name: support.class.built-in.applescript
|
171
|
-
"1":
|
172
|
-
name: punctuation.definition.data.applescript
|
173
|
-
"2":
|
174
|
-
name: support.class.built-in.applescript
|
175
|
-
"3":
|
176
|
-
name: storage.type.utxt.applescript
|
177
|
-
"4":
|
178
|
-
name: string.unquoted.data.applescript
|
179
|
-
"5":
|
180
|
-
name: punctuation.definition.data.applescript
|
181
|
-
match: "(\xC2\xAB)(data) (utxt|utf8)([0-9A-Fa-f]*)(\xC2\xBB)(?: (as) (Unicode text))?"
|
182
|
-
system-events:
|
183
|
-
patterns:
|
184
|
-
- name: support.class.system-events.audio-file.applescript
|
185
|
-
match: \b(audio (data|file))\b
|
186
|
-
- name: support.class.system-events.disk-folder-file.applescript
|
187
|
-
match: \b(alias(es)?|(Classic|local|network|system|user) domain objects?|disk( item)?s?|domains?|file( package)?s?|folders?|items?)\b
|
188
|
-
- name: support.function.system-events.disk-folder-file.applescript
|
189
|
-
match: \b(delete|open|move)\b
|
190
|
-
- name: support.class.system-events.folder-actions.applescript
|
191
|
-
match: \b(folder actions?|scripts?)\b
|
192
|
-
- name: support.function.system-events.folder-actions.applescript
|
193
|
-
match: \b(attach action to|attached scripts|edit action of|remove action from)\b
|
194
|
-
- name: support.class.system-events.movie-file.applescript
|
195
|
-
match: \b(movie data|movie file)\b
|
196
|
-
- name: support.function.system-events.power.applescript
|
197
|
-
match: \b(log out|restart|shut down|sleep)\b
|
198
|
-
- name: support.class.system-events.processes.applescript
|
199
|
-
match: \b(((application |desk accessory )?process|(check|combo )?box)(es)?|(action|attribute|browser|(busy|progress|relevance) indicator|color well|column|drawer|group|grow area|image|incrementor|list|menu( bar)?( item)?|(menu |pop up |radio )?button|outline|(radio|tab|splitter) group|row|scroll (area|bar)|sheet|slider|splitter|static text|table|text (area|field)|tool bar|UI element|window)s?)\b
|
200
|
-
- name: support.function.system-events.processes.applescript
|
201
|
-
match: \b(click|key code|keystroke|perform|select)\b
|
202
|
-
- name: support.class.system-events.property-list.applescript
|
203
|
-
match: \b(property list (file|item))\b
|
204
|
-
- name: support.class.system-events.quicktime-file.applescript
|
205
|
-
match: \b(annotation|QuickTime (data|file)|track)s?\b
|
206
|
-
- name: support.function.system-events.system-events.applescript
|
207
|
-
match: \b((abort|begin|end) transaction)\b
|
208
|
-
- name: support.class.system-events.xml.applescript
|
209
|
-
match: \b(XML (attribute|data|element|file)s?)\b
|
210
|
-
- name: support.class.sytem-events.other.applescript
|
211
|
-
match: \b(print settings|users?|login items?)\b
|
212
|
-
itunes:
|
213
|
-
patterns:
|
214
|
-
- name: support.class.itunes.applescript
|
215
|
-
match: \b(artwork|application|encoder|EQ preset|item|source|visual|(EQ |browser )?window|((audio CD|device|shared|URL|file) )?track|playlist window|((audio CD|device|radio tuner|library|folder|user) )?playlist)s?\b
|
216
|
-
- name: support.function.itunes.applescript
|
217
|
-
match: \b(add|back track|convert|fast forward|(next|previous) track|pause|play(pause)?|refresh|resume|rewind|search|stop|update|eject|subscribe|update(Podcast|AllPodcasts)|download)\b
|
218
|
-
- name: support.constant.itunes.applescript
|
219
|
-
match: \b(current (playlist|stream (title|URL)|track)|player state)\b
|
220
|
-
- name: support.variable.itunes.applescript
|
221
|
-
match: \b(current (encoder|EQ preset|visual)|EQ enabled|fixed indexing|full screen|mute|player position|sound volume|visuals enabled|visual size)\b
|
222
|
-
standardadditions:
|
223
|
-
patterns:
|
224
|
-
- name: support.class.standardadditions.user-interaction.applescript
|
225
|
-
match: \b((alert|dialog) reply)\b
|
226
|
-
- name: support.class.standardadditions.file.applescript
|
227
|
-
match: \b(file information)\b
|
228
|
-
- name: support.class.standardadditions.miscellaneous.applescript
|
229
|
-
match: \b(POSIX files?|system information|volume settings)\b
|
230
|
-
- name: support.class.standardadditions.internet.applescript
|
231
|
-
match: \b(URLs?|internet address(es)?|web pages?|FTP items?)\b
|
232
|
-
- name: support.function.standardadditions.file.applescript
|
233
|
-
match: \b(info for|list (disks|folder)|mount volume|path to( resource)?)\b
|
234
|
-
- name: support.function.standardadditions.user-interaction.applescript
|
235
|
-
match: \b(beep|choose (application|color|file( name)?|folder|from list|remote application|URL)|delay|display (alert|dialog)|say)\b
|
236
|
-
- name: support.function.standardadditions.string.applescript
|
237
|
-
match: \b(ASCII (character|number)|localized string|offset|summarize)\b
|
238
|
-
- name: support.function.standardadditions.clipboard.applescript
|
239
|
-
match: \b(set the clipboard to|the clipboard|clipboard info)\b
|
240
|
-
- name: support.function.standardadditions.file-i-o.applescript
|
241
|
-
match: \b(open for access|close access|read|write|get eof|set eof)\b
|
242
|
-
- name: support.function.standardadditions.scripting.applescript
|
243
|
-
match: \b((load|store|run) script|scripting components)\b
|
244
|
-
- name: support.function.standardadditions.miscellaneous.applescript
|
245
|
-
match: \b(current date|do shell script|get volume settings|random number|round|set volume|system attribute|system info|time to GMT)\b
|
246
|
-
- name: support.function.standardadditions.folder-actions.applescript
|
247
|
-
match: \b(opening folder|(closing|moving) folder window for|adding folder items to|removing folder items from)\b
|
248
|
-
- name: support.function.standardadditions.internet.applescript
|
249
|
-
match: \b(open location|handle CGI request)\b
|
250
|
-
built-in:
|
251
|
-
patterns:
|
252
|
-
- name: punctuation.separator.continuation.line.applescript
|
253
|
-
match: !binary |
|
254
|
-
wqw=
|
255
|
-
|
256
|
-
- name: keyword.operator.applescript
|
257
|
-
match: "\\b((a )?(ref( to)|reference to)|(does not|doesn't) (come (before|after)|contain|equal)|(start|begin)s? with|comes (before|after)|is(n't| not)?( (in|contained by|(less than|greater than)( or equal( to)?)?|equal( to)?))?|ends? with|contains?|equals?|than|and|div|mod|not|or|as)\\b|(\xE2\x89\xA0|\xE2\x89\xA5|\xE2\x89\xA4|>=|<=|\xC3\xB7|&|=|>|<|\\*|\\+|-|/|\\^)"
|
258
|
-
- captures:
|
259
|
-
"1":
|
260
|
-
name: keyword.control.applescript
|
261
|
-
match: (?<=^|then|to)\s*\b(return|prop(erty)?)\b
|
262
|
-
comment: make sure that "return", "property", and other keywords are not preceded by something else, to disambiguate
|
263
|
-
- name: punctuation.separator.key-value.property.applescript
|
264
|
-
match: ":"
|
265
|
-
comment: "the : in property assignments"
|
266
|
-
- name: punctuation.section.group.applescript
|
267
|
-
match: "[()]"
|
268
|
-
comment: the parentheses in groups
|
269
|
-
- name: keyword.control.applescript
|
270
|
-
match: \b(on error|try|to|on|tell|if|then|else if|else|repeat( (while|until|with))?|using terms from|from|through|thru|with timeout|times|end (tell|repeat|if|timeout|using terms from|error|try)|end|my|where|whose|considering|ignoring|global|local|exit|continue|returning|set|copy|put)\b
|
271
|
-
- name: keyword.control.reference.applescript
|
272
|
-
match: \b(every|some|index|named|from|to|through|thru|before|(in )?front of|after receiving|after|(in )?back of|beginning of|end of|in|of|first|second|third|fourth|fifth|sixth|seventh|eighth|ninth|tenth|\d+(st|nd|rd|th)|last|front|back|middle)\b
|
273
|
-
- name: constant.other.text-styles.applescript
|
274
|
-
match: \b(all (caps|lowercase)|bold|condensed|expanded|hidden|italic|outline|plain|shadow|small caps|strikethrough|(sub|super)script|underline)\b
|
275
|
-
- name: constant.language.boolean.applescript
|
276
|
-
match: \b(?i:true|false|yes|no)\b
|
277
|
-
comment: "yes/no can\xE2\x80\x99t always be used as booleans, e.g. in an if() expression. But they work e.g. for boolean arguments."
|
278
|
-
- name: constant.language.null.applescript
|
279
|
-
match: \b(null)\b
|
280
|
-
- name: constant.other.date-time.applescript
|
281
|
-
match: \b(Jan(uary)?|Feb(ruary)?|Mar(ch)?|Apr(il)?|May|Jun(e)?|Jul(y)?|Aug(ust)?|Sep(tember)?|Oct(ober)?|Nov(ember)?|Dec(ember)?|weekdays?|Sunday|Monday|Tuesday|Wednesday|Thursday|Friday|Saturday)\b
|
282
|
-
- name: constant.other.considering-ignoring-attributes.applescript
|
283
|
-
match: \b(?<=considering|ignoring) (application responses|current application|case|diacriticals|expansion|hyphens|punctuation|white space)\b
|
284
|
-
comment: these are used in considering/ignoring statements
|
285
|
-
- name: constant.other.characters.applescript
|
286
|
-
match: \b(space|return|tab)\b
|
287
|
-
- name: constant.other.miscellaneous.applescript
|
288
|
-
match: \b(current application|it|me|version|result|pi|AppleScript)\b
|
289
|
-
- name: variable.language.applescript
|
290
|
-
match: \b(text item delimiters|print length|print depth)\b
|
291
|
-
- name: support.function.built-in.applescript
|
292
|
-
match: \b(count (each|every)|number of|error|get|run)\b
|
293
|
-
- name: support.class.built-in.applescript
|
294
|
-
match: \b(booleans?|integers?|reals?|numbers?|(linked )?lists?|vectors?|records?|items?|scripts?|events?|propert(y|ies)|constants?|prepositions?|reference forms?|handlers?|data|characters?|writing code( infos?)?|missing values?|references?|anything|missing value|upper case|app(lications?)?|text items?|((international|styled( Clipboard|Unicode)?|Unicode) )?text|(C | encoded| Pascal )?strings?|(type )?class(es)?|RGB colors?|pictures?|sounds?|versions?|file specifications?|alias(es)?|machines?|zones?|keystrokes?|seconds|dates?|months?|(cubic |square |cubic centi|square kilo|centi|kilo)met(er|re)s|(square |cubic )?(yards|feet)|(square )?miles|(cubic )?inches|lit(re|er)s|gallons|quarts|(kilo)?grams|ounces|pounds|degrees (Celsius|Fahrenheit|Kelvin))\b
|
295
|
-
- name: constant.numeric.applescript
|
296
|
-
match: \b\d+((\.(\d+\b)?)?(?i:e\+?\d*\b)?|\b)
|
297
|
-
finder:
|
298
|
-
patterns:
|
299
|
-
- name: support.class.finder.items.applescript
|
300
|
-
match: \b(item|container|(computer|disk|trash)-object|disk|folder|((alias|application|document|internet location) )?file|clipping|package)s?\b
|
301
|
-
- name: support.class.finder.window-classes.applescript
|
302
|
-
match: \b((Finder|desktop|information|preferences|clipping) )windows?\b
|
303
|
-
- name: support.class.finder.type-definitions.applescript
|
304
|
-
match: \b(preferences|(icon|column|list) view options|(label|column|alias list)s?)\b
|
305
|
-
- name: support.function.finder.items.applescript
|
306
|
-
match: \b(copy|find|sort|clean up|eject|empty( trash)|erase|reveal|update)\b
|
307
|
-
- name: support.constant.finder.applescript
|
308
|
-
match: \b(insertion location|product version|startup disk|desktop|trash|home|computer container|finder preferences)\b
|
309
|
-
- name: support.variable.finder.applescript
|
310
|
-
match: \b(visible)\b
|
311
|
-
blocks:
|
312
|
-
patterns:
|
313
|
-
- name: meta.script.applescript
|
314
|
-
captures:
|
315
|
-
"1":
|
316
|
-
name: keyword.control.script.applescript
|
317
|
-
"2":
|
318
|
-
name: entity.name.type.script-object.applescript
|
319
|
-
begin: ^\s*(script)\s+(\w+)
|
320
|
-
end: ^\s*(end script)
|
321
|
-
patterns:
|
322
|
-
- include: $self
|
323
|
-
- name: meta.function.with-parentheses.applescript
|
324
|
-
captures:
|
325
|
-
"1":
|
326
|
-
name: keyword.control.on.applescript
|
327
|
-
"2":
|
328
|
-
name: entity.name.function.handler.applescript
|
329
|
-
"3":
|
330
|
-
name: punctuation.definition.parameters.applescript
|
331
|
-
"4":
|
332
|
-
name: variable.parameter.handler.applescript
|
333
|
-
"5":
|
334
|
-
name: punctuation.definition.parameters.applescript
|
335
|
-
begin: "^(?x)\n\
|
336
|
-
\t\t\t\t\t\t\\s*(to|on)\\s+ \t\t\t\t\t# \"on\" or \"to\"\n\
|
337
|
-
\t\t\t\t\t\t([A-Za-z][A-Za-z0-9_]*)\t\t\t# function name\n\
|
338
|
-
\t\t\t\t\t\t(\\()\t\t\t\t\t\t\t# opening paren\n\
|
339
|
-
\t\t\t\t\t\t\t(?:(\\w+(?:\\s*,\\s*\\w+)*))?\t# parameters\n\
|
340
|
-
\t\t\t\t\t\t(\\))\t\t\t\t\t\t\t# closing paren\n\
|
341
|
-
\t\t\t\t\t"
|
342
|
-
end: "^\\s*(end)(?: (\\2))?\\s*$"
|
343
|
-
patterns:
|
344
|
-
- include: $self
|
345
|
-
comment: "\n\
|
346
|
-
\t\t\t\t\t\tThis is not a very well-designed rule. For now,\n\
|
347
|
-
\t\t\t\t\t\twe can leave it like this though, as it sorta works.\n\
|
348
|
-
\t\t\t\t\t"
|
349
|
-
- name: meta.function.prepositional.applescript
|
350
|
-
captures:
|
351
|
-
"1":
|
352
|
-
name: keyword.control.on.applescript
|
353
|
-
"2":
|
354
|
-
name: entity.name.function.handler.applescript
|
355
|
-
begin: ^\s*(on)\s+(\w+)(?=\s+(above|against|apart from|around|aside from|at|below|beneath|beside|between|by|for|from|instead of|into|on|onto|out of|over|thru|under)\s+)
|
356
|
-
end: "^\\s*(end)(?: (\\2))?\\s*$"
|
357
|
-
patterns:
|
358
|
-
- captures:
|
359
|
-
"1":
|
360
|
-
name: keyword.control.preposition.applescript
|
361
|
-
"2":
|
362
|
-
name: variable.parameter.handler.applescript
|
363
|
-
match: \b(above|against|apart from|around|aside from|at|below|beneath|beside|between|by|for|from|instead of|into|on|onto|out of|over|thru|under)\s+(\w+)\b
|
364
|
-
- include: $self
|
365
|
-
- include: "#tell-blocks"
|
366
|
-
uuid: 777CF925-14B9-428E-B07B-17FAAB8FA27E
|
367
|
-
foldingStartMarker: "(?x)\n\
|
368
|
-
\t\t^\\s*\n\
|
369
|
-
\t\t(tell \\s+ (?! .* \\bto\\b) .*\n\
|
370
|
-
\t\t|using \\s+ terms \\s+ from \\s+ .*\n\
|
371
|
-
\t\t|if\\b .* \\bthen\\b .*\n\
|
372
|
-
\t\t|repeat\\b .*\n\
|
373
|
-
\t\t|( on | to )\\b (?!\\s+ error) .*\n\
|
374
|
-
\t\t|try\n\
|
375
|
-
\t\t|with \\s+ timeout .*\n\
|
376
|
-
\t\t|script\\b .*\n\
|
377
|
-
\t\t|( considering | ignoring )\\b .*\n\
|
378
|
-
\t\t)\\s*$\n\
|
379
|
-
\t"
|
380
|
-
patterns:
|
381
|
-
- include: "#blocks"
|
382
|
-
- include: "#inline"
|
383
|
-
foldingStopMarker: ^\s*end\b.*$
|
384
|
-
keyEquivalent: ^~A
|
data/syntax/asp.syntax
DELETED
@@ -1,70 +0,0 @@
|
|
1
|
-
---
|
2
|
-
name: ASP
|
3
|
-
fileTypes:
|
4
|
-
- asa
|
5
|
-
scopeName: source.asp
|
6
|
-
uuid: 291022B4-6B1D-11D9-90EB-000D93589AF6
|
7
|
-
patterns:
|
8
|
-
- name: meta.function.asp
|
9
|
-
captures:
|
10
|
-
"1":
|
11
|
-
name: storage.type.function.asp
|
12
|
-
"2":
|
13
|
-
name: entity.name.function.asp
|
14
|
-
"3":
|
15
|
-
name: punctuation.definition.parameters.asp
|
16
|
-
"4":
|
17
|
-
name: variable.parameter.function.asp
|
18
|
-
"5":
|
19
|
-
name: punctuation.definition.parameters.asp
|
20
|
-
match: ^\s*((?i:function|sub))\s*([a-zA-Z_]\w*)\s*(\()([^)]*)(\)).*\n?
|
21
|
-
- name: comment.line.apostrophe.asp
|
22
|
-
captures:
|
23
|
-
"1":
|
24
|
-
name: punctuation.definition.comment.asp
|
25
|
-
match: (').*$\n?
|
26
|
-
- name: keyword.control.asp
|
27
|
-
match: (?i:\b(If|Then|Else|ElseIf|End If|While|Wend|For|To|Each|Case|Select|End Select|Return|Continue|Do|Until|Loop|Next|With|Exit Do|Exit For|Exit Function|Exit Property|Exit Sub)\b)
|
28
|
-
- name: keyword.operator.asp
|
29
|
-
match: (?i:\b(Mod|And|Not|Or|Xor)\b)
|
30
|
-
- name: storage.type.asp
|
31
|
-
match: (?i:\b(Call|Class|Const|Dim|Redim|Function|Sub|End sub|End Function|Set|Let|Get|New|Randomize|Option Explicit|On Error Resume Next|On Error GoTo)\b)
|
32
|
-
- name: storage.modifier.asp
|
33
|
-
match: (?i:\b(Private|Public|Default)\b)
|
34
|
-
- name: constant.language.asp
|
35
|
-
match: (?i:\b(Empty|False|Nothing|Null|True)\b)
|
36
|
-
- name: string.quoted.double.asp
|
37
|
-
endCaptures:
|
38
|
-
"0":
|
39
|
-
name: punctuation.definition.string.end.asp
|
40
|
-
begin: "\""
|
41
|
-
beginCaptures:
|
42
|
-
"0":
|
43
|
-
name: punctuation.definition.string.begin.asp
|
44
|
-
end: "\"(?!\")"
|
45
|
-
patterns:
|
46
|
-
- name: constant.character.escape.apostrophe.asp
|
47
|
-
match: "\"\""
|
48
|
-
- name: variable.other.asp
|
49
|
-
captures:
|
50
|
-
"1":
|
51
|
-
name: punctuation.definition.variable.asp
|
52
|
-
match: (\$)[a-zA-Z_x7f-xff][a-zA-Z0-9_x7f-xff]*?\b
|
53
|
-
- name: support.class.asp
|
54
|
-
match: (?i:\b(Application|ObjectContext|Request|Response|Server|Session)\b)
|
55
|
-
- name: support.class.collection.asp
|
56
|
-
match: (?i:\b(Contents|StaticObjects|ClientCertificate|Cookies|Form|QueryString|ServerVariables)\b)
|
57
|
-
- name: support.constant.asp
|
58
|
-
match: (?i:\b(TotalBytes|Buffer|CacheControl|Charset|ContentType|Expires|ExpiresAbsolute|IsClientConnected|PICS|Status|ScriptTimeout|CodePage|LCID|SessionID|Timeout)\b)
|
59
|
-
- name: support.function.asp
|
60
|
-
match: (?i:\b(Lock|Unlock|SetAbort|SetComplete|BianryRead|AddHeader|AppendToLog|BinaryWrite|Clear|End|Flush|Redirect|Write|CreateObject|HTMLEncode|MapPath|URLEncode|Abandon)\b)
|
61
|
-
- name: support.function.event.asp
|
62
|
-
match: (?i:\b(Application_OnEnd|Application_OnStart|OnTransactionAbort|OnTransactionCommit|Session_OnEnd|Session_OnStart)\b)
|
63
|
-
- name: support.function.vb.asp
|
64
|
-
match: (?i:\b(Array|Add|Asc|Atn|CBool|CByte|CCur|CDate|CDbl|Chr|CInt|CLng|Conversions|Cos|CreateObject|CSng|CStr|Date|DateAdd|DateDiff|DatePart|DateSerial|DateValue|Day|Derived|Math|Escape|Eval|Exists|Exp|Filter|FormatCurrency|FormatDateTime|FormatNumber|FormatPercent|GetLocale|GetObject|GetRef|Hex|Hour|InputBox|InStr|InStrRev|Int|Fix|IsArray|IsDate|IsEmpty|IsNull|IsNumeric|IsObject|Item|Items|Join|Keys|LBound|LCase|Left|Len|LoadPicture|Log|LTrim|RTrim|Trim|Maths|Mid|Minute|Month|MonthName|MsgBox|Now|Oct|Remove|RemoveAll|Replace|RGB|Right|Rnd|Round|ScriptEngine|ScriptEngineBuildVersion|ScriptEngineMajorVersion|ScriptEngineMinorVersion|Second|SetLocale|Sgn|Sin|Space|Split|Sqr|StrComp|String|StrReverse|Tan|Time|Timer|TimeSerial|TimeValue|TypeName|UBound|UCase|Unescape|VarType|Weekday|WeekdayName|Year)\b)
|
65
|
-
- name: constant.numeric.asp
|
66
|
-
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)?\b
|
67
|
-
- name: support.type.vb.asp
|
68
|
-
match: (?i:\b(vbtrue|fvbalse|vbcr|vbcrlf|vbformfeed|vblf|vbnewline|vbnullchar|vbnullstring|vbtab|vbverticaltab|vbbinarycompare|vbtextcomparevbsunday|vbmonday|vbtuesday|vbwednesday|vbthursday|vbfriday|vbsaturday|vbusesystemdayofweek|vbfirstjan1|vbfirstfourdays|vbfirstfullweek|vbgeneraldate|vblongdate|vbshortdate|vblongtime|vbshorttime|vbobjecterror|vbEmpty|vbNull|vbInteger|vbLong|vbSingle|vbDouble|vbCurrency|vbDate|vbString|vbObject|vbError|vbBoolean|vbVariant|vbDataObject|vbDecimal|vbByte|vbArray)\b)
|
69
|
-
keyEquivalent: ^~A
|
70
|
-
comment: "ASP SCRIPTING DICTIONARY \xE2\x80\x93 By Rich Barton: Version 1.0 (based on PHP Scripting Dictionary by Justin French, Sune Foldager and Allan Odgaard) Note: .asp is handled by asp/html"
|