devver-ultraviolet 0.10.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (222) hide show
  1. data/History.txt +25 -0
  2. data/Manifest.txt +233 -0
  3. data/README.txt +52 -0
  4. data/bin/theme2latexrender +122 -0
  5. data/bin/theme2xhtmlrender +156 -0
  6. data/bin/uv +140 -0
  7. data/lib/uv.rb +94 -0
  8. data/lib/uv/render_processor.rb +146 -0
  9. data/lib/uv/utility.rb +67 -0
  10. data/render/latex/active4d.render +132 -0
  11. data/render/latex/all_hallows_eve.render +96 -0
  12. data/render/latex/amy.render +171 -0
  13. data/render/latex/blackboard.render +111 -0
  14. data/render/latex/brilliance_black.render +552 -0
  15. data/render/latex/brilliance_dull.render +561 -0
  16. data/render/latex/cobalt.render +162 -0
  17. data/render/latex/dawn.render +126 -0
  18. data/render/latex/eiffel.render +132 -0
  19. data/render/latex/espresso_libre.render +123 -0
  20. data/render/latex/idle.render +93 -0
  21. data/render/latex/iplastic.render +99 -0
  22. data/render/latex/lazy.render +96 -0
  23. data/render/latex/mac_classic.render +135 -0
  24. data/render/latex/magicwb_amiga.render +117 -0
  25. data/render/latex/pastels_on_dark.render +204 -0
  26. data/render/latex/slush_poppies.render +123 -0
  27. data/render/latex/spacecadet.render +81 -0
  28. data/render/latex/sunburst.render +186 -0
  29. data/render/latex/twilight.render +153 -0
  30. data/render/latex/zenburnesque.render +126 -0
  31. data/render/old/txt2tags.render +131 -0
  32. data/render/xhtml/active4d.render +140 -0
  33. data/render/xhtml/all_hallows_eve.render +104 -0
  34. data/render/xhtml/amy.render +179 -0
  35. data/render/xhtml/blackboard.render +119 -0
  36. data/render/xhtml/brilliance_black.render +560 -0
  37. data/render/xhtml/brilliance_dull.render +569 -0
  38. data/render/xhtml/cobalt.render +170 -0
  39. data/render/xhtml/dawn.render +134 -0
  40. data/render/xhtml/eiffel.render +140 -0
  41. data/render/xhtml/espresso_libre.render +131 -0
  42. data/render/xhtml/files/css/active4d.css +114 -0
  43. data/render/xhtml/files/css/all_hallows_eve.css +72 -0
  44. data/render/xhtml/files/css/amy.css +147 -0
  45. data/render/xhtml/files/css/blackboard.css +88 -0
  46. data/render/xhtml/files/css/brilliance_black.css +605 -0
  47. data/render/xhtml/files/css/brilliance_dull.css +599 -0
  48. data/render/xhtml/files/css/cobalt.css +149 -0
  49. data/render/xhtml/files/css/dawn.css +121 -0
  50. data/render/xhtml/files/css/eiffel.css +121 -0
  51. data/render/xhtml/files/css/espresso_libre.css +109 -0
  52. data/render/xhtml/files/css/idle.css +62 -0
  53. data/render/xhtml/files/css/iplastic.css +80 -0
  54. data/render/xhtml/files/css/lazy.css +73 -0
  55. data/render/xhtml/files/css/mac_classic.css +123 -0
  56. data/render/xhtml/files/css/magicwb_amiga.css +104 -0
  57. data/render/xhtml/files/css/pastels_on_dark.css +188 -0
  58. data/render/xhtml/files/css/slush_poppies.css +85 -0
  59. data/render/xhtml/files/css/spacecadet.css +51 -0
  60. data/render/xhtml/files/css/sunburst.css +180 -0
  61. data/render/xhtml/files/css/twilight.css +137 -0
  62. data/render/xhtml/files/css/zenburnesque.css +91 -0
  63. data/render/xhtml/idle.render +101 -0
  64. data/render/xhtml/iplastic.render +107 -0
  65. data/render/xhtml/lazy.render +104 -0
  66. data/render/xhtml/mac_classic.render +143 -0
  67. data/render/xhtml/magicwb_amiga.render +125 -0
  68. data/render/xhtml/pastels_on_dark.render +212 -0
  69. data/render/xhtml/slush_poppies.render +131 -0
  70. data/render/xhtml/spacecadet.render +89 -0
  71. data/render/xhtml/sunburst.render +194 -0
  72. data/render/xhtml/twilight.render +161 -0
  73. data/render/xhtml/zenburnesque.render +134 -0
  74. data/syntax/actionscript.syntax +97 -0
  75. data/syntax/active4d.syntax +276 -0
  76. data/syntax/active4d_html.syntax +311 -0
  77. data/syntax/active4d_ini.syntax +50 -0
  78. data/syntax/active4d_library.syntax +21 -0
  79. data/syntax/ada.syntax +33 -0
  80. data/syntax/antlr.syntax +151 -0
  81. data/syntax/apache.syntax +191 -0
  82. data/syntax/applescript.syntax +384 -0
  83. data/syntax/asp.syntax +70 -0
  84. data/syntax/asp_vb.net.syntax +129 -0
  85. data/syntax/bibtex.syntax +151 -0
  86. data/syntax/blog_html.syntax +41 -0
  87. data/syntax/blog_markdown.syntax +42 -0
  88. data/syntax/blog_text.syntax +27 -0
  89. data/syntax/blog_textile.syntax +27 -0
  90. data/syntax/build.syntax +53 -0
  91. data/syntax/bulletin_board.syntax +287 -0
  92. data/syntax/cake.syntax +55 -0
  93. data/syntax/camlp4.syntax +36 -0
  94. data/syntax/cm.syntax +32 -0
  95. data/syntax/coldfusion.syntax +119 -0
  96. data/syntax/context_free.syntax +176 -0
  97. data/syntax/cs.syntax +59 -0
  98. data/syntax/css.syntax +195 -0
  99. data/syntax/css_experimental.syntax +1925 -0
  100. data/syntax/csv.syntax +68 -0
  101. data/syntax/d.syntax +142 -0
  102. data/syntax/diff.syntax +81 -0
  103. data/syntax/dokuwiki.syntax +204 -0
  104. data/syntax/dot.syntax +47 -0
  105. data/syntax/doxygen.syntax +43 -0
  106. data/syntax/dylan.syntax +62 -0
  107. data/syntax/eiffel.syntax +78 -0
  108. data/syntax/erlang.syntax +922 -0
  109. data/syntax/f-script.syntax +80 -0
  110. data/syntax/fortran.syntax +141 -0
  111. data/syntax/fxscript.syntax +142 -0
  112. data/syntax/greasemonkey.syntax +34 -0
  113. data/syntax/gri.syntax +83 -0
  114. data/syntax/groovy.syntax +191 -0
  115. data/syntax/gtd.syntax +22 -0
  116. data/syntax/gtdalt.syntax +143 -0
  117. data/syntax/haml.syntax +88 -0
  118. data/syntax/haskell.syntax +88 -0
  119. data/syntax/html-asp.syntax +27 -0
  120. data/syntax/html.syntax +362 -0
  121. data/syntax/html_django.syntax +36 -0
  122. data/syntax/html_for_asp.net.syntax +424 -0
  123. data/syntax/html_mason.syntax +119 -0
  124. data/syntax/html_rails.syntax +40 -0
  125. data/syntax/html_tcl.syntax +26 -0
  126. data/syntax/icalendar.syntax +32 -0
  127. data/syntax/inform.syntax +48 -0
  128. data/syntax/ini.syntax +55 -0
  129. data/syntax/installer_distribution_script.syntax +77 -0
  130. data/syntax/io.syntax +81 -0
  131. data/syntax/java.syntax +211 -0
  132. data/syntax/javaproperties.syntax +20 -0
  133. data/syntax/javascript.syntax +256 -0
  134. data/syntax/javascript_+_prototype.syntax +72 -0
  135. data/syntax/javascript_+_prototype_bracketed.syntax +140 -0
  136. data/syntax/jquery_javascript.syntax +114 -0
  137. data/syntax/json.syntax +136 -0
  138. data/syntax/languagedefinition.syntax +708 -0
  139. data/syntax/latex.syntax +566 -0
  140. data/syntax/latex_beamer.syntax +41 -0
  141. data/syntax/latex_log.syntax +50 -0
  142. data/syntax/latex_memoir.syntax +64 -0
  143. data/syntax/lexflex.syntax +219 -0
  144. data/syntax/lighttpd.syntax +54 -0
  145. data/syntax/lilypond.syntax +492 -0
  146. data/syntax/lisp.syntax +61 -0
  147. data/syntax/literate_haskell.syntax +24 -0
  148. data/syntax/logo.syntax +29 -0
  149. data/syntax/logtalk.syntax +152 -0
  150. data/syntax/lua.syntax +86 -0
  151. data/syntax/m.syntax +142 -0
  152. data/syntax/macports_portfile.syntax +163 -0
  153. data/syntax/makefile.syntax +36 -0
  154. data/syntax/man.syntax +17 -0
  155. data/syntax/mediawiki.syntax +567 -0
  156. data/syntax/mips.syntax +66 -0
  157. data/syntax/mod_perl.syntax +50 -0
  158. data/syntax/modula-3.syntax +47 -0
  159. data/syntax/moinmoin.syntax +189 -0
  160. data/syntax/mootools.syntax +572 -0
  161. data/syntax/movable_type.syntax +162 -0
  162. data/syntax/multimarkdown.syntax +39 -0
  163. data/syntax/objective-c++.syntax +18 -0
  164. data/syntax/objective-c.syntax +233 -0
  165. data/syntax/ocaml.syntax +764 -0
  166. data/syntax/ocamllex.syntax +167 -0
  167. data/syntax/ocamlyacc.syntax +184 -0
  168. data/syntax/opengl.syntax +14 -0
  169. data/syntax/pascal.syntax +77 -0
  170. data/syntax/perl.syntax +1115 -0
  171. data/syntax/plain_text.syntax +32 -0
  172. data/syntax/postscript.syntax +114 -0
  173. data/syntax/processing.syntax +106 -0
  174. data/syntax/prolog.syntax +40 -0
  175. data/syntax/property_list.syntax +635 -0
  176. data/syntax/python.syntax +868 -0
  177. data/syntax/python_django.syntax +21 -0
  178. data/syntax/qmake_project.syntax +114 -0
  179. data/syntax/qt_c++.syntax +26 -0
  180. data/syntax/quake3_config.syntax +32 -0
  181. data/syntax/r.syntax +81 -0
  182. data/syntax/r_console.syntax +16 -0
  183. data/syntax/ragel.syntax +201 -0
  184. data/syntax/rd_r_documentation.syntax +91 -0
  185. data/syntax/regexp.syntax +50 -0
  186. data/syntax/release_notes.syntax +46 -0
  187. data/syntax/remind.syntax +253 -0
  188. data/syntax/restructuredtext.syntax +250 -0
  189. data/syntax/rez.syntax +80 -0
  190. data/syntax/ruby.syntax +1035 -0
  191. data/syntax/ruby_experimental.syntax +145 -0
  192. data/syntax/ruby_on_rails.syntax +88 -0
  193. data/syntax/s5.syntax +69 -0
  194. data/syntax/scheme.syntax +347 -0
  195. data/syntax/scilab.syntax +41 -0
  196. data/syntax/setext.syntax +147 -0
  197. data/syntax/shell-unix-generic.syntax +384 -0
  198. data/syntax/slate.syntax +149 -0
  199. data/syntax/sql.syntax +237 -0
  200. data/syntax/sql_rails.syntax +18 -0
  201. data/syntax/ssh-config.syntax +33 -0
  202. data/syntax/standard_ml.syntax +121 -0
  203. data/syntax/strings_file.syntax +39 -0
  204. data/syntax/subversion_commit_message.syntax +36 -0
  205. data/syntax/sweave.syntax +84 -0
  206. data/syntax/swig.syntax +57 -0
  207. data/syntax/tcl.syntax +152 -0
  208. data/syntax/template_toolkit.syntax +121 -0
  209. data/syntax/tex.syntax +86 -0
  210. data/syntax/tex_math.syntax +49 -0
  211. data/syntax/textile.syntax +215 -0
  212. data/syntax/tsv.syntax +50 -0
  213. data/syntax/twiki.syntax +241 -0
  214. data/syntax/txt2tags.syntax +79 -0
  215. data/syntax/vectorscript.syntax +57 -0
  216. data/syntax/xhtml_1.0.syntax +4027 -0
  217. data/syntax/xml.syntax +180 -0
  218. data/syntax/xml_strict.syntax +92 -0
  219. data/syntax/xsl.syntax +60 -0
  220. data/syntax/yaml.syntax +160 -0
  221. data/syntax/yui_javascript.syntax +176 -0
  222. metadata +310 -0
@@ -0,0 +1,66 @@
1
+ ---
2
+ name: MIPS Assembler
3
+ fileTypes:
4
+ - s
5
+ - mips
6
+ - spim
7
+ - asm
8
+ scopeName: source.mips
9
+ uuid: 7FD88C2E-6BE3-11D9-9A40-0011242E4184
10
+ patterns:
11
+ - name: support.function.pseudo.mips
12
+ match: \b(mul|abs|div|divu|mulo|mulou|neg|negu|not|rem|remu|rol|ror|li|seq|sge|sgeu|sgt|sgtu|sle|sleu|sne|b|beqz|bge|bgeu|bgt|bgtu|ble|bleu|blt|bltu|bnez|la|ld|ulh|ulhu|ulw|sd|ush|usw|move|mfc1\.d|l\.d|l\.s|s\.d|s\.s)\b
13
+ comment: "ok actually this are instructions, but one also could call them funtions\xE2\x80\xA6"
14
+ - name: support.function.mips
15
+ match: \b(abs\.d|abs\.s|add|add\.d|add\.s|addi|addiu|addu|and|andi|bc1f|bc1t|beq|bgez|bgezal|bgtz|blez|bltz|bltzal|bne|break|c\.eq\.d|c\.eq\.s|c\.le\.d|c\.le\.s|c\.lt\.d|c\.lt\.s|ceil\.w\.d|ceil\.w\.s|clo|clz|cvt\.d\.s|cvt\.d\.w|cvt\.s\.d|cvt\.s\.w|cvt\.w\.d|cvt\.w\.s|div|div\.d|div\.s|divu|eret|floor\.w\.d|floor\.w\.s|j|jal|jalr|jr|lb|lbu|lh|lhu|ll|lui|lw|lwc1|lwl|lwr|madd|maddu|mfc0|mfc1|mfhi|mflo|mov\.d|mov\.s|movf|movf\.d|movf\.s|movn|movn\.d|movn\.s|movt|movt\.d|movt\.s|movz|movz\.d|movz\.s|msub|mtc0|mtc1|mthi|mtlo|mul|mul\.d|mul\.s|mult|multu|neg\.d|neg\.s|nop|nor|or|ori|round\.w\.d|round\.w\.s|sb|sc|sdc1|sh|sll|sllv|slt|slti|sltiu|sltu|sqrt\.d|sqrt\.s|sra|srav|srl|srlv|sub|sub\.d|sub\.s|subu|sw|swc1|swl|swr|syscall|teq|teqi|tge|tgei|tgeiu|tgeu|tlt|tlti|tltiu|tltu|trunc\.w\.d|trunc\.w\.s|xor|xori)\b
16
+ - name: storage.type.mips
17
+ match: \.(ascii|asciiz|byte|data|double|float|half|kdata|ktext|space|text|word|set\s*(noat|at))\b
18
+ - name: storage.modifier.mips
19
+ match: \.(align|extern||globl)\b
20
+ - name: meta.function.label.mips
21
+ captures:
22
+ "1":
23
+ name: entity.name.function.label.mips
24
+ match: "\\b([A-Za-z0-9_]+):"
25
+ - name: variable.other.register.usable.by-number.mips
26
+ captures:
27
+ "1":
28
+ name: punctuation.definition.variable.mips
29
+ match: (\$)(0|[2-9]|1[0-9]|2[0-5]|2[89]|3[0-1])\b
30
+ - name: variable.other.register.usable.by-name.mips
31
+ captures:
32
+ "1":
33
+ name: punctuation.definition.variable.mips
34
+ match: (\$)(zero|v[01]|a[0-3]|t[0-9]|s[0-7]|gp|sp|fp|ra)\b
35
+ - name: variable.other.register.reserved.mips
36
+ captures:
37
+ "1":
38
+ name: punctuation.definition.variable.mips
39
+ match: (\$)(at|k[01]|1|2[67])\b
40
+ - name: variable.other.register.usable.floating-point.mips
41
+ captures:
42
+ "1":
43
+ name: punctuation.definition.variable.mips
44
+ match: (\$)f([0-9]|1[0-9]|2[0-9]|3[0-1])\b
45
+ - name: constant.numeric.float.mips
46
+ match: \b\d+\.\d+\b
47
+ - name: constant.numeric.integer.mips
48
+ match: \b(\d+|0(x|X)[a-fA-F0-9]+)\b
49
+ - name: string.quoted.double.mips
50
+ endCaptures:
51
+ "0":
52
+ name: punctuation.definition.string.end.mips
53
+ begin: "\""
54
+ beginCaptures:
55
+ "0":
56
+ name: punctuation.definition.string.begin.mips
57
+ end: "\""
58
+ patterns:
59
+ - name: constant.character.escape.mips
60
+ match: \\[rnt\\"]
61
+ - name: comment.line.number-sign.mips
62
+ captures:
63
+ "1":
64
+ name: punctuation.definition.comment.mips
65
+ match: (#).*$\n?
66
+ keyEquivalent: ^~M
@@ -0,0 +1,50 @@
1
+ ---
2
+ name: mod_perl
3
+ fileTypes:
4
+ - conf
5
+ scopeName: source.apache-config.mod_perl
6
+ uuid: 6A616B03-1053-49BF-830F-0F4E63DB2447
7
+ foldingStartMarker: |-
8
+ ^[ ]*(?x)
9
+ (<(?i:FilesMatch|Files|DirectoryMatch|Directory|LocationMatch|Location|VirtualHost|IfModule|IfDefine|Perl)\b.*?>
10
+ )
11
+ patterns:
12
+ - name: comment.block.documentation.apache-config.mod_perl
13
+ captures:
14
+ "0":
15
+ name: punctuation.definition.comment.mod_perl
16
+ begin: ^=
17
+ end: ^=cut
18
+ - name: support.constant.apache-config.mod_perl
19
+ match: \b(PerlAddVar|PerlConfigRequire|PerlLoadModule|PerlModule|PerlOptions|PerlPassEnv|PerlPostConfigRequire|PerlRequire|PerlSetEnv|PerlSetVar|PerlSwitches|SetHandler|PerlOpenLogsHandler|PerlPostConfigHandler|PerlChildInitHandler|PerlChildExitHandler|PerlPreConnectionHandler|PerlProcessConnectionHandler|PerlInputFilterHandler|PerlOutputFilterHandler|PerlSetInputFilter|PerlSetOutputFilter|PerlPostReadRequestHandler|PerlTransHandler|PerlMapToStorageHandler|PerlInitHandler|PerlHeaderParserHandler|PerlAccessHandler|PerlAuthenHandler|PerlAuthzHandler|PerlTypeHandler|PerlFixupHandler|PerlResponseHandler|PerlLogHandler|PerlCleanupHandler|PerlInterpStart|PerlInterpMax|PerlInterpMinSpare|PerlInterpMaxSpare|PerlInterpMaxRequests|PerlInterpScope|PerlTrace)\b
20
+ - name: support.constant.apache-config.mod_perl_1.mod_perl
21
+ match: \b(PerlHandler|PerlScript|PerlSendHeader|PerlSetupEnv|PerlTaintCheck|PerlWarn|PerlFreshRestart)\b
22
+ - name: meta.perl-section.apache-config.mod_perl
23
+ endCaptures:
24
+ "1":
25
+ name: meta.tag.apache-config
26
+ "2":
27
+ name: punctuation.definition.tag.apache-config
28
+ "3":
29
+ name: entity.name.tag.apache-config
30
+ "4":
31
+ name: punctuation.definition.tag.apache-config
32
+ begin: ^\s*((<)(Perl)(>))
33
+ beginCaptures:
34
+ "1":
35
+ name: meta.tag.apache-config
36
+ "2":
37
+ name: punctuation.definition.tag.apache-config
38
+ "3":
39
+ name: entity.name.tag.apache-config
40
+ "4":
41
+ name: punctuation.definition.tag.apache-config
42
+ end: ^\s*((</)(Perl)(>))
43
+ patterns:
44
+ - include: source.perl
45
+ - include: source.apache-config
46
+ foldingStopMarker: |-
47
+ ^[ ]*(?x)
48
+ (</(?i:FilesMatch|Files|DirectoryMatch|Directory|LocationMatch|Location|VirtualHost|IfModule|IfDefine|Perl)>
49
+ )
50
+ keyEquivalent: ^~A
@@ -0,0 +1,47 @@
1
+ ---
2
+ name: Modula-3
3
+ fileTypes:
4
+ - m3
5
+ - cm3
6
+ scopeName: source.modula-3
7
+ uuid: 479D53FA-6ED6-11D9-8471-0011242E4184
8
+ patterns:
9
+ - name: keyword.other.modula-3
10
+ match: \b(ANY|ARRAY|AS|BEGIN|BITS|BRANDED|BY|CASE|CONST|DIV|DO|ELSE|ELSIF|END|EVAL|EXCEPT|EXCEPTION|EXIT|EXPORTS|FINALLY|FOR|FROM|GENERIC|IF|IMPORT|INTERFACE|LOCK|LOOP|METHODS|MOD|MODULE|OBJECT|OF|OVERRIDES|PROCEDURE|RAISE|RAISES|READONLY|RECORD|REF|REPEAT|RETURN|REVEAL|ROOT|SET|THEN|TO|TRY|TYPE|TYPECASE|UNSAFE|UNTIL|UNTRACED|VALUE|VAR|WHILE|WITH|IN|NOT|AND|OR)\b
11
+ - name: storage.type.modula-3
12
+ match: \b(ABS|ADDRESS|ADR|ADRSIZE|BITSIZE|BOOLEAN|BYTESIZE|CARDINAL|CEILING|CHAR|DEC|DISPOSE|EXTENDED|FIRST|FLOAT|FLOOR|INC|INTEGER|ISTYPE|LAST|LONGREAL|LOOPHOLE|MAX|MIN|MUTEX|NARROW|NEW|NUMBER|ORD|REAL|REFANY|ROUND|SUBARRAY|TEXT|TRUNC|TYPECODE|VAL)\b
13
+ - name: constant.language.modula-3
14
+ match: \b(FALSE|NIL|NULL|TRUE)\b
15
+ - name: constant.numeric.modula-3
16
+ match: \b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\.?[0-9]*)|(\.[0-9]+))((e|E)(\+|-)?[0-9]+)?)(L|l|UL|ul|u|U|F|f|ll|LL|ull|ULL)?\b
17
+ - name: string.quoted.single.modula-3
18
+ endCaptures:
19
+ "0":
20
+ name: punctuation.definition.string.end.modula-3
21
+ begin: "'"
22
+ beginCaptures:
23
+ "0":
24
+ name: punctuation.definition.string.begin.modula-3
25
+ end: "'"
26
+ patterns:
27
+ - name: constant.character.escape.modula-3
28
+ match: \\([ntrf\\'"]|([0-7]{3}))
29
+ - name: string.quoted.double.modula-3
30
+ endCaptures:
31
+ "0":
32
+ name: punctuation.definition.string.end.modula-3
33
+ begin: "\""
34
+ beginCaptures:
35
+ "0":
36
+ name: punctuation.definition.string.begin.modula-3
37
+ end: "\""
38
+ patterns:
39
+ - name: constant.character.escape.modula-3
40
+ match: \\([ntrf\\'"]|([0-7]{3}))
41
+ - name: comment.block.modula-3
42
+ captures:
43
+ "0":
44
+ name: punctuation.definition.comment.modula-3
45
+ begin: \(\*
46
+ end: \*\)
47
+ keyEquivalent: ^~M
@@ -0,0 +1,189 @@
1
+ ---
2
+ name: MoinMoin
3
+ fileTypes:
4
+ - moinmoin
5
+ scopeName: text.moinmoin
6
+ repository:
7
+ inline:
8
+ patterns:
9
+ - name: markup.raw.block.moinmoin
10
+ captures:
11
+ "0":
12
+ name: punctuation.definition.raw.moinmoin
13
+ begin: \{{3}(?!.*\}{3})
14
+ end: \}{3}
15
+ - name: markup.raw.inline.moinmoin
16
+ captures:
17
+ "1":
18
+ name: punctuation.definition.raw.moinmoin
19
+ "2":
20
+ name: punctuation.definition.raw.moinmoin
21
+ "3":
22
+ name: punctuation.definition.raw.moinmoin
23
+ "4":
24
+ name: punctuation.definition.raw.moinmoin
25
+ match: (`)[^`]*(`)|({{{).*?(}}})
26
+ - captures:
27
+ "0":
28
+ name: punctuation.definition.italic.moinmoin
29
+ begin: "'{2}(?='{3}[^']*'{3})"
30
+ contentName: markup.italic.moinmoin
31
+ end: "'{2}(?!')|'{2}(?='{3})"
32
+ patterns:
33
+ - include: "#inline"
34
+ - captures:
35
+ "0":
36
+ name: punctuation.definition.bold.moinmoin
37
+ begin: "'{3}"
38
+ contentName: markup.bold.moinmoin
39
+ end: "'{3}"
40
+ patterns:
41
+ - include: "#inline"
42
+ - captures:
43
+ "0":
44
+ name: punctuation.definition.italic.moinmoin
45
+ begin: "'{2}"
46
+ contentName: markup.italic.moinmoin
47
+ end: "'{2}(?!')|'{2}(?='{3})"
48
+ patterns:
49
+ - include: "#inline"
50
+ - captures:
51
+ "0":
52
+ name: punctuation.definition.underline.moinmoin
53
+ begin: __
54
+ contentName: markup.underline.moinmoin
55
+ end: __
56
+ patterns:
57
+ - include: "#inline"
58
+ - name: markup.underline.link.moinmoin
59
+ match: (?<!\!)/?(?:[A-Z][a-z0-9]+[A-Z][a-z0-9]+[A-Za-z0-9]*)
60
+ - name: markup.underline.link.moinmoin
61
+ captures:
62
+ "1":
63
+ name: punctuation.definition.link.moinmoin
64
+ "2":
65
+ name: punctuation.definition.link.moinmoin
66
+ match: (\[").*?("\])
67
+ - name: markup.underline.link.moinmoin
68
+ captures:
69
+ "1":
70
+ name: punctuation.definition.link.moinmoin
71
+ "2":
72
+ name: punctuation.definition.link.moinmoin
73
+ match: (\[):.*?:.*?(\])
74
+ - name: markup.underline.link.moinmoin
75
+ match: https?://\S+
76
+ - name: markup.underline.link.moinmoin
77
+ captures:
78
+ "1":
79
+ name: punctuation.definition.link.moinmoin
80
+ "2":
81
+ name: punctuation.definition.link.moinmoin
82
+ match: (\[)https?://.*?(\])
83
+ - name: markup.underline.link.moinmoin
84
+ captures:
85
+ "1":
86
+ name: punctuation.separator.key-value.moinmoin
87
+ match: attachment(:)\S+
88
+ - name: meta.table.column.moinmoin
89
+ captures:
90
+ "0":
91
+ name: punctuation.definition.table.column.moinmoin
92
+ match: \|\|
93
+ - name: meta.macro.moinmoin
94
+ captures:
95
+ "0":
96
+ name: punctuation.definition.macro.moinmoin
97
+ match: (\[\[).*?(\]\])
98
+ uuid: DB315CBC-23FD-4952-9D64-F2AC0618A840
99
+ patterns:
100
+ - name: markup.heading.1.moinmoin
101
+ captures:
102
+ "1":
103
+ name: punctuation.definition.heading.moimoin
104
+ "2":
105
+ name: punctuation.definition.heading.moimoin
106
+ match: ^\s*(=)\s.*\s(=)\n
107
+ - name: markup.heading.2.moinmoin
108
+ captures:
109
+ "1":
110
+ name: punctuation.definition.heading.moimoin
111
+ "2":
112
+ name: punctuation.definition.heading.moimoin
113
+ match: ^\s*(==)\s.*\s(==)\n
114
+ - name: markup.heading.3.moinmoin
115
+ captures:
116
+ "1":
117
+ name: punctuation.definition.heading.moimoin
118
+ "2":
119
+ name: punctuation.definition.heading.moimoin
120
+ match: ^\s*(===)\s.*\s(===)\n
121
+ - name: markup.heading.4.moinmoin
122
+ captures:
123
+ "1":
124
+ name: punctuation.definition.heading.moimoin
125
+ "2":
126
+ name: punctuation.definition.heading.moimoin
127
+ match: ^\s*(====)\s.*\s(====)\n
128
+ - name: markup.heading.5.moinmoin
129
+ captures:
130
+ "1":
131
+ name: punctuation.definition.heading.moimoin
132
+ "2":
133
+ name: punctuation.definition.heading.moimoin
134
+ match: ^\s*(=====)\s.*\s(=====)\n
135
+ - name: meta.separator.moinmoin
136
+ match: ^\s*-----\s*\n
137
+ - name: meta.pragma.moimoin
138
+ match: ^#pragma.*
139
+ - name: comment.line.double-number-sign.moimoin
140
+ captures:
141
+ "1":
142
+ name: punctuation.definition.comment.moimoin
143
+ match: ^(##).*$\n?
144
+ - captures:
145
+ "1":
146
+ name: markup.list.definition.term.moinmoin
147
+ "2":
148
+ name: punctuation.separator.definition.moinmoin
149
+ begin: ^\s+(.*?(::))(?=\s+\S)
150
+ contentName: markup.list.definition.moinmoin
151
+ end: \n
152
+ patterns:
153
+ - include: "#inline"
154
+ - captures:
155
+ "1":
156
+ name: punctuation.definition.list_item.moinmoin
157
+ "2":
158
+ name: markup.list.unnumbered.moinmoin
159
+ begin: ^\s+(\*)(\s)
160
+ contentName: markup.list.unnumbered.moinmoin
161
+ end: \n
162
+ patterns:
163
+ - include: "#inline"
164
+ - captures:
165
+ "1":
166
+ name: punctuation.definition.list_item.moinmoin
167
+ "2":
168
+ name: markup.list.numbered.moinmoin
169
+ begin: ^\s+((?:[aAiI]|\d+)\.(?:\#\d+)?)(\s)
170
+ contentName: markup.list.numbered.moinmoin
171
+ end: \n
172
+ patterns:
173
+ - include: "#inline"
174
+ - captures:
175
+ "1":
176
+ name: punctuation.definition.table.column.moinmoin
177
+ "2":
178
+ name: punctuation.definition.table.column.moinmoin
179
+ begin: ^\s*(\|\|)
180
+ contentName: meta.table.moinmoin
181
+ end: (\|\|$)|\n
182
+ patterns:
183
+ - include: "#inline"
184
+ - name: meta.paragraph.moinmoin
185
+ begin: ^\s*(?=\S)
186
+ end: \n
187
+ patterns:
188
+ - include: "#inline"
189
+ keyEquivalent: ^~M
@@ -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
+