ultraviolet1x 0.12.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (246) hide show
  1. data/.gitignore +2 -0
  2. data/Gemfile +8 -0
  3. data/Gemfile.lock +16 -0
  4. data/History.txt +25 -0
  5. data/README.rdoc +29 -0
  6. data/README.txt +52 -0
  7. data/Rakefile +11 -0
  8. data/bin/theme2latexrender +122 -0
  9. data/bin/theme2xhtmlrender +156 -0
  10. data/bin/uv +140 -0
  11. data/broken_syntax/markdown.syntax +543 -0
  12. data/broken_syntax/php.syntax +1253 -0
  13. data/lib/uv/render_processor.rb +140 -0
  14. data/lib/uv/utility.rb +67 -0
  15. data/lib/uv/version.rb +3 -0
  16. data/lib/uv.rb +95 -0
  17. data/mm/manual.mm +840 -0
  18. data/render/latex/active4d.render +132 -0
  19. data/render/latex/all_hallows_eve.render +96 -0
  20. data/render/latex/amy.render +171 -0
  21. data/render/latex/blackboard.render +111 -0
  22. data/render/latex/brilliance_black.render +552 -0
  23. data/render/latex/brilliance_dull.render +561 -0
  24. data/render/latex/cobalt.render +162 -0
  25. data/render/latex/dawn.render +126 -0
  26. data/render/latex/eiffel.render +132 -0
  27. data/render/latex/espresso_libre.render +123 -0
  28. data/render/latex/idle.render +93 -0
  29. data/render/latex/iplastic.render +99 -0
  30. data/render/latex/lazy.render +96 -0
  31. data/render/latex/mac_classic.render +135 -0
  32. data/render/latex/magicwb_amiga.render +117 -0
  33. data/render/latex/pastels_on_dark.render +204 -0
  34. data/render/latex/slush_poppies.render +123 -0
  35. data/render/latex/spacecadet.render +81 -0
  36. data/render/latex/sunburst.render +186 -0
  37. data/render/latex/twilight.render +153 -0
  38. data/render/latex/zenburnesque.render +126 -0
  39. data/render/old/txt2tags.render +131 -0
  40. data/render/xhtml/active4d.render +140 -0
  41. data/render/xhtml/all_hallows_eve.render +104 -0
  42. data/render/xhtml/amy.render +179 -0
  43. data/render/xhtml/blackboard.render +119 -0
  44. data/render/xhtml/brilliance_black.render +560 -0
  45. data/render/xhtml/brilliance_dull.render +569 -0
  46. data/render/xhtml/cobalt.render +170 -0
  47. data/render/xhtml/dawn.render +134 -0
  48. data/render/xhtml/eiffel.render +140 -0
  49. data/render/xhtml/espresso_libre.render +131 -0
  50. data/render/xhtml/files/css/active4d.css +114 -0
  51. data/render/xhtml/files/css/all_hallows_eve.css +72 -0
  52. data/render/xhtml/files/css/amy.css +147 -0
  53. data/render/xhtml/files/css/blackboard.css +88 -0
  54. data/render/xhtml/files/css/brilliance_black.css +605 -0
  55. data/render/xhtml/files/css/brilliance_dull.css +599 -0
  56. data/render/xhtml/files/css/cobalt.css +149 -0
  57. data/render/xhtml/files/css/dawn.css +121 -0
  58. data/render/xhtml/files/css/eiffel.css +121 -0
  59. data/render/xhtml/files/css/espresso_libre.css +109 -0
  60. data/render/xhtml/files/css/idle.css +62 -0
  61. data/render/xhtml/files/css/iplastic.css +80 -0
  62. data/render/xhtml/files/css/lazy.css +73 -0
  63. data/render/xhtml/files/css/mac_classic.css +123 -0
  64. data/render/xhtml/files/css/magicwb_amiga.css +104 -0
  65. data/render/xhtml/files/css/pastels_on_dark.css +188 -0
  66. data/render/xhtml/files/css/slush_poppies.css +85 -0
  67. data/render/xhtml/files/css/spacecadet.css +51 -0
  68. data/render/xhtml/files/css/sunburst.css +180 -0
  69. data/render/xhtml/files/css/twilight.css +137 -0
  70. data/render/xhtml/files/css/zenburnesque.css +91 -0
  71. data/render/xhtml/idle.render +101 -0
  72. data/render/xhtml/iplastic.render +107 -0
  73. data/render/xhtml/lazy.render +104 -0
  74. data/render/xhtml/mac_classic.render +143 -0
  75. data/render/xhtml/magicwb_amiga.render +125 -0
  76. data/render/xhtml/pastels_on_dark.render +212 -0
  77. data/render/xhtml/slush_poppies.render +131 -0
  78. data/render/xhtml/spacecadet.render +89 -0
  79. data/render/xhtml/sunburst.render +194 -0
  80. data/render/xhtml/twilight.render +161 -0
  81. data/render/xhtml/zenburnesque.render +134 -0
  82. data/syntax/actionscript.syntax +97 -0
  83. data/syntax/active4d.syntax +276 -0
  84. data/syntax/active4d_html.syntax +311 -0
  85. data/syntax/active4d_ini.syntax +50 -0
  86. data/syntax/active4d_library.syntax +21 -0
  87. data/syntax/ada.syntax +33 -0
  88. data/syntax/antlr.syntax +151 -0
  89. data/syntax/apache.syntax +191 -0
  90. data/syntax/applescript.syntax +384 -0
  91. data/syntax/asp.syntax +70 -0
  92. data/syntax/asp_vb.net.syntax +129 -0
  93. data/syntax/bibtex.syntax +151 -0
  94. data/syntax/blog_html.syntax +41 -0
  95. data/syntax/blog_markdown.syntax +42 -0
  96. data/syntax/blog_text.syntax +27 -0
  97. data/syntax/blog_textile.syntax +27 -0
  98. data/syntax/buggy/nemerle.syntax +74 -0
  99. data/syntax/build.syntax +53 -0
  100. data/syntax/bulletin_board.syntax +287 -0
  101. data/syntax/c++.syntax +186 -0
  102. data/syntax/c.syntax +414 -0
  103. data/syntax/cake.syntax +55 -0
  104. data/syntax/camlp4.syntax +36 -0
  105. data/syntax/cm.syntax +32 -0
  106. data/syntax/coffeescript.syntax +216 -0
  107. data/syntax/coldfusion.syntax +119 -0
  108. data/syntax/context_free.syntax +176 -0
  109. data/syntax/cs.syntax +59 -0
  110. data/syntax/css.syntax +195 -0
  111. data/syntax/css_experimental.syntax +1925 -0
  112. data/syntax/csv.syntax +68 -0
  113. data/syntax/d.syntax +142 -0
  114. data/syntax/diff.syntax +81 -0
  115. data/syntax/dokuwiki.syntax +204 -0
  116. data/syntax/dot.syntax +47 -0
  117. data/syntax/doxygen.syntax +43 -0
  118. data/syntax/dylan.syntax +62 -0
  119. data/syntax/eiffel.syntax +78 -0
  120. data/syntax/erlang.syntax +922 -0
  121. data/syntax/f-script.syntax +80 -0
  122. data/syntax/fortran.syntax +141 -0
  123. data/syntax/fxscript.syntax +142 -0
  124. data/syntax/greasemonkey.syntax +34 -0
  125. data/syntax/gri.syntax +83 -0
  126. data/syntax/groovy.syntax +191 -0
  127. data/syntax/gtd.syntax +22 -0
  128. data/syntax/gtdalt.syntax +143 -0
  129. data/syntax/haml.syntax +88 -0
  130. data/syntax/haskell.syntax +88 -0
  131. data/syntax/html-asp.syntax +27 -0
  132. data/syntax/html.syntax +362 -0
  133. data/syntax/html_django.syntax +36 -0
  134. data/syntax/html_for_asp.net.syntax +424 -0
  135. data/syntax/html_mason.syntax +119 -0
  136. data/syntax/html_rails.syntax +40 -0
  137. data/syntax/html_tcl.syntax +26 -0
  138. data/syntax/icalendar.syntax +32 -0
  139. data/syntax/inform.syntax +48 -0
  140. data/syntax/ini.syntax +55 -0
  141. data/syntax/installer_distribution_script.syntax +77 -0
  142. data/syntax/io.syntax +81 -0
  143. data/syntax/java.syntax +211 -0
  144. data/syntax/javaproperties.syntax +20 -0
  145. data/syntax/javascript.syntax +256 -0
  146. data/syntax/javascript_+_prototype.syntax +72 -0
  147. data/syntax/javascript_+_prototype_bracketed.syntax +140 -0
  148. data/syntax/jquery_javascript.syntax +114 -0
  149. data/syntax/json.syntax +136 -0
  150. data/syntax/languagedefinition.syntax +708 -0
  151. data/syntax/latex.syntax +566 -0
  152. data/syntax/latex_beamer.syntax +41 -0
  153. data/syntax/latex_log.syntax +50 -0
  154. data/syntax/latex_memoir.syntax +64 -0
  155. data/syntax/lexflex.syntax +219 -0
  156. data/syntax/lighttpd.syntax +54 -0
  157. data/syntax/lilypond.syntax +492 -0
  158. data/syntax/lisp.syntax +61 -0
  159. data/syntax/literate_haskell.syntax +24 -0
  160. data/syntax/logo.syntax +29 -0
  161. data/syntax/logtalk.syntax +152 -0
  162. data/syntax/lua.syntax +86 -0
  163. data/syntax/m.syntax +142 -0
  164. data/syntax/macports_portfile.syntax +163 -0
  165. data/syntax/mail.syntax +118 -0
  166. data/syntax/makefile.syntax +36 -0
  167. data/syntax/man.syntax +17 -0
  168. data/syntax/mediawiki.syntax +567 -0
  169. data/syntax/mel.syntax +92 -0
  170. data/syntax/mips.syntax +66 -0
  171. data/syntax/mod_perl.syntax +50 -0
  172. data/syntax/modula-3.syntax +47 -0
  173. data/syntax/moinmoin.syntax +189 -0
  174. data/syntax/mootools.syntax +572 -0
  175. data/syntax/movable_type.syntax +162 -0
  176. data/syntax/multimarkdown.syntax +39 -0
  177. data/syntax/objective-c++.syntax +18 -0
  178. data/syntax/objective-c.syntax +233 -0
  179. data/syntax/ocaml.syntax +764 -0
  180. data/syntax/ocamllex.syntax +167 -0
  181. data/syntax/ocamlyacc.syntax +184 -0
  182. data/syntax/old/YAML.yaml +160 -0
  183. data/syntax/old/txt2tags.yaml +139 -0
  184. data/syntax/opengl.syntax +14 -0
  185. data/syntax/pascal.syntax +77 -0
  186. data/syntax/perl.syntax +1115 -0
  187. data/syntax/plain_text.syntax +32 -0
  188. data/syntax/pmwiki.syntax +113 -0
  189. data/syntax/postscript.syntax +114 -0
  190. data/syntax/processing.syntax +106 -0
  191. data/syntax/prolog.syntax +40 -0
  192. data/syntax/property_list.syntax +635 -0
  193. data/syntax/python.syntax +868 -0
  194. data/syntax/python_django.syntax +21 -0
  195. data/syntax/qmake_project.syntax +114 -0
  196. data/syntax/qt_c++.syntax +26 -0
  197. data/syntax/quake3_config.syntax +32 -0
  198. data/syntax/r.syntax +81 -0
  199. data/syntax/r_console.syntax +16 -0
  200. data/syntax/ragel.syntax +201 -0
  201. data/syntax/rd_r_documentation.syntax +91 -0
  202. data/syntax/regexp.syntax +50 -0
  203. data/syntax/regular_expressions_oniguruma.syntax +107 -0
  204. data/syntax/regular_expressions_python.syntax +109 -0
  205. data/syntax/release_notes.syntax +46 -0
  206. data/syntax/remind.syntax +253 -0
  207. data/syntax/restructuredtext.syntax +250 -0
  208. data/syntax/rez.syntax +80 -0
  209. data/syntax/ruby.syntax +1035 -0
  210. data/syntax/ruby_experimental.syntax +145 -0
  211. data/syntax/ruby_on_rails.syntax +88 -0
  212. data/syntax/s5.syntax +69 -0
  213. data/syntax/sass.syntax +45 -0
  214. data/syntax/scheme.syntax +347 -0
  215. data/syntax/scilab.syntax +41 -0
  216. data/syntax/setext.syntax +147 -0
  217. data/syntax/shell-unix-generic.syntax +384 -0
  218. data/syntax/slate.syntax +149 -0
  219. data/syntax/smarty.syntax +63 -0
  220. data/syntax/sql.syntax +237 -0
  221. data/syntax/sql_rails.syntax +18 -0
  222. data/syntax/ssh-config.syntax +33 -0
  223. data/syntax/standard_ml.syntax +121 -0
  224. data/syntax/strings_file.syntax +39 -0
  225. data/syntax/subversion_commit_message.syntax +36 -0
  226. data/syntax/sweave.syntax +84 -0
  227. data/syntax/swig.syntax +57 -0
  228. data/syntax/tcl.syntax +152 -0
  229. data/syntax/template_toolkit.syntax +121 -0
  230. data/syntax/tex.syntax +86 -0
  231. data/syntax/tex_math.syntax +49 -0
  232. data/syntax/textile.syntax +215 -0
  233. data/syntax/tsv.syntax +50 -0
  234. data/syntax/twiki.syntax +241 -0
  235. data/syntax/txt2tags.syntax +79 -0
  236. data/syntax/vectorscript.syntax +57 -0
  237. data/syntax/xhtml_1.0.syntax +4027 -0
  238. data/syntax/xml.syntax +180 -0
  239. data/syntax/xml_strict.syntax +92 -0
  240. data/syntax/xsl.syntax +60 -0
  241. data/syntax/yaml.syntax +160 -0
  242. data/syntax/yui_javascript.syntax +176 -0
  243. data/test/ultraviolet_test.rb +17 -0
  244. data/test/uv_test.rb +0 -0
  245. data/ultraviolet1x.gemspec +22 -0
  246. metadata +333 -0
@@ -0,0 +1,572 @@
1
+ ---
2
+ name: MooTools
3
+ scopeName: source.js.mootools
4
+ repository:
5
+ array-functions:
6
+ name: meta.function.array.js.mootools
7
+ endCaptures:
8
+ "1":
9
+ name: support.function.array.js.mootools
10
+ begin: (\$(?:each|A)\()
11
+ contentName: variable.parameter.function.array.js.mootools
12
+ beginCaptures:
13
+ "1":
14
+ name: support.function.array.js.mootools
15
+ end: (\))
16
+ patterns:
17
+ - include: source.js
18
+ element-functions:
19
+ name: meta.function.element.js.mootools
20
+ endCaptures:
21
+ "1":
22
+ name: support.function.element.js.mootools
23
+ begin: (\$?\$\()
24
+ contentName: variable.parameter.function.element.js.mootools
25
+ beginCaptures:
26
+ "1":
27
+ name: support.function.element.js.mootools
28
+ end: (\))
29
+ patterns:
30
+ - include: source.js
31
+ hash-functions:
32
+ name: meta.function.hash.js.mootools
33
+ endCaptures:
34
+ "1":
35
+ name: support.function.hash.js.mootools
36
+ begin: (\$H\()
37
+ contentName: variable.parameter.function.hash.js.mootools
38
+ beginCaptures:
39
+ "1":
40
+ name: support.function.hash.js.mootools
41
+ end: (\))
42
+ patterns:
43
+ - include: source.js
44
+ fx-options:
45
+ patterns:
46
+ - name: support.class.keys.fx.options.js.mootools
47
+ match: \b(onStart|onComplete|transition|duration|unit|wait|fps)\b
48
+ - name: support.class.keys.fx.slide.options.js.mootools
49
+ match: \b(mode)\b
50
+ leading-space:
51
+ patterns:
52
+ - name: meta.leading-tabs
53
+ begin: ^(?=(\t| ))
54
+ end: (?=[^\t\s])
55
+ patterns:
56
+ - captures:
57
+ "6":
58
+ name: meta.even-tab.group6.spaces
59
+ "11":
60
+ name: meta.odd-tab.group11.spaces
61
+ "7":
62
+ name: meta.odd-tab.group7.spaces
63
+ "8":
64
+ name: meta.even-tab.group8.spaces
65
+ "9":
66
+ name: meta.odd-tab.group9.spaces
67
+ "1":
68
+ name: meta.odd-tab.group1.spaces
69
+ "2":
70
+ name: meta.even-tab.group2.spaces
71
+ "3":
72
+ name: meta.odd-tab.group3.spaces
73
+ "4":
74
+ name: meta.even-tab.group4.spaces
75
+ "10":
76
+ name: meta.even-tab.group10.spaces
77
+ "5":
78
+ name: meta.odd-tab.group5.spaces
79
+ match: ( )( )?( )?( )?( )?( )?( )?( )?( )?( )?( )?
80
+ - captures:
81
+ "6":
82
+ name: meta.even-tab.group6.tab
83
+ "11":
84
+ name: meta.odd-tab.group11.tab
85
+ "7":
86
+ name: meta.odd-tab.group7.tab
87
+ "8":
88
+ name: meta.even-tab.group8.tab
89
+ "9":
90
+ name: meta.odd-tab.group9.tab
91
+ "1":
92
+ name: meta.odd-tab.group1.tab
93
+ "2":
94
+ name: meta.even-tab.group2.tab
95
+ "3":
96
+ name: meta.odd-tab.group3.tab
97
+ "4":
98
+ name: meta.even-tab.group4.tab
99
+ "10":
100
+ name: meta.even-tab.group10.tab
101
+ "5":
102
+ name: meta.odd-tab.group5.tab
103
+ match: (\t)(\t)?(\t)?(\t)?(\t)?(\t)?(\t)?(\t)?(\t)?(\t)?(\t)?
104
+ comment: |
105
+
106
+ The leading-space code is the ribbon highlighing thomas Aylott contributed to source.js.prototype.
107
+ More info in this thread:
108
+ http://comox.textdrive.com/pipermail/textmate/2006-August/012373.html
109
+
110
+ dom-functions:
111
+ name: meta.function.dom.js.mootools
112
+ endCaptures:
113
+ "1":
114
+ name: support.function.dom.js.mootools
115
+ begin: (\$ES?\()
116
+ contentName: variable.parameter.function.dom.js.mootools
117
+ beginCaptures:
118
+ "1":
119
+ name: support.function.dom.js.mootools
120
+ end: (\))
121
+ patterns:
122
+ - include: source.js
123
+ uuid: 7E4B5859-2FB4-4D2A-9105-276BDE28B94E
124
+ foldingStartMarker: (^.*{[^}]*$|^.*\([^\)]*$|^.*/\*(?!.*\*/).*$)
125
+ patterns:
126
+ - name: support.class.js.mootools
127
+ match: \b(Class|Array|Element|Event|Function|String)\b
128
+ comment: |-
129
+
130
+ Class
131
+ The base class object of the http://mootools.net framework.
132
+ http://docs.mootools.net/files/Core/Moo-js.html
133
+ - name: support.class.class.js.mootools
134
+ match: \b(empty|extend|implement)\b
135
+ - name: support.function.class.js.mootools
136
+ match: \b(extend|Native)\b
137
+ - name: support.function.utility.js.mootools
138
+ match: \$(type|chk|pick|random|clear)\b
139
+ comment: |
140
+
141
+ Utility
142
+ Contains Utility functions
143
+ http://docs.mootools.net/files/Core/Utility-js.html
144
+
145
+ - captures:
146
+ "1":
147
+ name: support.class.window.browser.js.mootools
148
+ match: window\.(ie|ie6|ie7|khtml|gecko)\b
149
+ - include: "#array-functions"
150
+ comment: |-
151
+
152
+ Array
153
+ A collection of The Array Object prototype methods.
154
+ http://docs.mootools.net/files/Native/Array-js.html
155
+ - name: support.class.array.js.mootools
156
+ match: \b(forEach|filter|map|every|some|indexOf|each|copy|remove|test|extend|associate)\b
157
+ - include: "#element-functions"
158
+ comment: |-
159
+
160
+ Element
161
+ Custom class to allow all of its methods to be used with any DOM element via the dollar function $.
162
+ http://docs.mootools.net/files/Native/Element-js.html
163
+ - name: support.class.element.js.mootools
164
+ match: \b(injectBefore|injectAfter|injectInside|adopt|remove|clone|replaceWith|appendText|hasClass|addClass|removeClass|toggleClass|setStyle|setStyles|setOpacity|getStyle|addEvent|removeEvent|removeEvents|fireEvent|getPrevious|getNext|getFirst|getLast|getParent|getChildren|setProperty|setProperties|setHTML|getProperty|getTag|scrollTo|getValue|getSize|getPosition|getTop|getLeft|getCoordinates)\b
165
+ - name: support.class.event.js.mootools
166
+ match: \b(stop|stopPropagation|preventDefault|bindWithEvent)\b
167
+ comment: |-
168
+
169
+ Event
170
+ Cross browser methods to manage events.
171
+ http://docs.mootools.net/files/Native/Event-js.html
172
+ - name: support.class.function.js.mootools
173
+ match: \b(create|pass|attempt|bind|bindAsEventListener|delay|periodical)\b
174
+ comment: |-
175
+
176
+ Function
177
+ A collection of The Function Object prototype methods.
178
+ http://docs.mootools.net/files/Native/Function-js.html
179
+ - name: support.class.string.js.mootools
180
+ match: \b(test|toInt|camelCase|hyphenate|capitalize|trim|clean|rgbToHex|hexToRgb)\b
181
+ comment: |-
182
+
183
+ String
184
+ A collection of The String Object prototype methods.
185
+ http://docs.mootools.net/files/Native/String-js.html
186
+ - name: support.class.number.js.mootools
187
+ match: \btoInt\b
188
+ - include: "#dom-functions"
189
+ comment: |-
190
+
191
+ DOM
192
+ Css Query related function and Element extensions.
193
+ http://docs.mootools.net/files/Addons/Dom-js.html
194
+ - name: support.class.dom.js.mootools
195
+ match: \b(getElements|getElementById|getElement|getElementsBySelector|getElementsByClassName)\b
196
+ comment: document. getElementsByClassName might belong somewhere else
197
+ - include: "#hash-functions"
198
+ comment: |-
199
+
200
+ Hash
201
+ It wraps an object that it uses internally as a map.
202
+ http://docs.mootools.net/files/Addons/Hash-js.html
203
+ -- note: several overlaps in here with named properties from array.js.mootools
204
+ - name: support.class.hash.js.mootools
205
+ match: \b(get|hasKey|set|remove|each|extend|empty|keys|values)\b
206
+ - name: support.class.color.js.mootools
207
+ match: \b(mix|invert|setHue|setSaturation|setBrightness)\b
208
+ comment: |-
209
+
210
+ Color
211
+ Creates a new Color Object, which is an array with some color specific methods.
212
+ http://docs.mootools.net/files/Addons/Color-js.html
213
+ - name: support.function.color.js.mootools
214
+ captures:
215
+ "1":
216
+ name: variable.parameter.function.js
217
+ match: \$(?:RGB|HSB)\(([^)]*)\)\b
218
+ - name: support.function.chain.js.mootools
219
+ match: \b(chain|(call|clear)Chain)\b
220
+ comment: |-
221
+
222
+ Common
223
+ Contains common implementations for custom classes.
224
+ http://docs.mootools.net/files/Addons/Common-js.html
225
+ - name: support.function.events.js.mootools
226
+ match: \b(add|fire|remove)Event\b
227
+ - name: support.function.options.js.mootools
228
+ match: \bsetOptions\b
229
+ - name: support.class.base.window.js.mootools
230
+ match: \bonDomReady\b
231
+ comment: |-
232
+
233
+ Window Base
234
+ Cross browser methods to get the window size, onDomReady method.
235
+ http://docs.mootools.net/files/Window/Window-Base-js.html
236
+ -- note: addEvent is already listed under Element
237
+ - name: support.class.size.window.js.mootools
238
+ match: \b(get(Width|Height|Scroll(Width|Height|Left|Top)))\b
239
+ comment: |-
240
+
241
+ Window Size
242
+ Cross browser methods to get various window dimensions.
243
+ http://docs.mootools.net/files/Window/Window-Size-js.html
244
+ -- note: getSize is already listed under Element
245
+ - name: support.class.ajax.js.mootools
246
+ match: \b(request|evalScripts)\b
247
+ comment: |-
248
+
249
+ Ajax
250
+ An Ajax class, For all your asynchronous needs.
251
+ http://docs.mootools.net/files/Remote/Ajax-js.html
252
+ - name: support.function.js.mootools
253
+ match: \btoQueryString\b
254
+ comment: "note: both Object and Element have a toQueryString function/property"
255
+ - name: support.class.element.js
256
+ match: \bsend\b
257
+ - name: support.function.asset.js.mootools
258
+ match: \b(javascript|css|images?)\b
259
+ comment: |-
260
+
261
+ Assets
262
+ provides dynamic loading for images, css and javascript files.
263
+ http://docs.mootools.net/files/Remote/Assets-js.html
264
+ - name: support.class.cookie.js.mootools
265
+ match: \b(set|get|remove)\b
266
+ comment: |-
267
+
268
+ Cookie
269
+ Class for creating, getting, and removing cookies.
270
+ http://docs.mootools.net/files/Remote/Assets-js.html
271
+ - name: support.class.json.js.mootools
272
+ match: \b(toString|evaluate)\b
273
+ comment: |-
274
+
275
+ Json
276
+ Simple Json parser and Stringyfier, See: http://www.json.org/
277
+ http://docs.mootools.net/files/Remote/Json-js.html
278
+ - name: support.class.json.js.mootools
279
+ match: \bJson\.Remote\b
280
+ comment: |-
281
+
282
+ Json Remote
283
+ Wrapped XHR with automated sending and receiving of Javascript Objects in Json Format.
284
+ http://docs.mootools.net/files/Remote/Json-Remote-js.html
285
+ - name: support.class.xhr.js.mootools
286
+ match: \bXHR\b
287
+ comment: |-
288
+
289
+ XHR
290
+ Contains the basic XMLHttpRequest Class Wrapper.
291
+ http://docs.mootools.net/files/Remote/XHR-js.html
292
+ - name: support.class.base.fx.js.mootools
293
+ match: \b(set|start|stop)\b
294
+ comment: |-
295
+
296
+ Fx.Base
297
+ Base class for the Mootools Effects (Moo.Fx) library.
298
+ http://docs.mootools.net/files/Effects/Fx-Base-js.html
299
+ - name: support.class.transitions.fx.js.mootools
300
+ match: \b(linear|sineInOut)\b
301
+ - name: support.class.keys.options.transitions.fx
302
+ match: \b(onStart|onComplete|transition|duration|unit|wait|fps)\b
303
+ - name: support.class.elements.fx.js.mootools
304
+ match: \b(start)\b
305
+ comment: |-
306
+
307
+ Fx.Elements
308
+ Fx.Elements allows you to apply any number of styles transitions to a selection of elements.
309
+ http://docs.mootools.net/files/Effects/Fx-Elements-js.html
310
+ - endCaptures:
311
+ "1":
312
+ name: punctuation.definition.parameters.end.js
313
+ begin: (new)\s+(Fx\.Elements)(\()
314
+ contentName: variable.parameter.fx.elements.js.mootools
315
+ beginCaptures:
316
+ "1":
317
+ name: keyword.operator.new.js
318
+ "2":
319
+ name: entity.name.type.instance.js.mootools
320
+ "3":
321
+ name: punctuation.definition.parameters.begin.js
322
+ end: (\)(;|$))
323
+ patterns:
324
+ - include: "#element-functions"
325
+ - include: "#array-functions"
326
+ - include: "#dom-functions"
327
+ - include: "#hash-functions"
328
+ - endCaptures:
329
+ "1":
330
+ name: punctuation.definition.parameters.end.js
331
+ begin: (\{)
332
+ contentName: variable.parameter.fx.elements.options.js.mootools
333
+ beginCaptures:
334
+ "1":
335
+ name: punctuation.definition.parameters.begin.js
336
+ end: (\})(?=\))
337
+ patterns:
338
+ - name: punctuation.separator.key-value.js.mootools
339
+ match: (:)
340
+ - include: "#fx-options"
341
+ - include: source.js
342
+ - name: support.class.scroll.fx.js.mootools
343
+ match: \b(scrollTo|to(Top|Bottom|Left|Right|Element))
344
+ comment: |-
345
+
346
+ Fx.Scroll
347
+ Scroll any element with an overflow, including the window element.
348
+ http://docs.mootools.net/files/Effects/Fx-Scroll-js.html
349
+ - endCaptures:
350
+ "1":
351
+ name: punctuation.definition.parameters.end.js
352
+ begin: (new)\s+(Fx\.Scroll)(\()
353
+ contentName: variable.parameter.fx.scroll.js.mootools
354
+ beginCaptures:
355
+ "1":
356
+ name: keyword.operator.new.js
357
+ "2":
358
+ name: entity.name.type.instance.js.mootools
359
+ "3":
360
+ name: punctuation.definition.parameters.begin.js
361
+ end: (\)(;|$))
362
+ patterns:
363
+ - include: "#element-functions"
364
+ - include: "#array-functions"
365
+ - include: "#dom-functions"
366
+ - include: "#hash-functions"
367
+ - endCaptures:
368
+ "1":
369
+ name: punctuation.definition.parameters.end.js
370
+ begin: (\{)
371
+ contentName: variable.parameter.fx.scroll.options.js.mootools
372
+ beginCaptures:
373
+ "1":
374
+ name: punctuation.definition.parameters.begin.js
375
+ end: (\})(?=\))
376
+ patterns:
377
+ - name: punctuation.separator.key-value.js.mootools
378
+ match: (:)
379
+ - include: "#fx-options"
380
+ - include: source.js
381
+ - name: support.class.slide.fx.js.mootools
382
+ match: \b(slide(In|Out)|hide|show|toggle)\b
383
+ comment: |-
384
+
385
+ Fx.Slide
386
+ The slide effect; slides an element in horizontally or vertically, the contents will fold inside.
387
+ http://docs.mootools.net/files/Effects/Fx-Slide-js.html
388
+ - endCaptures:
389
+ "1":
390
+ name: punctuation.definition.parameters.end.js
391
+ begin: (new)\s+(Fx\.Slide)(\()
392
+ contentName: variable.parameter.fx.slide.js.mootools
393
+ beginCaptures:
394
+ "1":
395
+ name: keyword.operator.new.js
396
+ "2":
397
+ name: entity.name.type.instance.js.mootools
398
+ "3":
399
+ name: punctuation.definition.parameters.begin.js
400
+ end: (\)(;|$))
401
+ patterns:
402
+ - include: "#element-functions"
403
+ - include: "#array-functions"
404
+ - include: "#dom-functions"
405
+ - include: "#hash-functions"
406
+ - endCaptures:
407
+ "1":
408
+ name: punctuation.definition.parameters.end.js
409
+ begin: (\{)
410
+ contentName: variable.parameter.fx.slide.options.js.mootools
411
+ beginCaptures:
412
+ "1":
413
+ name: punctuation.definition.parameters.begin.js
414
+ end: (\})(?=\))
415
+ patterns:
416
+ - name: punctuation.separator.key-value.js.mootools
417
+ match: (:)
418
+ - include: "#fx-options"
419
+ - include: source.js
420
+ - name: support.class.slide.fx.js.mootools
421
+ match: \b(hide|start)\b
422
+ comment: |-
423
+
424
+ Fx.Style
425
+ The Style effect; Extends Fx.Base, inherits all its properties.
426
+ http://docs.mootools.net/files/Effects/Fx-Style-js.html
427
+ - endCaptures:
428
+ "1":
429
+ name: punctuation.definition.parameters.end.js
430
+ begin: (new)\s+(Fx\.Style)(\()
431
+ contentName: variable.parameter.fx.style.js.mootools
432
+ beginCaptures:
433
+ "1":
434
+ name: keyword.operator.new.js
435
+ "2":
436
+ name: entity.name.type.instance.fx.style.js.mootools
437
+ "3":
438
+ name: punctuation.definition.parameters.begin.js
439
+ end: (\)(;|$))
440
+ patterns:
441
+ - include: "#element-functions"
442
+ - include: "#array-functions"
443
+ - include: "#dom-functions"
444
+ - include: "#hash-functions"
445
+ - endCaptures:
446
+ "1":
447
+ name: punctuation.definition.parameters.end.js
448
+ begin: ,\s*(\{)
449
+ contentName: variable.parameter.fx.style.options.js.mootools
450
+ beginCaptures:
451
+ "1":
452
+ name: punctuation.definition.parameters.begin.js
453
+ end: (\})(?=\))
454
+ patterns:
455
+ - name: punctuation.separator.key-value.js.mootools
456
+ match: (:)
457
+ - include: "#fx-options"
458
+ - include: source.js
459
+ - name: support.class.element.js.mootools
460
+ match: \b(effect)\b
461
+ - name: support.class.styles.fx.js.mootools
462
+ match: \b(start)\b
463
+ comment: |-
464
+
465
+ Fx.Styles
466
+ Allows you to animate multiple css properties at once; Extends Fx.Base, inherits all its properties.
467
+ http://docs.mootools.net/files/Effects/Fx-Styles-js.html
468
+ - endCaptures:
469
+ "1":
470
+ name: punctuation.definition.parameters.end.js
471
+ begin: (new)\s+(Fx\.Styles)(\()
472
+ contentName: variable.parameter.fx.styles.js.mootools
473
+ beginCaptures:
474
+ "1":
475
+ name: keyword.operator.new.js
476
+ "2":
477
+ name: entity.name.type.instance.js.mootools
478
+ "3":
479
+ name: punctuation.definition.parameters.begin.js
480
+ end: (\)(;|$))
481
+ patterns:
482
+ - include: "#element-functions"
483
+ - include: "#array-functions"
484
+ - include: "#dom-functions"
485
+ - include: "#hash-functions"
486
+ - endCaptures:
487
+ "1":
488
+ name: punctuation.definition.parameters.end.js
489
+ begin: (\{)
490
+ contentName: variable.parameter.fx.styles.options.js.mootools
491
+ beginCaptures:
492
+ "1":
493
+ name: punctuation.definition.parameters.begin.js
494
+ end: (\})(?=\))
495
+ patterns:
496
+ - name: punctuation.separator.key-value.js.mootools
497
+ match: (:)
498
+ - include: "#fx-options"
499
+ - include: source.js
500
+ - name: support.class.element.js.mootools
501
+ match: \b(effects)\b
502
+ - name: support.class.transitions.fx.js.mootools
503
+ match: \b(linear|quadIn|quadOut|quadInOut|cubicIn|cubicOut|cubicInOut|quartIn|quartOut|quartInOut|quintIn|quintOut|quintInOut|sineIn|sineOut|sineInOut|expoIn|expoOut|expoInOut|circIn|circOut|circInOut|elasticIn|elasticOut|elasticInOut|backIn|backOut|backInOut|bounceIn|bounceOut|bounceInOut)\b
504
+ comment: |-
505
+
506
+ Fx.Transitions
507
+ A collection of tweaning transitions for use with the Fx.Base classes.
508
+ http://docs.mootools.net/files/Effects/Fx-Transitions-js.html
509
+ - name: support.class.fx.utils.js.mootools
510
+ match: \b(toggle|show)\b
511
+ comment: |-
512
+
513
+ Fx.Utils
514
+ Contains Fx.Height, Fx.Width, Fx.Opacity.
515
+ http://docs.mootools.net/files/Effects/Fx-Styles-js.html
516
+ - endCaptures:
517
+ "1":
518
+ name: punctuation.definition.parameters.end.js
519
+ begin: (new)\s+(Fx\.(?:Height|Width|Opacity))(\()
520
+ contentName: variable.parameter.fx.utils.js.mootools
521
+ beginCaptures:
522
+ "1":
523
+ name: keyword.operator.new.js
524
+ "2":
525
+ name: entity.name.type.instance.js.mootools
526
+ "3":
527
+ name: punctuation.definition.parameters.begin.js
528
+ end: (\));?$
529
+ patterns:
530
+ - include: "#element-functions"
531
+ - include: "#array-functions"
532
+ - include: "#dom-functions"
533
+ - include: "#hash-functions"
534
+ - endCaptures:
535
+ "1":
536
+ name: punctuation.definition.parameters.end.js
537
+ begin: (\{)
538
+ contentName: variable.parameter.fx.utils.options.js.mootools
539
+ beginCaptures:
540
+ "1":
541
+ name: punctuation.definition.parameters.begin.js
542
+ end: (\})\)
543
+ patterns:
544
+ - name: punctuation.separator.key-value.js.mootools
545
+ match: (:)
546
+ - include: "#fx-options"
547
+ - include: source.js
548
+ - name: support.class.element.js.mootools
549
+ match: \b(makeResizable)\b
550
+ comment: |-
551
+
552
+ Drag.Base
553
+ Modify two css properties of an element based on the position of the mouse.
554
+ http://docs.mootools.net/files/Drag/Drag-Base-js.html
555
+ - name: support.class.element.js.mootools
556
+ match: \b(makeDraggable)\b
557
+ comment: |-
558
+
559
+ Drag.Move
560
+ Modify two css properties of an element based on the position of the mouse.
561
+ http://docs.mootools.net/files/Drag/Drag-Base-js.html
562
+ - include: "#leading-space"
563
+ - include: source.js
564
+ foldingStopMarker: (^\s*\}|^\s*\)|^(?!.*/\*).*\*/)
565
+ keyEquivalent: ^~J
566
+ comment: |
567
+
568
+ MooTools Framework by Valerio Proietti.
569
+ http://mootools.net
570
+ This syntax document is largely based on the documentation at http://docs.mootools.net
571
+ Initial bundle by Joe Maller.
572
+