ultraviolet 0.10.2 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (178) hide show
  1. data/.gitmodules +3 -0
  2. data/Gemfile +10 -0
  3. data/Gemfile.lock +28 -0
  4. data/Rakefile +18 -47
  5. data/Readme.md +89 -0
  6. data/bin/theme2latexrender +0 -0
  7. data/bin/theme2xhtmlrender +0 -0
  8. data/bin/uv +0 -0
  9. data/lib/uv.rb +78 -75
  10. data/lib/uv/render_processor.rb +128 -119
  11. data/lib/uv/utility.rb +62 -62
  12. data/lib/uv/version.rb +3 -0
  13. data/spec/spec_helper.rb +2 -0
  14. data/spec/ultraviolet_spec.rb +13 -0
  15. data/ultraviolet.gemspec +15 -0
  16. metadata +123 -271
  17. data/History.txt +0 -25
  18. data/Manifest.txt +0 -233
  19. data/README.txt +0 -52
  20. data/syntax/actionscript.syntax +0 -97
  21. data/syntax/active4d.syntax +0 -276
  22. data/syntax/active4d_html.syntax +0 -311
  23. data/syntax/active4d_ini.syntax +0 -50
  24. data/syntax/active4d_library.syntax +0 -21
  25. data/syntax/ada.syntax +0 -33
  26. data/syntax/antlr.syntax +0 -151
  27. data/syntax/apache.syntax +0 -191
  28. data/syntax/applescript.syntax +0 -384
  29. data/syntax/asp.syntax +0 -70
  30. data/syntax/asp_vb.net.syntax +0 -129
  31. data/syntax/bibtex.syntax +0 -151
  32. data/syntax/blog_html.syntax +0 -41
  33. data/syntax/blog_markdown.syntax +0 -42
  34. data/syntax/blog_text.syntax +0 -27
  35. data/syntax/blog_textile.syntax +0 -27
  36. data/syntax/build.syntax +0 -53
  37. data/syntax/bulletin_board.syntax +0 -287
  38. data/syntax/c++.syntax +0 -109
  39. data/syntax/c.syntax +0 -326
  40. data/syntax/cake.syntax +0 -55
  41. data/syntax/camlp4.syntax +0 -36
  42. data/syntax/cm.syntax +0 -32
  43. data/syntax/coldfusion.syntax +0 -119
  44. data/syntax/context_free.syntax +0 -176
  45. data/syntax/cs.syntax +0 -59
  46. data/syntax/css.syntax +0 -195
  47. data/syntax/css_experimental.syntax +0 -1925
  48. data/syntax/csv.syntax +0 -68
  49. data/syntax/d.syntax +0 -142
  50. data/syntax/diff.syntax +0 -81
  51. data/syntax/dokuwiki.syntax +0 -204
  52. data/syntax/dot.syntax +0 -47
  53. data/syntax/doxygen.syntax +0 -43
  54. data/syntax/dylan.syntax +0 -62
  55. data/syntax/eiffel.syntax +0 -78
  56. data/syntax/erlang.syntax +0 -922
  57. data/syntax/f-script.syntax +0 -80
  58. data/syntax/fortran.syntax +0 -141
  59. data/syntax/fxscript.syntax +0 -142
  60. data/syntax/greasemonkey.syntax +0 -34
  61. data/syntax/gri.syntax +0 -83
  62. data/syntax/groovy.syntax +0 -191
  63. data/syntax/gtd.syntax +0 -22
  64. data/syntax/gtdalt.syntax +0 -143
  65. data/syntax/haml.syntax +0 -88
  66. data/syntax/haskell.syntax +0 -88
  67. data/syntax/html-asp.syntax +0 -27
  68. data/syntax/html.syntax +0 -362
  69. data/syntax/html_django.syntax +0 -36
  70. data/syntax/html_for_asp.net.syntax +0 -424
  71. data/syntax/html_mason.syntax +0 -119
  72. data/syntax/html_rails.syntax +0 -40
  73. data/syntax/html_tcl.syntax +0 -26
  74. data/syntax/icalendar.syntax +0 -32
  75. data/syntax/inform.syntax +0 -48
  76. data/syntax/ini.syntax +0 -55
  77. data/syntax/installer_distribution_script.syntax +0 -77
  78. data/syntax/io.syntax +0 -81
  79. data/syntax/java.syntax +0 -211
  80. data/syntax/javaproperties.syntax +0 -20
  81. data/syntax/javascript.syntax +0 -256
  82. data/syntax/javascript_+_prototype.syntax +0 -72
  83. data/syntax/javascript_+_prototype_bracketed.syntax +0 -140
  84. data/syntax/jquery_javascript.syntax +0 -114
  85. data/syntax/json.syntax +0 -136
  86. data/syntax/languagedefinition.syntax +0 -708
  87. data/syntax/latex.syntax +0 -566
  88. data/syntax/latex_beamer.syntax +0 -41
  89. data/syntax/latex_log.syntax +0 -50
  90. data/syntax/latex_memoir.syntax +0 -64
  91. data/syntax/lexflex.syntax +0 -219
  92. data/syntax/lighttpd.syntax +0 -54
  93. data/syntax/lilypond.syntax +0 -492
  94. data/syntax/lisp.syntax +0 -61
  95. data/syntax/literate_haskell.syntax +0 -24
  96. data/syntax/logo.syntax +0 -29
  97. data/syntax/logtalk.syntax +0 -152
  98. data/syntax/lua.syntax +0 -86
  99. data/syntax/m.syntax +0 -142
  100. data/syntax/macports_portfile.syntax +0 -163
  101. data/syntax/mail.syntax +0 -118
  102. data/syntax/makefile.syntax +0 -36
  103. data/syntax/man.syntax +0 -17
  104. data/syntax/markdown.syntax +0 -543
  105. data/syntax/mediawiki.syntax +0 -567
  106. data/syntax/mel.syntax +0 -92
  107. data/syntax/mips.syntax +0 -66
  108. data/syntax/mod_perl.syntax +0 -50
  109. data/syntax/modula-3.syntax +0 -47
  110. data/syntax/moinmoin.syntax +0 -189
  111. data/syntax/mootools.syntax +0 -572
  112. data/syntax/movable_type.syntax +0 -162
  113. data/syntax/multimarkdown.syntax +0 -39
  114. data/syntax/objective-c++.syntax +0 -18
  115. data/syntax/objective-c.syntax +0 -233
  116. data/syntax/ocaml.syntax +0 -764
  117. data/syntax/ocamllex.syntax +0 -167
  118. data/syntax/ocamlyacc.syntax +0 -184
  119. data/syntax/opengl.syntax +0 -14
  120. data/syntax/pascal.syntax +0 -77
  121. data/syntax/perl.syntax +0 -1115
  122. data/syntax/php.syntax +0 -1253
  123. data/syntax/plain_text.syntax +0 -32
  124. data/syntax/pmwiki.syntax +0 -113
  125. data/syntax/postscript.syntax +0 -114
  126. data/syntax/processing.syntax +0 -106
  127. data/syntax/prolog.syntax +0 -40
  128. data/syntax/property_list.syntax +0 -635
  129. data/syntax/python.syntax +0 -868
  130. data/syntax/python_django.syntax +0 -21
  131. data/syntax/qmake_project.syntax +0 -114
  132. data/syntax/qt_c++.syntax +0 -26
  133. data/syntax/quake3_config.syntax +0 -32
  134. data/syntax/r.syntax +0 -81
  135. data/syntax/r_console.syntax +0 -16
  136. data/syntax/ragel.syntax +0 -201
  137. data/syntax/rd_r_documentation.syntax +0 -91
  138. data/syntax/regexp.syntax +0 -50
  139. data/syntax/regular_expressions_oniguruma.syntax +0 -107
  140. data/syntax/regular_expressions_python.syntax +0 -109
  141. data/syntax/release_notes.syntax +0 -46
  142. data/syntax/remind.syntax +0 -253
  143. data/syntax/restructuredtext.syntax +0 -250
  144. data/syntax/rez.syntax +0 -80
  145. data/syntax/ruby.syntax +0 -1035
  146. data/syntax/ruby_experimental.syntax +0 -145
  147. data/syntax/ruby_on_rails.syntax +0 -88
  148. data/syntax/s5.syntax +0 -69
  149. data/syntax/scheme.syntax +0 -347
  150. data/syntax/scilab.syntax +0 -41
  151. data/syntax/setext.syntax +0 -147
  152. data/syntax/shell-unix-generic.syntax +0 -384
  153. data/syntax/slate.syntax +0 -149
  154. data/syntax/smarty.syntax +0 -63
  155. data/syntax/sql.syntax +0 -237
  156. data/syntax/sql_rails.syntax +0 -18
  157. data/syntax/ssh-config.syntax +0 -33
  158. data/syntax/standard_ml.syntax +0 -121
  159. data/syntax/strings_file.syntax +0 -39
  160. data/syntax/subversion_commit_message.syntax +0 -36
  161. data/syntax/sweave.syntax +0 -84
  162. data/syntax/swig.syntax +0 -57
  163. data/syntax/tcl.syntax +0 -152
  164. data/syntax/template_toolkit.syntax +0 -121
  165. data/syntax/tex.syntax +0 -86
  166. data/syntax/tex_math.syntax +0 -49
  167. data/syntax/textile.syntax +0 -215
  168. data/syntax/tsv.syntax +0 -50
  169. data/syntax/twiki.syntax +0 -241
  170. data/syntax/txt2tags.syntax +0 -79
  171. data/syntax/vectorscript.syntax +0 -57
  172. data/syntax/xhtml_1.0.syntax +0 -4027
  173. data/syntax/xml.syntax +0 -180
  174. data/syntax/xml_strict.syntax +0 -92
  175. data/syntax/xsl.syntax +0 -60
  176. data/syntax/yaml.syntax +0 -160
  177. data/syntax/yui_javascript.syntax +0 -176
  178. data/test/test_uv.rb +0 -0
@@ -1,25 +0,0 @@
1
- == 0.10.2
2
- * Fixed --no-lines command line option.
3
- * Updated PHP syntax, no longer stalling.
4
-
5
- == 0.10.1 / 2007-06-15
6
- * Corrected line-number schemes in theme2xhtmlrender
7
- * Corrected alpha blending code in theme2xhtmlrender, Now the brilliance themes seem to work!
8
- * Modified html_processor to include whole syntax scopes.
9
- * Add index for duplicated setting names in tmTheme files.
10
- * Multiple fixes for latex, color boxes have now the right color and size.
11
-
12
- == 0.10.0 / 2007-05-15
13
- * Added copy files commant to Uv module and to command line utility.
14
- now the required files (ex. css) may be easily copied to a destination
15
- directory.
16
- * Small corrections in html_processor (should change name)
17
- * Many modifications to latex rendering
18
- * First latex rendering implementation (still buggy).
19
- * All processing is defined in render files.
20
-
21
- == 0.9.0 / 2007-04-24
22
-
23
- * 1 major enhancement
24
- * Birthday!
25
-
@@ -1,233 +0,0 @@
1
- test/test_uv.rb
2
- lib/uv/render_processor.rb
3
- lib/uv/utility.rb
4
- lib/uv.rb
5
- bin/theme2xhtmlrender
6
- bin/theme2latexrender
7
- bin/uv
8
- History.txt
9
- Rakefile
10
- Manifest.txt
11
- README.txt
12
- render/xhtml/files/css/idle.css
13
- render/xhtml/files/css/lazy.css
14
- render/xhtml/files/css/espresso_libre.css
15
- render/xhtml/files/css/blackboard.css
16
- render/xhtml/files/css/brilliance_dull.css
17
- render/xhtml/files/css/sunburst.css
18
- render/xhtml/files/css/amy.css
19
- render/xhtml/files/css/zenburnesque.css
20
- render/xhtml/files/css/magicwb_amiga.css
21
- render/xhtml/files/css/dawn.css
22
- render/xhtml/files/css/eiffel.css
23
- render/xhtml/files/css/twilight.css
24
- render/xhtml/files/css/spacecadet.css
25
- render/xhtml/files/css/brilliance_black.css
26
- render/xhtml/files/css/mac_classic.css
27
- render/xhtml/files/css/active4d.css
28
- render/xhtml/files/css/slush_poppies.css
29
- render/xhtml/files/css/cobalt.css
30
- render/xhtml/files/css/iplastic.css
31
- render/xhtml/files/css/all_hallows_eve.css
32
- render/xhtml/files/css/pastels_on_dark.css
33
- render/xhtml/idle.render
34
- render/xhtml/lazy.render
35
- render/xhtml/espresso_libre.render
36
- render/xhtml/blackboard.render
37
- render/xhtml/brilliance_dull.render
38
- render/xhtml/sunburst.render
39
- render/xhtml/amy.render
40
- render/xhtml/zenburnesque.render
41
- render/xhtml/magicwb_amiga.render
42
- render/xhtml/dawn.render
43
- render/xhtml/eiffel.render
44
- render/xhtml/twilight.render
45
- render/xhtml/spacecadet.render
46
- render/xhtml/brilliance_black.render
47
- render/xhtml/mac_classic.render
48
- render/xhtml/active4d.render
49
- render/xhtml/slush_poppies.render
50
- render/xhtml/cobalt.render
51
- render/xhtml/iplastic.render
52
- render/xhtml/all_hallows_eve.render
53
- render/xhtml/pastels_on_dark.render
54
- render/latex/mac_classic.render
55
- render/latex/active4d.render
56
- render/latex/cobalt.render
57
- render/latex/magicwb_amiga.render
58
- render/latex/pastels_on_dark.render
59
- render/latex/iplastic.render
60
- render/latex/idle.render
61
- render/latex/lazy.render
62
- render/latex/espresso_libre.render
63
- render/latex/brilliance_dull.render
64
- render/latex/blackboard.render
65
- render/latex/sunburst.render
66
- render/latex/amy.render
67
- render/latex/zenburnesque.render
68
- render/latex/dawn.render
69
- render/latex/eiffel.render
70
- render/latex/twilight.render
71
- render/latex/spacecadet.render
72
- render/latex/slush_poppies.render
73
- render/latex/brilliance_black.render
74
- render/latex/all_hallows_eve.render
75
- render/old/txt2tags.render
76
- syntax/logo.syntax
77
- syntax/dylan.syntax
78
- syntax/latex_log.syntax
79
- syntax/textile.syntax
80
- syntax/build.syntax
81
- syntax/latex_memoir.syntax
82
- syntax/lexflex.syntax
83
- syntax/lisp.syntax
84
- syntax/gtd.syntax
85
- syntax/m.syntax
86
- syntax/ocaml.syntax
87
- syntax/d.syntax
88
- syntax/cm.syntax
89
- syntax/ocamlyacc.syntax
90
- syntax/opengl.syntax
91
- syntax/pascal.syntax
92
- syntax/lua.syntax
93
- syntax/active4d.syntax
94
- syntax/mel.syntax
95
- syntax/r.syntax
96
- syntax/r_console.syntax
97
- syntax/smarty.syntax
98
- syntax/latex.syntax
99
- syntax/prolog.syntax
100
- syntax/rez.syntax
101
- syntax/asp.syntax
102
- syntax/xhtml_1.0.syntax
103
- syntax/icalendar.syntax
104
- syntax/mootools.syntax
105
- syntax/scheme.syntax
106
- syntax/xml.syntax
107
- syntax/mail.syntax
108
- syntax/swig.syntax
109
- syntax/slate.syntax
110
- syntax/sweave.syntax
111
- syntax/qmake_project.syntax
112
- syntax/release_notes.syntax
113
- syntax/html_tcl.syntax
114
- syntax/html.syntax
115
- syntax/c.syntax
116
- syntax/pmwiki.syntax
117
- syntax/ruby.syntax
118
- syntax/csv.syntax
119
- syntax/ruby_on_rails.syntax
120
- syntax/xsl.syntax
121
- syntax/yaml.syntax
122
- syntax/io.syntax
123
- syntax/java.syntax
124
- syntax/gri.syntax
125
- syntax/movable_type.syntax
126
- syntax/cs.syntax
127
- syntax/css.syntax
128
- syntax/c++.syntax
129
- syntax/haml.syntax
130
- syntax/dot.syntax
131
- syntax/tsv.syntax
132
- syntax/ruby_experimental.syntax
133
- syntax/man.syntax
134
- syntax/bibtex.syntax
135
- syntax/objective-c.syntax
136
- syntax/subversion_commit_message.syntax
137
- syntax/ocamllex.syntax
138
- syntax/tcl.syntax
139
- syntax/tex.syntax
140
- syntax/ragel.syntax
141
- syntax/shell-unix-generic.syntax
142
- syntax/inform.syntax
143
- syntax/sql.syntax
144
- syntax/python.syntax
145
- syntax/modula-3.syntax
146
- syntax/cake.syntax
147
- syntax/logtalk.syntax
148
- syntax/ini.syntax
149
- syntax/diff.syntax
150
- syntax/fortran.syntax
151
- syntax/txt2tags.syntax
152
- syntax/s5.syntax
153
- syntax/scilab.syntax
154
- syntax/mips.syntax
155
- syntax/twiki.syntax
156
- syntax/perl.syntax
157
- syntax/fxscript.syntax
158
- syntax/markdown.syntax
159
- syntax/lilypond.syntax
160
- syntax/blog_html.syntax
161
- syntax/html_mason.syntax
162
- syntax/jquery_javascript.syntax
163
- syntax/json.syntax
164
- syntax/languagedefinition.syntax
165
- syntax/tex_math.syntax
166
- syntax/xml_strict.syntax
167
- syntax/php.syntax
168
- syntax/doxygen.syntax
169
- syntax/strings_file.syntax
170
- syntax/makefile.syntax
171
- syntax/setext.syntax
172
- syntax/ada.syntax
173
- syntax/active4d_ini.syntax
174
- syntax/active4d_library.syntax
175
- syntax/antlr.syntax
176
- syntax/javascript_+_prototype.syntax
177
- syntax/lighttpd.syntax
178
- syntax/template_toolkit.syntax
179
- syntax/sql_rails.syntax
180
- syntax/ssh-config.syntax
181
- syntax/mediawiki.syntax
182
- syntax/moinmoin.syntax
183
- syntax/javascript.syntax
184
- syntax/quake3_config.syntax
185
- syntax/qt_c++.syntax
186
- syntax/camlp4.syntax
187
- syntax/multimarkdown.syntax
188
- syntax/blog_text.syntax
189
- syntax/blog_textile.syntax
190
- syntax/bulletin_board.syntax
191
- syntax/groovy.syntax
192
- syntax/gtdalt.syntax
193
- syntax/regular_expressions_python.syntax
194
- syntax/latex_beamer.syntax
195
- syntax/remind.syntax
196
- syntax/regexp.syntax
197
- syntax/rd_r_documentation.syntax
198
- syntax/standard_ml.syntax
199
- syntax/literate_haskell.syntax
200
- syntax/python_django.syntax
201
- syntax/restructuredtext.syntax
202
- syntax/mod_perl.syntax
203
- syntax/coldfusion.syntax
204
- syntax/installer_distribution_script.syntax
205
- syntax/vectorscript.syntax
206
- syntax/macports_portfile.syntax
207
- syntax/yui_javascript.syntax
208
- syntax/actionscript.syntax
209
- syntax/active4d_html.syntax
210
- syntax/apache.syntax
211
- syntax/applescript.syntax
212
- syntax/asp_vb.net.syntax
213
- syntax/blog_markdown.syntax
214
- syntax/context_free.syntax
215
- syntax/css_experimental.syntax
216
- syntax/dokuwiki.syntax
217
- syntax/eiffel.syntax
218
- syntax/erlang.syntax
219
- syntax/f-script.syntax
220
- syntax/haskell.syntax
221
- syntax/greasemonkey.syntax
222
- syntax/html-asp.syntax
223
- syntax/html_django.syntax
224
- syntax/html_for_asp.net.syntax
225
- syntax/html_rails.syntax
226
- syntax/javaproperties.syntax
227
- syntax/javascript_+_prototype_bracketed.syntax
228
- syntax/objective-c++.syntax
229
- syntax/plain_text.syntax
230
- syntax/postscript.syntax
231
- syntax/processing.syntax
232
- syntax/property_list.syntax
233
- syntax/regular_expressions_oniguruma.syntax
data/README.txt DELETED
@@ -1,52 +0,0 @@
1
- == Ultraviolet
2
-
3
- Ultraviolet is a syntax highlighting library and engine. It
4
- uses TextMate[http://macromates.com/] syntax files and parses
5
- them using the Textpow[http://textpow.rubyforge.org] library. It
6
- supports more than 60 programming languages out of the box.
7
-
8
- == SYNTAX
9
-
10
-
11
- == REQUIREMENTS:
12
-
13
- * Oniguruma for Ruby[http://oniguruma.rubyforge.org] v1.1.0 or higher.
14
- * Textpow[http://textpow.rubyforge.org] v0.9.0 or higher.
15
-
16
- == INSTALL:
17
-
18
- sudo gem install -r markray
19
-
20
- == BUGS/PROBLEMS/INCOMPATIBILITIES:
21
-
22
-
23
- == TODO:
24
-
25
-
26
- == CREDITS:
27
-
28
-
29
- == LICENSE:
30
-
31
- (The MIT License)
32
-
33
- Copyright (c) 2007 FIX
34
-
35
- Permission is hereby granted, free of charge, to any person obtaining
36
- a copy of this software and associated documentation files (the
37
- 'Software'), to deal in the Software without restriction, including
38
- without limitation the rights to use, copy, modify, merge, publish,
39
- distribute, sublicense, and/or sell copies of the Software, and to
40
- permit persons to whom the Software is furnished to do so, subject to
41
- the following conditions:
42
-
43
- The above copyright notice and this permission notice shall be
44
- included in all copies or substantial portions of the Software.
45
-
46
- THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
47
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
48
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
49
- IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
50
- CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
51
- TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
52
- SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -1,97 +0,0 @@
1
- ---
2
- name: ActionScript
3
- fileTypes:
4
- - as
5
- scopeName: source.actionscript
6
- uuid: E5A6EC91-6EE4-11D9-BAB4-000D93589AF6
7
- foldingStartMarker: (/\*\*|\{\s*$)
8
- patterns:
9
- - name: support.class.actionscript
10
- match: \b(R(ecordset|DBMSResolver|adioButton(Group)?)|X(ML(Socket|Node|Connector)?|UpdateResolverDataHolder)|M(M(Save|Execute)|icrophoneMicrophone|o(use|vieClip(Loader)?)|e(nu(Bar)?|dia(Controller|Display|Playback))|ath)|B(yName|inding|utton)|S(haredObject|ystem|crollPane|t(yleSheet|age|ream)|ound|e(ndEvent|rviceObject)|OAPCall|lide)|N(umericStepper|et(stream|S(tream|ervices)|Connection|Debug(Config)?))|C(heckBox|o(ntextMenu(Item)?|okie|lor|m(ponentMixins|boBox))|ustomActions|lient|amera)|T(ypedValue|ext(Snapshot|Input|F(ield|ormat)|Area)|ree|AB)|Object|D(ownload|elta(Item|Packet)?|at(e(Chooser|Field)?|a(G(lue|rid)|Set|Type)))|U(RL|TC|IScrollBar)|P(opUpManager|endingCall|r(intJob|o(duct|gressBar)))|E(ndPoint|rror)|Video|Key|F(RadioButton|GridColumn|MessageBox|BarChart|S(croll(Bar|Pane)|tyleFormat|plitView)|orm|C(heckbox|omboBox|alendar)|unction|T(icker|ooltip(Lite)?|ree(Node)?)|IconButton|D(ataGrid|raggablePane)|P(ieChart|ushButton|ro(gressBar|mptBox))|L(i(stBox|neChart)|oadingBox)|AdvancedMessageBox)|W(indow|SDLURL|ebService(Connector)?)|L(ist|o(calConnection|ad(er|Vars)|g)|a(unch|bel))|A(sBroadcaster|cc(ordion|essibility)|S(Set(Native|PropFlags)|N(ew|ative)|C(onstructor|lamp(2)?)|InstanceOf)|pplication|lert|rray))\b
11
- - name: support.function.actionscript
12
- match: \b(s(h(ift|ow(GridLines|Menu|Border|Settings|Headers|ColumnHeaders|Today|Preferences)?|ad(ow|ePane))|c(hema|ale(X|Mode|Y|Content)|r(oll(Track|Drag)?|een(Resolution|Color|DPI)))|t(yleSheet|op(Drag|A(nimation|llSounds|gent))?|epSize|a(tus|rt(Drag|A(nimation|gent))?))|i(n|ze|lence(TimeOut|Level))|o(ngname|urce|rt(Items(By)?|On(HeaderRelease)?|able(Columns)?)?)|u(ppressInvalidCalls|bstr(ing)?)|p(li(ce|t)|aceCol(umnsEqually|lumnsEqually))|e(nd(DefaultPushButtonEvent|AndLoad)?|curity|t(R(GB|o(otNode|w(Height|Count))|esizable(Columns)?|a(nge|te))|G(ain|roupName)|X(AxisTitle)?|M(i(n(imum|utes)|lliseconds)|o(nth(Names)?|tionLevel|de)|ultilineMode|e(ssage|nu(ItemEnabled(At)?|EnabledAt)|dia)|a(sk|ximum))|B(u(tton(s|Width)|fferTime)|a(seTabIndex|ndwidthLimit|ckground))|S(howAsDisabled|croll(ing|Speed|Content|Target|P(osition|roperties)|barState|Location)|t(yle(Property)?|opOnFocus|at(us|e))|i(ze|lenceLevel)|ort(able(Columns)?|Function)|p(litterBarPosition|acing)|e(conds|lect(Multiple|ion(Required|Type)?|Style|Color|ed(Node(s)?|Cell|I(nd(ices|ex)|tem(s)?))?|able))|kin|m(oothness|allScroll))|H(ighlight(s|Color)|Scroll|o(urs|rizontal)|eader(Symbol|Height|Text|Property|Format|Width|Location)?|as(Shader|CloseBox))|Y(ear|AxisTitle)?|N(ode(Properties|ExpansionHandler)|ewTextFormat)|C(h(ildNodes|a(ngeHandler|rt(Title|EventHandler)))|o(ntent(Size)?|okie|lumns)|ell(Symbol|Data)|l(i(ckHandler|pboard)|oseHandler)|redentials)|T(ype(dVaule)?|i(tle(barHeight)?|p(Target|Offset)?|me(out(Handler)?)?)|oggle|extFormat|ransform)|I(s(Branch|Open)|n(terval|putProperty)|con(SymbolName)?|te(rator|m(ByKey|Symbol)))|Orientation|D(i(splay(Range|Graphics|Mode|Clip|Text|edMonth)|rection)|uration|e(pth(Below|To|Above)|fault(GatewayURL|Mappings|NodeIconSymbolName)|l(iveryMode|ay)|bug(ID)?)|a(yOfWeekNames|t(e(Filter)?|a(Mapping(s)?|Item(Text|Property|Format)|Provider|All(Height|Property|Format|Width))?))|ra(wConnectors|gContent))|U(se(Shadow|HandCursor|EchoSuppression|rInput|Fade)|TC(M(i(nutes|lliseconds)|onth)|Seconds|Hours|Date|FullYear))|P(osition|ercentComplete|an(e(M(inimumSize|aximumSize)|Size|Title))?|ro(pert(y(Data)?|iesAt)|gress))|E(nabled|dit(Handler|able)|xpand(NodeTrigger|erSymbolName))|V(Scroll|olume|alue(Source)?)|KeyFrameInterval|Quality|F(i(eld|rst(DayOfWeek|VisibleNode))|ocus|ullYear|ps|ade(InLength|OutLength)|rame(Color|Width))|Width|L(ine(Color|Weight)|o(opback|adTarget)|a(rgeScroll|bel(Source|Placement)?))|A(s(Boolean|String|Number)|n(yTypedValue|imation)|ctiv(e(State(Handler)?|Handler)|ateHandler)|utoH(ideScrollBar|eight)))?|paratorBefore|ek|lect(ion(Disabled|Unfocused)?|ed(Node(s)?|Child|I(nd(ices|ex)|tem(s)?)|Dat(e|a))?|able(Ranges)?)|rver(String)?)|kip|qrt|wapDepths|lice|aveToSharedObj|moothing)|h(scroll(Policy)?|tml(Text)?|i(t(Test(TextNearPos)?|Area)|de(BuiltInItems|Child)?|ghlight(2D|3D)?)|orizontal|e(ight|ader(Re(nderer|lease)|Height|Text))|P(osition|ageScrollSize)|a(s(childNodes|MP3|S(creen(Broadcast|Playback)|treaming(Video|Audio)|ort)|Next|OwnProperty|Pr(inting|evious)|EmbeddedVideo|VideoEncoder|A(ccesibility|udio(Encoder)?))|ndlerName)|LineScrollSize)|ye(sLabel|ar)|n(o(t|de(Name|Close|Type|Open|Value)|Label)|u(llValue|mChild(S(creens|lides)|ren|Forms))|e(w(Item|line|Value|LocationDialog)|xt(S(cene|ibling|lide)|TabIndex|Value|Frame)?)?|ame(s)?)|c(h(ildNodes|eck|a(nge(sPending)?|r(CodeAt|At))|r)|o(s|n(st(ant|ructor)|nect|c(urrency|at)|t(ent(Type|Path)?|ains|rol(Placement|lerPolicy))|denseWhite|version)|py|l(or|umn(Stretch|Name(s)?|Count))|m(p(onent|lete)|ment))|u(stomItems|ePoint(s)?|r(veTo|Value|rent(Slide|ChildSlide|Item|F(ocused(S(creen|lide)|Form)|ps))))|e(il|ll(Renderer|Press|Edit|Focus(In|Out)))|l(i(ck|ents)|o(se(Button|Pane)?|ne(Node)?)|ear(S(haredObjects|treams)|Timeout|Interval)?)|a(ncelLabel|tch|p(tion|abilities)|l(cFields|l(e(e|r))?))|reate(GatewayConnection|Menu|Se(rver|gment)|C(hild(AtDepth)?|l(ient|ass(ChildAtDepth|Object(AtDepth)?))|all)|Text(Node|Field)|Item|Object(AtDepth)?|PopUp|E(lement|mptyMovieClip)))|t(h(is|row)|ype(of|Name)?|i(tle(StyleDeclaration)?|me(out)?)|o(talTime|String|olTipText|p|UpperCase|ggle(HighQuality)?|Lo(caleString|werCase))|e(st|llTarget|xt(RightMargin|Bold|S(ize|elected)|Height|Color|I(ndent|talic)|Disabled|Underline|F(ield|ont)|Width|LeftMargin|Align)?)|a(n|rget(Path)?|b(Stops|Children|Index|Enabled|leName))|r(y|igger|ac(e|k(AsMenu)?)))|i(s(Running|Branch|NaN|Con(soleOpen|nected)|Toggled|Installed|Open|D(own|ebugger)|P(urchased|ro(totypeOf|pertyEnumerable))|Empty|F(inite|ullyPopulated)|Local|Active)|n(s(tall|ertBefore)|cludeDeltaPacketInfo|t|it(ialize|Component|Pod|A(pplication|gent))?|de(nt|terminate|x(InParent(Slide|Form)?|Of)?)|put|validate|finity|LocalInternetCache)?|con(F(ield|unction))?|t(e(ratorScrolled|m(s|RollO(ut|ver)|ClassName))|alic)|d3|p|fFrameLoaded|gnore(Case|White))|o(s|n(R(ollO(ut|ver)|e(s(ize|ult)|l(ease(Outside)?|aseOutside)))|XML|Mouse(Move|Down|Up|Wheel)|S(ync|croller|tatus|oundComplete|e(tFocus|lect(edItem)?))|N(oticeEvent|etworkChange)|C(hanged|onnect|l(ipEvent|ose))|ID3|D(isconnect|eactivate|ata|ragO(ut|ver))|Un(install|load)|P(aymentResult|ress)|EnterFrame|K(illFocus|ey(Down|Up))|Fault|Lo(ad|g)|A(ctiv(ity|ate)|ppSt(op|art)))?|pe(n|ration)|verLayChildren|kLabel|ldValue|r(d)?)|d(i(s(connect|play(Normal|ed(Month|Year)|Full)|able(Shader|d(Ranges|Days)|CloseBox|Events))|rection)|o(cTypeDecl|tall|Decoding|main|LazyDecoding)|u(plicateMovieClip|ration)|e(stroy(ChildAt|Object)|code|fault(PushButton(Enabled)?|KeydownHandler)?|l(ta(Packet(Changed)?)?|ete(PopUp|All)?)|blocking)|a(shBoardSave|yNames|ta(Provider)?|rkshadow)|r(opdown(Width)?|a(w|gO(ut|ver))))|u(se(Sort|HandCursor|Codepage|EchoSuppression)|n(shift|install|derline|escape|format|watch|lo(ck|ad(Movie(Num)?)?))|pdate(Results|Mode|I(nputProperties|tem(ByIndex)?)|P(acket|roperties)|View|AfterEvent)|rl)|join|p(ixelAspectRatio|o(sition|p|w)|u(sh|rge|blish)|ercen(tComplete|Loaded)|lay(head(Change|Time)|ing|Hidden|erType)?|a(ssword|use|r(se(XML|CSS|Int|Float)|ent(Node|Is(S(creen|lide)|Form))|ams))|r(int(Num|AsBitmap(Num)?)?|o(to(type)?|pert(y|ies)|gress)|e(ss|v(ious(S(ibling|lide)|Value)?|Scene|Frame)|ferred(Height|Width))))|e(scape|n(code(r)?|ter(Frame)?|dFill|able(Shader|d|CloseBox|Events))|dit(able|Field|LocationDialog)|v(ent|al(uate)?)|q|x(tended|p|ec(ute)?|actSettings)|m(phasized(StyleDeclaration)?|bedFonts))|v(i(sible|ewPod)|ScrollPolicy|o(id|lume)|ersion|P(osition|ageScrollSize)|a(l(idat(ionError|e(Property|ActivationKey)?)|ue(Of)?)|riable)|LineScrollSize)|k(ind|ey(Down|Up|Press|FrameInterval))|q(sort|uality)|f(scommand|i(n(d(Text|First|Last)?|ally)|eldInfo|lter(ed|Func)?|rst(Slide|Child|DayOfWeek|VisibleNode)?)|o(nt|cus(In|edCell|Out|Enabled)|r(egroundDisabled|mat(ter)?))|unctionName|ps|l(oor|ush)|ace|romCharCode)|w(i(th|dth)|ordWrap|atch|riteAccess)|l(t|i(st(Owner)?|ne(Style|To))|o(c(k|a(t(ion|eByld)|l(ToGlobal|FileReadDisable)))|opback|ad(Movie(Num)?|S(crollContent|ound)|ed|Variables(Num)?|Application)?|g(Changes)?)|e(ngth|ft(Margin)?|ading)?|a(st(Slide|Child|Index(Of)?)?|nguage|b(el(Placement|F(ield|unction))?|leField)))|a(s(scociate(Controller|Display)|in|pectRatio|function)|nd|c(ceptConnection|tiv(ityLevel|ePlayControl)|os)|t(t(ach(Movie|Sound|Video|Audio)|ributes)|an(2)?)|dd(header|RequestHeader|Menu(Item(At)?|At)?|Sort|Header|No(tice|de(At)?)|C(olumn(At)?|uePoint)|T(oLocalInternetCache|reeNode(At)?)|I(con|tem(s(At)?|At)?)|DeltaItem|P(od|age|roperty)|EventListener|View|FieldInfo|Listener|Animation)?|uto(Size|Play|KeyNav|Load)|pp(endChild|ly(Changes|Updates)?)|vHardwareDisable|fterLoaded|l(ternateRowColors|ign|l(ow(InsecureDomain|Domain)|Transitions(InDone|OutDone))|bum)|r(tist|row|g(uments|List))|gent|bs)|r(ight(Margin)?|o(ot(S(creen|lide)|Form)|und|w(Height|Count)|llO(ut|ver))|e(s(yncDepth|t(orePane|artAnimation|rict)|iz(e|able(Columns)?)|olveDelta|ult(s)?|ponse)|c(o(ncile(Results|Updates)|rd)|eive(Video|Audio))|draw|jectConnection|place(Sel|ItemAt|AllItems)?|ve(al(Child)?|rse)|quest(SizeChange|Payment)?|f(errer|resh(ScrollContent|Destinations|Pane|FromSources)?)|lease(Outside)?|ad(Only|Access)|gister(SkinElement|C(olor(Style|Name)|lass)|InheritingStyle|Proxy)|move(Range|M(ovieClip|enu(Item(At)?|At))|Background|Sort|No(tice|de(sAt|At)?)|C(olum(nAt|At)|uePoints)|T(extField|reeNode(At)?)|Item(At)?|Pod|EventListener|FromLocalInternetCache|Listener|All(C(olumns|uePoints)|Items)?))|a(ndom|te|dioDot))|g(t|oto(Slide|NextSlide|PreviousSlide|FirstSlide|LastSlide|And(Stop|Play))|e(nre|t(R(GB|o(otNode|wCount)|e(sizable|mote))|X(AxisTitle)?|M(i(n(imum(Size)?|utes)|lliseconds)|onth(Names)?|ultilineMode|e(ssage|nu(ItemAt|EnabledAt|At))|aximum(Size)?)|B(ytes(Total|Loaded)|ounds|utton(s|Width)|eginIndex|a(ndwidthLimit|ckground))|S(howAsDisabled|croll(ing|Speed|Content|Position|barState|Location)|t(yle(Names)?|opOnFocus|ate)|ize|o(urce|rtState)|p(litterBarPosition|acing)|e(conds|lect(Multiple|ion(Required|Type)|Style|ed(Node(s)?|Cell|Text|I(nd(ices|ex)|tem(s)?))?)|rvice)|moothness|WFVersion)|H(ighlight(s|Color)|ours|e(ight|ader(Height|Text|Property|Format|Width|Location)?)|as(Shader|CloseBox))|Y(ear|AxisTitle)?|N(o(tices|de(DisplayedAt|At))|um(Children|berAvailable)|e(wTextFormat|xtHighestDepth))|C(h(ild(S(creen|lide)|Nodes|Form|At)|artTitle)|o(n(tent|figInfo)|okie|de|unt|lumn(Names|Count|Index|At))|uePoint|ellIndex|loseHandler|a(ll|retIndex))|T(ypedValue|i(tle(barHeight)?|p(Target|Offset)?|me(stamp|zoneOffset|out(State|Handler)|r)?)|oggle|ext(Extent|Format)?|r(ee(NodeAt|Length)|ans(form|actionId)))|I(s(Branch|Open)|n(stanceAtDepth|d(icesByKey|exByKey))|con(SymbolName)?|te(rator|m(sByKey|By(Name|Key)|id|ID|At))|d)|O(utput(Parameter(s|ByName)?|Value(s)?)|peration|ri(entation|ginalCellData))|D(i(s(play(Range|Mode|Clip|Index|edMonth)|kUsage)|rection)|uration|e(pth|faultNodeIconSymbolName|l(taPacket|ay)|bug(Config|ID)?)|a(y(OfWeekNames)?|t(e|a(Mapping(s)?|Item(Text|Property|Format)|Label|All(Height|Property|Format|Width))?))|rawConnectors)|U(se(Shadow|HandCursor|rInput|Fade)|RL|TC(M(i(nutes|lliseconds)|onth)|Seconds|Hours|Da(y|te)|FullYear))|P(o(sition|ds)|ercentComplete|a(n(e(M(inimums|aximums)|Height|Title|Width))?|rentNode)|r(operty(Name|Data)?|efer(ences|red(Height|Width))))|E(n(dIndex|abled)|ditingData|x(panderSymbolName|andNodeTrigger))|V(iewed(Pods|Applications)|olume|ersion|alue(Source)?)|F(i(eld|rst(DayOfWeek|VisibleNode))|o(ntList|cus)|ullYear|ade(InLength|OutLength)|rame(Color|Width))|Width|L(ine(Color|Weight)|o(cal|adTarget)|ength|a(stTabIndex|bel(Source)?))|A(s(cii|Boolean|String|Number)|n(yTypedValue|imation)|ctiv(eState(Handler)?|ateHandler)|utoH(ideScrollBar|eight)|llItems|gent))?)?|lobal(StyleFormat|ToLocal)?|ain|roupName)|x(updatePackety|mlDecl)?|m(y(MethodName|Call)|in(imum)?|o(nthNames|tion(TimeOut|Level)|de(lChanged)?|use(Move|O(ut|ver)|Down(Somewhere|Outside)?|Up(Somewhere)?|WheelEnabled)|ve(To)?)|u(ted|lti(pleS(imultaneousAllowed|elections)|line))|e(ssage|nu(Show|Hide)?|th(od)?|diaType)|a(nufacturer|tch|x(scroll|hscroll|imum|HPosition|Chars|VPosition)?)|b(substring|chr|ord|length))|b(ytes(Total|Loaded)|indFormat(Strings|Function)|o(ttom(Scroll)?|ld|rder(Color)?)|u(tton(Height|Width)|iltInItems|ffer(Time|Length)|llet)|e(foreApplyUpdates|gin(GradientFill|Fill))|lockIndent|a(ndwidth|ckground(Style|Color|Disabled)?)|roadcastMessage)|onHTTPStatus)\b
13
- - name: support.constant.actionscript
14
- match: \b(__proto__|__resolve|_accProps|_alpha|_changed|_currentframe|_droptarget|_flash|_focusrect|_framesloaded|_global|_height|_highquality|_level|_listeners|_lockroot|_name|_parent|_quality|_root|_rotation|_soundbuftime|_target|_totalframes|_url|_visible|_width|_x|_xmouse|_xscale|_y|_ymouse|_yscale)\b
15
- - name: keyword.control.actionscript
16
- match: \b(dynamic|extends|import|implements|interface|public|private|new|static|super|var|for|in|break|continue|while|do|return|if|else|case|switch)\b
17
- - name: storage.type.actionscript
18
- match: \b(Boolean|Number|String|Void)\b
19
- - name: constant.language.actionscript
20
- match: \b(null|undefined|true|false)\b
21
- - name: constant.numeric.actionscript
22
- 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
23
- - name: string.quoted.double.actionscript
24
- endCaptures:
25
- "0":
26
- name: punctuation.definition.string.end.actionscript
27
- begin: "\""
28
- beginCaptures:
29
- "0":
30
- name: punctuation.definition.string.begin.actionscript
31
- end: "\""
32
- patterns:
33
- - name: constant.character.escape.actionscript
34
- match: \\.
35
- - name: string.quoted.single.actionscript
36
- endCaptures:
37
- "0":
38
- name: punctuation.definition.string.end.actionscript
39
- begin: "'"
40
- beginCaptures:
41
- "0":
42
- name: punctuation.definition.string.begin.actionscript
43
- end: "'"
44
- patterns:
45
- - name: constant.character.escape.actionscript
46
- match: \\.
47
- - name: support.constant.actionscript
48
- match: \b(BACKSPACE|CAPSLOCK|CONTROL|DELETEKEY|DOWN|END|ENTER|HOME|INSERT|LEFT|LN10|LN2|LOG10E|LOG2E|MAX_VALUE|MIN_VALUE|NEGATIVE_INFINITY|NaN|PGDN|PGUP|PI|POSITIVE_INFINITY|RIGHT|SPACE|SQRT1_2|SQRT2|UP)\b
49
- - name: comment.block.actionscript
50
- captures:
51
- "0":
52
- name: punctuation.definition.comment.actionscript
53
- begin: /\*
54
- end: \*/
55
- - name: comment.line.double-slash.actionscript
56
- captures:
57
- "1":
58
- name: punctuation.definition.comment.actionscript
59
- match: (//).*$\n?
60
- - name: keyword.operator.actionscript
61
- match: \b(instanceof)\b
62
- - name: keyword.operator.symbolic.actionscript
63
- match: "[-!%&*+=/?:]"
64
- - name: meta.preprocessor.actionscript
65
- captures:
66
- "1":
67
- name: punctuation.definition.preprocessor.actionscript
68
- match: ^[ \t]*(#)[a-zA-Z]+
69
- - name: meta.function.actionscript
70
- endCaptures:
71
- "0":
72
- name: punctuation.definition.parameters.end.actionscript
73
- captures:
74
- "1":
75
- name: storage.type.function.asp
76
- "2":
77
- name: entity.name.function.asp
78
- "3":
79
- name: punctuation.definition.parameters.begin.actionscript
80
- begin: \b(function)\s+([a-zA-Z_]\w*)\s*(\()
81
- end: \)
82
- patterns:
83
- - name: variable.parameter.function.asp
84
- match: "[^,)\\n]+"
85
- - name: meta.class.actionscript
86
- captures:
87
- "1":
88
- name: storage.type.class.actionscript
89
- "2":
90
- name: entity.name.type.class.actionscript
91
- "3":
92
- name: storage.modifier.extends.actionscript
93
- "4":
94
- name: entity.other.inherited-class.actionscript
95
- match: \b(class)\s+([a-zA-Z_](?:\w|\.)*)(?:\s+(extends)\s+([a-zA-Z_](?:\w|\.)*))?
96
- foldingStopMarker: (\*\*/|^\s*\})
97
- keyEquivalent: ^~A
@@ -1,276 +0,0 @@
1
- ---
2
- name: Active4D
3
- fileTypes: []
4
-
5
- scopeName: source.active4d
6
- repository:
7
- escaped_char:
8
- name: constant.character.escape.active4d
9
- match: \\.
10
- interpolated_variable:
11
- name: variable.other.interpolated.local.active4d
12
- captures:
13
- "1":
14
- name: punctuation.definition.variable.active4d
15
- match: (\$)[\w_]+({(".+?"|\d+|\$[\w_]+)})*(\[\[\d+\]\])*
16
- interpolated_table_field:
17
- name: variable.other.interpolated.table-field.active4d
18
- match: \[\w[\w_ ]*\][\w_]+(\[\[\d+\]\])*
19
- interpolated_string:
20
- patterns:
21
- - include: "#escaped_char"
22
- - include: "#interpolated_code"
23
- - include: "#interpolated_table_field"
24
- - include: "#interpolated_variable"
25
- - include: "#interpolated_collection_ref"
26
- interpolated_code:
27
- name: source.interpolated.active4d
28
- endCaptures:
29
- "0":
30
- name: punctuation.definition.string.end.active4d
31
- begin: `
32
- beginCaptures:
33
- "0":
34
- name: punctuation.definition.string.begin.active4d
35
- end: `
36
- patterns:
37
- - include: $self
38
- interpolated_collection_ref:
39
- name: variable.other.interpolated.collection-ref.active4d
40
- match: (_form|_query|_request|globals|session)({(".+?"|\d+|\$[\w_]+)})+(\[\[\d+\]\])*
41
- fusedoc:
42
- name: text.xml
43
- begin: (?=^\s*<fusedoc )
44
- end: (?<=</fusedoc>)
45
- patterns:
46
- - include: text.xml
47
- uuid: 8C2BF09D-AE95-479B-B516-F8DB62C86A0C
48
- foldingStartMarker: |-
49
- (?x)
50
- (^\s*(?i:if|while|for\ each|for|case\ of|repeat|method|save output)\b
51
- )
52
- patterns:
53
- - name: comment.line.backtick.active4d
54
- captures:
55
- "1":
56
- name: punctuation.definition.comment.active4d
57
- match: (`).*$\n?
58
- - name: comment.line.double-slash.active4d
59
- captures:
60
- "1":
61
- name: punctuation.definition.comment.active4d
62
- match: (//).*$\n?
63
- - name: comment.line.double-backslash.continuation.active4d
64
- captures:
65
- "1":
66
- name: punctuation.definition.comment.active4d
67
- match: (\\\\).*$\n?
68
- - name: comment.block.active4d
69
- captures:
70
- "0":
71
- name: punctuation.definition.comment.active4d
72
- begin: /\*
73
- end: \*/
74
- patterns:
75
- - include: "#fusedoc"
76
- - name: string.quoted.double.active4d
77
- endCaptures:
78
- "0":
79
- name: punctuation.definition.string.end.active4d
80
- begin: "\"(?!\"\")"
81
- beginCaptures:
82
- "0":
83
- name: punctuation.definition.string.begin.active4d
84
- end: "\""
85
- patterns:
86
- - include: "#escaped_char"
87
- - name: string.quoted.triple.heredoc.active4d
88
- endCaptures:
89
- "0":
90
- name: punctuation.definition.string.end.active4d
91
- begin: "\"\"\""
92
- beginCaptures:
93
- "0":
94
- name: punctuation.definition.string.begin.active4d
95
- end: "\"\"\""
96
- patterns:
97
- - include: "#escaped_char"
98
- - name: string.interpolated.quoted.single.active4d
99
- endCaptures:
100
- "0":
101
- name: punctuation.definition.string.end.active4d
102
- begin: "'(?!'')"
103
- beginCaptures:
104
- "0":
105
- name: punctuation.definition.string.begin.active4d
106
- end: "'"
107
- patterns:
108
- - include: "#interpolated_string"
109
- - name: string.interpolated.quoted.triple.heredoc.active4d
110
- endCaptures:
111
- "0":
112
- name: punctuation.definition.string.end.active4d
113
- begin: "'''"
114
- beginCaptures:
115
- "0":
116
- name: punctuation.definition.string.begin.active4d
117
- end: "'''"
118
- patterns:
119
- - include: "#interpolated_string"
120
- - name: constant.numeric.active4d
121
- match: (?<![[:alpha:]])[\-]?(?:0x[[:xdigit:]]{1,4}|\d+(\.\d+)?)(?![[:alpha:]])
122
- - name: constant.language.boolean.active4d
123
- match: \b(?i)(true|false)\b
124
- - name: variable.other.local.active4d
125
- captures:
126
- "1":
127
- name: punctuation.definition.variable.active4d
128
- match: (\$)[\w_]+
129
- - name: variable.other.interprocess.active4d
130
- captures:
131
- "1":
132
- name: punctuation.definition.variable.active4d
133
- match: (\<\>)[\w_]+
134
- - name: variable.other.table-field.active4d
135
- captures:
136
- "1":
137
- name: punctuation.definition.variable.active4d
138
- "2":
139
- name: punctuation.definition.variable.active4d
140
- match: (\[)[^\[].*?(\])([\w_ ]+)?
141
- - name: constant.other.date.active4d
142
- captures:
143
- "1":
144
- name: punctuation.definition.constant.active4d
145
- "2":
146
- name: punctuation.definition.constant.active4d
147
- match: (!)\d{1,2}/\d{1,2}/\d{2,4}(!)
148
- - name: constant.other.time.active4d
149
- captures:
150
- "1":
151
- name: punctuation.definition.constant.active4d
152
- "2":
153
- name: punctuation.definition.constant.active4d
154
- match: (\?)\d{1,2}:\d{1,2}:\d{1,2}(\?)
155
- - name: meta.function.active4d
156
- captures:
157
- "1":
158
- name: storage.type.function.active4d
159
- "2":
160
- name: entity.name.function.active4d
161
- match: ^\s*(method)\s*("[^"]+")(?!\s*\()
162
- comment: method definition without parameters
163
- - name: meta.function.active4d
164
- endCaptures:
165
- "1":
166
- name: punctuation.definition.parameters.active4d
167
- begin: ^\s*(method)\s*((")[^"]+("))\s*(\()
168
- beginCaptures:
169
- "1":
170
- name: storage.type.function.active4d
171
- "2":
172
- name: entity.name.function.active4d
173
- "3":
174
- name: punctuation.definition.entity.active4d
175
- "4":
176
- name: punctuation.definition.entity.active4d
177
- "5":
178
- name: punctuation.definition.parameters.active4d
179
- end: (\))\s*(?:(?:\\\\|//|`).*)?$
180
- patterns:
181
- - name: variable.parameter.function.active4d
182
- captures:
183
- "1":
184
- name: keyword.operator.active4d
185
- "2":
186
- name: punctuation.definition.variable.active4d
187
- "3":
188
- name: punctuation.separator.parameters.active4d
189
- match: (&)?(\$)[\w_]+(;)?
190
- - endCaptures:
191
- "1":
192
- name: punctuation.separator.parameters.active4d
193
- begin: (=)
194
- beginCaptures:
195
- "1":
196
- name: punctuation.separator.key-value.active4d
197
- end: (;)|(?=\))
198
- patterns:
199
- - include: $self
200
- comment: method definition with parameters
201
- - name: keyword.operator.active4d
202
- match: |-
203
- (?x) (
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
- - name: keyword.control.active4d
253
- match: \b(?i)(end (if|for each|for|while|case)|if|else|while|for each|for|case of|repeat|until|break|continue)\b
254
- - name: keyword.other.active4d
255
- match: \b(?i)(end method|method|define|return|exit|self|import|require|global|throw)\b
256
- - name: support.constant.active4d
257
- match: (?i)\b(Write Mode|Text without length|Text array|String array|Short|Real array|Read Mode|Read and Write|Pointer array|Picture array|No current record|New record|Month Day Year|MM DD YYYY Forced|MM DD YYYY|MAXTEXTLEN|MAXLONG|Longint array|Long|Line feed|Is Undefined|Is Time|Is Text|Is String Var|Is Real|Is Pointer|Is Picture|Is Longint|Is Integer|Is Date|Is Boolean|Is BLOB|Is Alpha Field|Into variable|Into set|Into named selection|Into current selection|Integer array|Hour Min Sec|Hour Min|HH MM SS|HH MM AM PM|HH MM|Get Pathname|Date array|Carriage return|Boolean array|Array 2D|Abbreviated|Abbr Month Day|A4D Parameter Mode Separate|A4D Parameter Mode Query|A4D Parameter Mode Form|A4D License Type Deployment|A4D Encoding Tags|A4D Encoding Quotes|A4D Encoding None|A4D Encoding HTML|A4D Encoding Extended|A4D Encoding Ampersand|A4D Encoding All|A4D Charset Win|A4D Charset Shift_JIS|A4D Charset Mac|A4D Charset ISO Latin1|A4D Charset GB2312)\b
258
- - name: support.function.active4d
259
- match: (?i)\b(_request|_query|_form|Year of|writep|writeln|writebr|write to console|write raw|write png|WRITE PICTURE FILE|write jpg|write jpeg|write gif|write blob|write|Win to Mac|week of year|variable name|VALIDATE TRANSACTION|utc to local time|utc to local datetime|USE SET|USE NAMED SELECTION|url to native path|url encode query|url encode path|url encode|url decode query|url decode path|url decode|Uppercase|unlock globals|UNLOAD RECORD|UNION|Undefined|type descriptor|Type|Trunc|True|trim|timestamp year|timestamp time|timestamp string|timestamp second|timestamp month|timestamp minute|timestamp millisecond|timestamp hour|timestamp difference|timestamp day|timestamp date|timestamp|time to longint|Time string|Time|Tickcount|throw|TEXT TO BLOB|Test semaphore|Test path name|Table name|Table|Substring|Structure file|STRING LIST TO ARRAY|String|START TRANSACTION|split string|SORT ARRAY|slice string|Size of array|set session timeout|set session array|set session|set script timeout|set response status|set response header|set response cookie path|set response cookie expires|set response cookie domain|set response cookie|set response buffer|SET QUERY LIMIT|SET QUERY DESTINATION|set platform charset|set output encoding|set output charset|set log level|set local|set global array|set global|set expires date|set expires|set error page|SET DOCUMENT POSITION|SET DEFAULT CENTURY|set current script timeout|set content type|set content charset|set collection array|set collection|set cache control|SET AUTOMATIC RELATIONS|set array|session to blob|session query|session local|session internal id|session id|session has|session|Sequence number|SEND PACKET|Semaphore|SELECTION TO ARRAY|SELECTION RANGE TO ARRAY|Selected record number|SCAN INDEX|save upload to field|SAVE RECORD|save output|save collection|Round|right trim|response headers|response cookies|response buffer size|RESOLVE POINTER|resize array|require|requested url|request query|request info|request cookies|Replace string|REMOVE FROM SET|RELATE ONE SELECTION|RELATE ONE|RELATE MANY SELECTION|RELATE MANY|regex split|regex replace|regex quote pattern|regex match all|regex match|regex find in array|regex find all in array|regex callback replace|REDUCE SELECTION|redirect|Records in table|Records in set|Records in selection|Record number|RECEIVE PACKET|READ WRITE|READ PICTURE FILE|Read only state|READ ONLY|random between|Random|QUERY WITH ARRAY|QUERY SELECTION BY FORMULA|QUERY SELECTION|query params has|query params|QUERY BY FORMULA|QUERY|PREVIOUS RECORD|Position|Picture size|PICTURE PROPERTIES|parameter mode|param text|ORDER BY FORMULA|ORDER BY|Open document|ONE RECORD SELECT|Num|Not|nil pointer|Nil|NEXT RECORD|next item|new local collection|new global collection|new collection|native to url path|multisort named arrays|multisort arrays|MOVE DOCUMENT|more items|Month of|min of|Milliseconds|method exists|merge collections|md5 sum|max of|Mac to Win|Mac to ISO|mac to html|Lowercase|longint to time|log message|Locked|lock globals|local variables|local time to utc|local datetime to utc|LOAD RECORD|load collection|LIST TO ARRAY|library list|Length|left trim|LAST RECORD|last of|last not of|join paths|join array|ISO to Mac|Is in set|is array|is an iterator|is a collection|INTERSECTION|interpolate string|Int|insert into array|INSERT ELEMENT|include into|include|in error|import|identical strings|hide session field|GOTO SELECTED RECORD|GOTO RECORD|globals has|globals|global|get version|get utc delta|get upload size|get upload remote filename|get upload extension|get upload encoding|get upload content type|get timestamp datetime|get time remaining|get session timeout|get session stats|get session names|get session item|get session array size|get session array|get session|get script timeout|get root|get response headers|get response header|get response cookies|get response cookie path|get response cookie expires|get response cookie domain|get response cookie|get response buffer|get request value|get request infos|get request info|get request cookies|get request cookie|get query params|get query param count|get query param choices|get query param|Get pointer|get platform charset|GET PICTURE FROM LIBRARY|get output encoding|get output charset|get log level|get local|get license info|get library list|get item value|get item type|get item key|get item array|Get indexed string|get global keys|get global item|get global array size|get global array|get global|get form variables|get form variable count|get form variable choices|get form variable|GET FIELD PROPERTIES|get field pointer|get field numbers|get expires date|get expires|get error page|Get document position|get current script timeout|get content type|get content charset|get collection keys|get collection item count|get collection item|get collection array size|get collection array|get collection|get call chain|get cache control|get auto relations|full requested url|form variables has|form variables|FOLDER LIST|FIRST RECORD|first of|first not of|Find index key|Find in array|fill array|filename of|file exists|Field name|Field|False|extension of|execute in 4d|EXECUTE|End selection|end save output|enclose|DOCUMENT TO BLOB|DOCUMENT LIST|DISTINCT VALUES|directory separator|directory of|directory exists|DIFFERENCE|Delete string|delete session item|DELETE SELECTION|delete response header|delete response cookie|DELETE RECORD|delete global|DELETE FOLDER|DELETE ELEMENT|DELETE DOCUMENT|delete collection item|DELAY PROCESS|defined|define|default directory|deep copy collection|deep clear collection|Dec|day of year|Day of|Day number|Date|C_TIME|C_TEXT|C_STRING|C_REAL|C_POINTER|C_PICTURE|C_LONGINT|C_DATE|C_BOOLEAN|C_BLOB|CUT NAMED SELECTION|Current time|current realm|Current process|current platform|current path|Current method name|current line number|current library name|current file|Current date|CREATE SET FROM ARRAY|CREATE SET|CREATE SELECTION FROM ARRAY|CREATE RECORD|CREATE FOLDER|CREATE EMPTY SET|Create document|count uploads|Count tables|count session items|count response headers|count response cookies|count request infos|count request cookies|count query params|Count in array|count globals|count form variables|Count fields|count collection items|copy upload|COPY SET|COPY NAMED SELECTION|COPY DOCUMENT|copy collection|COPY ARRAY|concat|compare strings|collection to blob|collection has|collection|CLOSE DOCUMENT|CLEAR VARIABLE|CLEAR SET|CLEAR SEMAPHORE|clear response buffer|CLEAR NAMED SELECTION|clear collection|clear buffer (deprecated)|clear array|choose|Char|cell|capitalize|CANCEL TRANSACTION|call method|call 4d method|build query string|blowfish encrypt|blowfish decrypt|BLOB to text|blob to session|BLOB TO DOCUMENT|blob to collection|BLOB size|Before selection|base64 encode|base64 decode|AUTOMATIC RELATIONS|auto relate|authenticate|auth user|auth type|auth password|Ascii|ARRAY TEXT|ARRAY STRING|ARRAY REAL|ARRAY POINTER|ARRAY PICTURE|ARRAY LONGINT|ARRAY INTEGER|ARRAY DATE|ARRAY BOOLEAN|append to array|Append document|ALL RECORDS|add to timestamp|ADD TO SET|Add to date|add element|Abs|abandon session|abandon response cookie)\b
260
- comment: 4D and Active4D commands
261
- - name: support.function.active4d
262
- match: (?i)\b((yearMonthDay|writeDumpStyles|writeBold|write|warnInvalidField|valueList|valueCountNoCase|valueCount|validPrice|validEmailAddress|validateTextFields|unlockAndLoad|truncateText|timedOut|sourceRowCount|sort|setTitle|setTimeout|setSMTPHost|setSMTPAuthorization|setSeparator|setRelateOne|setMailMethod|setDivId|setDefaults|setColumnData|setColumnArray|setAt|sendMail|sendFuseaction|saveFormToSession|rowCount|reverseArray|rest|qualify|previous|prepend|postHandleError|persistent|ordinalOf|nextID|next|newFromSelection|newFromRowSet|newFromFile|newFromData|newFromCachedSelection|newFromArrays|newFromArray|new|move|maxRows|makeURL|makeSafeMailto|makeLinks|makeFuseboxLinks|listToArray|len|last|isLast|isFuseboxRequest|isFirst|isBeforeFirst|isAfterLast|insertAt|hideUniqueField|hideField|handleError|gotoRow|getVariablesIterator|getUniqueID|getTitle|getTimeout|getStarts|getStart|getSMTPHost|getSMTPAuthUser|getSMTPAuthPassword|getSMTPAuthorization|getRow|getPointerReferent|getPictureDescriptor|getPersistentList|getMailMethod|getEnd|getEmptyFields|getDefaults|getData|getColumn|getAt|fuseboxNew|formVariableListToQuery|formatUSPhone|first|findRow|findNoCase|findColumn|find|filterCollection|embedVariables|embedQueryParams|embedFormVariables|embedFormVariableList|embedCollectionItems|embedCollection|dumpPersistent|dumpLib|dumpDefaults|dump session stats|dump session|dump selection|dump RowSet|dump request info|dump request|dump query params|dump locals|dump license info|dump form variables|dump collection|dump array|dump|deleteSelection|deleteAt|currentRow|core|containsNoCase|contains|columnCount|collectionToQuery|collectionItemsToQuery|clearPersistent|chopText|checkSession|checkboxState|changeDelims|camelCaseText|buildSelectValueMenu|buildSelectMenu|buildRecordList|buildOptionsFromSelection|buildOptionsFromRowSet|buildOptionsFromOptionList|buildOptionsFromOptionArray|buildOptionsFromLists|buildOptionsFromArrays|buildArrayValueList|buildArrayList|beforeFirst|articleFor|arrayToList|append|afterLast|addMetaTag|addJS|addJavascript|addDumpStyles|addCSS|add))\b
263
- comment: library methods
264
- - name: support.variable.active4d
265
- match: (?i)\b(OK|Document|fusebox\.conf\.fuseaction)\b
266
- - captures:
267
- "1":
268
- name: support.class.active4d
269
- "2":
270
- name: support.function.active4d
271
- match: (?<!\$)\b((?:a4d\.(?:console|debug|lists|utils|web)|Batch|Breadcrumbs|fusebox\.conf|fusebox\.head|fusebox|RowSet))\.([[:alpha:]][[[:alnum:]]_ ]+[[:alnum:]])
272
- foldingStopMarker: |-
273
- (?x)
274
- (^\s*(?i:end\ (if|while|for\ each|for|case|method|save output)|until)\b
275
- )
276
- keyEquivalent: ^~A