ver 2009.10.14 → 2009.11.28

Sign up to get free protection for your applications and to get access to all the features.
Files changed (318) hide show
  1. data/CHANGELOG +1094 -0
  2. data/MANIFEST +227 -25
  3. data/README.textile +185 -0
  4. data/bin/ver +96 -12
  5. data/config/detect.rb +73 -21
  6. data/config/keymap/emacs.rb +66 -0
  7. data/config/keymap/vim.rb +250 -140
  8. data/config/preferences/ANTLR.json +10 -0
  9. data/config/preferences/ASP vb.NET.json +3 -0
  10. data/config/preferences/ASP.json +15 -0
  11. data/config/preferences/ActionScript.json +755 -0
  12. data/config/preferences/Active4D.json +89 -0
  13. data/config/preferences/Ada.json +23 -0
  14. data/config/preferences/Ant.json +356 -0
  15. data/config/preferences/Apache.json +644 -0
  16. data/config/preferences/AppleScript.json +92 -0
  17. data/config/preferences/Bison.json +3 -0
  18. data/config/preferences/Blogging.json +3 -0
  19. data/config/preferences/C.json +127 -0
  20. data/config/preferences/CMake.json +41 -0
  21. data/config/preferences/CSS.json +461 -0
  22. data/config/preferences/CTags.json +3 -0
  23. data/config/preferences/CVS.json +3 -0
  24. data/config/preferences/ColdFusion.json +32 -0
  25. data/config/preferences/D.json +58 -0
  26. data/config/preferences/Darcs.json +3 -0
  27. data/config/preferences/Diff.json +67 -0
  28. data/config/preferences/DokuWiki.json +19 -0
  29. data/config/preferences/Doxygen.json +3 -0
  30. data/config/preferences/Dylan.json +3 -0
  31. data/config/preferences/Eiffel.json +59 -0
  32. data/config/preferences/Erlang.json +72 -0
  33. data/config/preferences/Experimental.json +1356 -0
  34. data/config/preferences/F-Script.json +87 -0
  35. data/config/preferences/FXScript.json +78 -0
  36. data/config/preferences/FileMerge.json +3 -0
  37. data/config/preferences/Fortran.json +158 -0
  38. data/config/preferences/GTD2.json +11 -0
  39. data/config/preferences/GTDAlt.json +20 -0
  40. data/config/preferences/GetBundle.json +3 -0
  41. data/config/preferences/Gettext.json +24 -0
  42. data/config/preferences/Graphviz.json +42 -0
  43. data/config/preferences/Greasemonkey.json +3 -0
  44. data/config/preferences/Gri.json +34 -0
  45. data/config/preferences/HTML.json +492 -0
  46. data/config/preferences/Haskell.json +72 -0
  47. data/config/preferences/Hotkey.json +3 -0
  48. data/config/preferences/ImageBrowser.json +3 -0
  49. data/config/preferences/Inform.json +3 -0
  50. data/config/preferences/Ini.json +60 -0
  51. data/config/preferences/Installer.json +3 -0
  52. data/config/preferences/Io.json +64 -0
  53. data/config/preferences/JSON.json +3 -0
  54. data/config/preferences/Java.json +86 -0
  55. data/config/preferences/JavaDoc.json +3 -0
  56. data/config/preferences/JavaScript.json +76 -0
  57. data/config/preferences/LaTeX.json +267 -0
  58. data/config/preferences/Lex/Flex.json +3 -0
  59. data/config/preferences/Lighttpd.json +3 -0
  60. data/config/preferences/LilyPond.json +77 -0
  61. data/config/preferences/Lisp.json +63 -0
  62. data/config/preferences/Logo.json +58 -0
  63. data/config/preferences/Logtalk.json +236 -0
  64. data/config/preferences/Lua.json +24 -0
  65. data/config/preferences/MEL.json +19 -0
  66. data/config/preferences/MIPS Assembler.json +26 -0
  67. data/config/preferences/MacPorts.json +3 -0
  68. data/config/preferences/Mail.json +3 -0
  69. data/config/preferences/Make.json +16 -0
  70. data/config/preferences/Markdown.json +102 -0
  71. data/config/preferences/Math.json +3 -0
  72. data/config/preferences/Matlab.json +128 -0
  73. data/config/preferences/Maven.json +308 -0
  74. data/config/preferences/Mediawiki.json +73 -0
  75. data/config/preferences/Mercurial.json +3 -0
  76. data/config/preferences/Modula.json +37 -0
  77. data/config/preferences/MoinMoin.json +52 -0
  78. data/config/preferences/Navigation.json +3 -0
  79. data/config/preferences/Nemerle.json +3 -0
  80. data/config/preferences/OCaml Code Completion.json +3 -0
  81. data/config/preferences/OCaml.json +163 -0
  82. data/config/preferences/ODCompletion.json +3 -0
  83. data/config/preferences/Objective-C.json +84 -0
  84. data/config/preferences/OpenGL.json +3331 -0
  85. data/config/preferences/Outlines.json +3 -0
  86. data/config/preferences/Pascal.json +60 -0
  87. data/config/preferences/Perforce.json +3 -0
  88. data/config/preferences/Perl.json +15 -0
  89. data/config/preferences/PmWiki.json +27 -0
  90. data/config/preferences/Postscript.json +15 -0
  91. data/config/preferences/Processing.json +32 -0
  92. data/config/preferences/Prolog.json +3 -0
  93. data/config/preferences/Propel.json +3 -0
  94. data/config/preferences/Python.json +38 -0
  95. data/config/preferences/Quake.json +15 -0
  96. data/config/preferences/R.json +33 -0
  97. data/config/preferences/Ragel.json +15 -0
  98. data/config/preferences/Regular Expressions.json +3 -0
  99. data/config/preferences/Remind.json +15 -0
  100. data/config/preferences/Rez.json +46 -0
  101. data/config/preferences/Ruby.json +98 -0
  102. data/config/preferences/S5 Slide Show.json +20 -0
  103. data/config/preferences/SCons.json +3 -0
  104. data/config/preferences/SQL.json +32 -0
  105. data/config/preferences/SSH Config.json +15 -0
  106. data/config/preferences/SVK.json +3 -0
  107. data/config/preferences/SWIG.json +3 -0
  108. data/config/preferences/SWeave.json +32 -0
  109. data/config/preferences/Scheme.json +35 -0
  110. data/config/preferences/Scilab.json +15 -0
  111. data/config/preferences/Setext.json +3 -0
  112. data/config/preferences/Shell Script.json +25 -0
  113. data/config/preferences/Slate.json +113 -0
  114. data/config/preferences/Source.json +132 -0
  115. data/config/preferences/Subversion.json +10 -0
  116. data/config/preferences/TODO.json +3 -0
  117. data/config/preferences/Tabular.json +3 -0
  118. data/config/preferences/Tcl.json +82 -0
  119. data/config/preferences/TerminalMate.json +112 -0
  120. data/config/preferences/Text.json +89 -0
  121. data/config/preferences/TextMate.json +38 -0
  122. data/config/preferences/Textile.json +76 -0
  123. data/config/preferences/Thrift.json +56 -0
  124. data/config/preferences/Transmit.json +3 -0
  125. data/config/preferences/Twiki.json +51 -0
  126. data/config/preferences/Txt2tags.json +81 -0
  127. data/config/preferences/Vectorscript.json +1280 -0
  128. data/config/preferences/XML.json +60 -0
  129. data/config/preferences/Xcode.json +3 -0
  130. data/config/preferences/YAML.json +24 -0
  131. data/config/preferences/iCalendar.json +10 -0
  132. data/config/preferences/iTerm.json +36 -0
  133. data/config/preferences/reStructuredText.json +48 -0
  134. data/config/rc.rb +49 -0
  135. data/config/syntax/ANTLR.json +5 -5
  136. data/config/syntax/{ASP VB.net.json → ASP vb.NET.json } +3 -3
  137. data/config/syntax/ASP.json +1 -1
  138. data/config/syntax/ActionScript.json +6 -6
  139. data/config/syntax/Active4D Config.json +86 -0
  140. data/config/syntax/Active4D Library.json +20 -0
  141. data/config/syntax/Active4D.json +418 -0
  142. data/config/syntax/Ada.json +3 -3
  143. data/config/syntax/Ant.json +196 -0
  144. data/config/syntax/Apache.json +7 -7
  145. data/config/syntax/AppleScript.json +3 -3
  146. data/config/syntax/{Bibtex.json → BibTeX.json} +1 -1
  147. data/config/syntax/Bison.json +59 -0
  148. data/config/syntax/{Blog (HTML).json → Blog - HTML.json } +2 -2
  149. data/config/syntax/{Blog (Markdown).json → Blog - Markdown.json } +2 -2
  150. data/config/syntax/Blog (Text).json b/data/config/syntax/Blog - → Text.json +0 -0
  151. data/config/syntax/Blog (Textile).json b/data/config/syntax/Blog - → Textile.json +0 -0
  152. data/config/syntax/C++.json +3 -3
  153. data/config/syntax/C.json +13 -13
  154. data/config/syntax/CMake Listfile.json +171 -0
  155. data/config/syntax/CSS.json +6 -6
  156. data/config/syntax/CSV.json +108 -0
  157. data/config/syntax/ColdFusion.json +204 -0
  158. data/config/syntax/D.json +560 -0
  159. data/config/syntax/Diff.json +1 -1
  160. data/config/syntax/DokuWiki.json +412 -0
  161. data/config/syntax/Doxygen.json +80 -0
  162. data/config/syntax/Dylan.json +4 -4
  163. data/config/syntax/Erlang.json +5 -5
  164. data/config/syntax/F-Script.json +1 -1
  165. data/config/syntax/FXScript.json +5 -5
  166. data/config/syntax/Fortran - Modern.json +221 -0
  167. data/config/syntax/Fortran - Punchcard.json +468 -0
  168. data/config/syntax/GTD.json +39 -0
  169. data/config/syntax/GTDalt.json +233 -0
  170. data/config/syntax/Gettext.json +118 -0
  171. data/config/syntax/Go.json +555 -0
  172. data/config/syntax/{DOT.json → Graphviz (DOT).json } +3 -3
  173. data/config/syntax/Greasemonkey.json +56 -0
  174. data/config/syntax/Gri.json +4 -4
  175. data/config/syntax/{HTML-ASP.json → HTML (ASP).json } +1 -1
  176. data/config/syntax/{HTML for ASP.net.json → HTML (ASP.net).json } +19 -19
  177. data/config/syntax/HTML (Active4D).json +540 -0
  178. data/config/syntax/HTML (Erlang).json +31 -0
  179. data/config/syntax/HTML (Tcl).json +1 -1
  180. data/config/syntax/HTML.json +20 -20
  181. data/config/syntax/Haskell.json +3 -3
  182. data/config/syntax/Installer Distribution Script.json +135 -0
  183. data/config/syntax/Io.json +6 -6
  184. data/config/syntax/JSON.json +151 -0
  185. data/config/syntax/{JavaProperties.json → Java Properties.json } +2 -2
  186. data/config/syntax/Java Server Page (JSP).json +163 -0
  187. data/config/syntax/Java.json +7 -7
  188. data/config/syntax/JavaDoc.json +435 -0
  189. data/config/syntax/JavaScript.json +8 -8
  190. data/config/syntax/LaTeX Log.json +3 -3
  191. data/config/syntax/LaTeX Memoir.json +101 -0
  192. data/config/syntax/LaTeX.json +2 -2
  193. data/config/syntax/Lex-Flex.json +396 -0
  194. data/config/syntax/LilyPond.json +608 -0
  195. data/config/syntax/Logo.json +48 -0
  196. data/config/syntax/Logtalk.json +6 -6
  197. data/config/syntax/Lua.json +1 -1
  198. data/config/syntax/{M.json → MATLAB.json} +3 -3
  199. data/config/syntax/MEL.json +7 -7
  200. data/config/syntax/MIPS.json b/data/config/syntax/MIPS → Assembler.json +0 -0
  201. data/config/syntax/MacPorts Portfile.json +298 -0
  202. data/config/syntax/Mail.json +1 -1
  203. data/config/syntax/Markdown.json +6 -6
  204. data/config/syntax/Maven POM.json +774 -0
  205. data/config/syntax/Mediawiki.json +736 -0
  206. data/config/syntax/MoinMoin.json +335 -0
  207. data/config/syntax/MultiMarkdown.json +41 -0
  208. data/config/syntax/Nemerle.json +128 -0
  209. data/config/syntax/OCaml.json +4 -4
  210. data/config/syntax/OCamllex.json +307 -0
  211. data/config/syntax/OCamlyacc.json +346 -0
  212. data/config/syntax/Objective-C++.json +2 -2
  213. data/config/syntax/Objective-C.json +979 -0
  214. data/config/syntax/Octave.json +417 -0
  215. data/config/syntax/PHP.json +32 -32
  216. data/config/syntax/Pascal.json +1 -1
  217. data/config/syntax/Perl.json +8 -8
  218. data/config/syntax/{Plain text.json → Plain Text.json } +1 -1
  219. data/config/syntax/PmWiki.json +241 -0
  220. data/config/syntax/Postscript.json +206 -0
  221. data/config/syntax/Processing.json +8 -8
  222. data/config/syntax/Prolog.json +70 -0
  223. data/config/syntax/Python.json +1934 -0
  224. data/config/syntax/{Quake3 Config.json → Quake Style .cfg.json } +1 -1
  225. data/config/syntax/R.json +2 -2
  226. data/config/syntax/Ragel.json +362 -0
  227. data/config/syntax/Rd (R Documentation).json +119 -0
  228. data/config/syntax/Regular Expressions (Oniguruma).json +186 -0
  229. data/config/syntax/Regular Expressions (Python).json +188 -0
  230. data/config/syntax/Release Notes.json +78 -0
  231. data/config/syntax/Remind.json +461 -0
  232. data/config/syntax/Rez.json +5 -5
  233. data/config/syntax/Ruby Sass.json +497 -0
  234. data/config/syntax/Ruby.json +13 -13
  235. data/config/syntax/S5 Slide Show.json +85 -0
  236. data/config/syntax/SQL.json +11 -11
  237. data/config/syntax/SSH Config.json +55 -0
  238. data/config/syntax/SWIG.json +2 -2
  239. data/config/syntax/SWeave.json +139 -0
  240. data/config/syntax/Scheme.json +8 -8
  241. data/config/syntax/Scilab.json +69 -0
  242. data/config/syntax/Setext.json +247 -0
  243. data/config/syntax/{Shell-Unix-Generic.json → Shell Script (Bash).json } +4 -4
  244. data/config/syntax/Slate.json +5 -5
  245. data/config/syntax/Strings File.json +53 -0
  246. data/config/syntax/TSV.json +83 -0
  247. data/config/syntax/Tcl.json +1 -1
  248. data/config/syntax/TeX Math.json +2 -2
  249. data/config/syntax/TeX.json +2 -2
  250. data/config/syntax/Textile.json +9 -9
  251. data/config/syntax/Thrift.json +641 -0
  252. data/config/syntax/Twiki.json +1 -1
  253. data/config/syntax/Txt2tags.json +154 -0
  254. data/config/syntax/XML strict.json +4 -4
  255. data/config/syntax/XML.json +6 -6
  256. data/config/syntax/XSL.json +2 -2
  257. data/config/syntax/camlp4.json +63 -0
  258. data/config/syntax/mod_perl.json +72 -0
  259. data/config/syntax/reStructuredText.json +1 -1
  260. data/config/syntax/{Subversion commit message.json → svn-commit.tmp.json} +0 -0
  261. data/config/tutorial +23 -19
  262. data/config/welcome +3 -3
  263. data/lib/ver.rb +273 -62
  264. data/lib/ver/entry.rb +142 -26
  265. data/lib/ver/font.rb +51 -0
  266. data/lib/ver/help.rb +16 -0
  267. data/lib/ver/help/describe_key.rb +82 -0
  268. data/lib/ver/help/help_for_help.rb +39 -0
  269. data/lib/ver/hover_completion.rb +129 -0
  270. data/lib/ver/keymap.rb +95 -24
  271. data/lib/ver/layout.rb +107 -43
  272. data/lib/ver/methods.rb +24 -8
  273. data/lib/ver/methods/clipboard.rb +91 -0
  274. data/lib/ver/methods/completion.rb +146 -71
  275. data/lib/ver/methods/control.rb +203 -222
  276. data/lib/ver/methods/ctags.rb +55 -0
  277. data/lib/ver/methods/delete.rb +30 -0
  278. data/lib/ver/methods/help.rb +7 -0
  279. data/lib/ver/methods/insert.rb +233 -1
  280. data/lib/ver/methods/move.rb +181 -32
  281. data/lib/ver/methods/open.rb +208 -0
  282. data/lib/ver/methods/preview.rb +14 -0
  283. data/lib/ver/methods/save.rb +111 -0
  284. data/lib/ver/methods/search.rb +57 -7
  285. data/lib/ver/methods/select.rb +97 -17
  286. data/lib/ver/methods/shortcuts.rb +21 -0
  287. data/lib/ver/methods/views.rb +56 -1
  288. data/lib/ver/mode.rb +60 -14
  289. data/lib/ver/status.rb +97 -19
  290. data/lib/ver/syntax.rb +14 -6
  291. data/lib/ver/syntax/detector.rb +16 -5
  292. data/lib/ver/syntax/processor.rb +9 -3
  293. data/lib/ver/text.rb +258 -199
  294. data/lib/ver/text/index.rb +103 -0
  295. data/lib/ver/theme.rb +27 -16
  296. data/lib/ver/tooltip.rb +59 -0
  297. data/lib/ver/vendor/binary_search.rb +61 -0
  298. data/lib/ver/vendor/levenshtein.rb +57 -0
  299. data/lib/ver/{textpow.rb → vendor/textpow.rb} +31 -29
  300. data/lib/ver/view.rb +65 -41
  301. data/lib/ver/view/console.rb +171 -0
  302. data/lib/ver/view/entry.rb +9 -5
  303. data/lib/ver/view/list.rb +44 -29
  304. data/lib/ver/view/list/ex.rb +71 -0
  305. data/lib/ver/view/list/grep.rb +42 -0
  306. data/lib/ver/view/list/methods.rb +159 -0
  307. data/lib/ver/view/term.rb +249 -0
  308. data/tasks/syntax_list.rake +3 -2
  309. data/ver.gemspec +4 -4
  310. metadata +230 -28
  311. data/config/syntax/Bulletin Board.json +0 -428
  312. data/config/syntax/HTML (Mason).json +0 -207
  313. data/config/syntax/HTML (Rails).json +0 -52
  314. data/config/syntax/Movable Type.json +0 -348
  315. data/config/syntax/Ruby on Rails.json +0 -170
  316. data/config/syntax/SQL (Rails).json +0 -31
  317. data/config/syntax/Smarty.json +0 -110
  318. data/config/syntax/Standard ML.json +0 -322
@@ -0,0 +1,418 @@
1
+ {
2
+ "fileTypes": [
3
+
4
+ ],
5
+ "foldingStartMarker": "(?x)\n\t\t(^\\s*(?i:if|while|for\\ each|for|case\\ of|repeat|method|save output)\\b\n\t\t)",
6
+ "foldingStopMarker": "(?x)\n\t\t(^\\s*(?i:end\\ (if|while|for\\ each|for|case|method|save output)|until)\\b\n\t\t)",
7
+ "keyEquivalent": "^~A",
8
+ "name": "Active4D",
9
+ "patterns": [
10
+ {
11
+ "captures": {
12
+ "1": {
13
+ "name": "punctuation.definition.comment.active4d"
14
+ }
15
+ },
16
+ "match": "(?:(`).*(?=%>)|(`).*$\\n)",
17
+ "name": "comment.line.backtick.active4d"
18
+ },
19
+ {
20
+ "captures": {
21
+ "1": {
22
+ "name": "punctuation.definition.comment.active4d"
23
+ }
24
+ },
25
+ "match": "(?:(//).*(?=%>)|(//).*$\\n)",
26
+ "name": "comment.line.double-slash.active4d"
27
+ },
28
+ {
29
+ "captures": {
30
+ "1": {
31
+ "name": "punctuation.definition.comment.active4d"
32
+ }
33
+ },
34
+ "match": "(\\\\\\\\).*$\\n?",
35
+ "name": "comment.line.double-backslash.continuation.active4d"
36
+ },
37
+ {
38
+ "begin": "/\\*",
39
+ "captures": {
40
+ "0": {
41
+ "name": "punctuation.definition.comment.active4d"
42
+ }
43
+ },
44
+ "end": "\\*/",
45
+ "name": "comment.block.active4d",
46
+ "patterns": [
47
+ {
48
+ "include": "#fusedoc"
49
+ }
50
+ ]
51
+ },
52
+ {
53
+ "begin": "\"(?!\"\")",
54
+ "beginCaptures": {
55
+ "0": {
56
+ "name": "punctuation.definition.string.begin.active4d"
57
+ }
58
+ },
59
+ "end": "\"",
60
+ "endCaptures": {
61
+ "0": {
62
+ "name": "punctuation.definition.string.end.active4d"
63
+ }
64
+ },
65
+ "name": "string.quoted.double.active4d",
66
+ "patterns": [
67
+ {
68
+ "include": "#escaped_char"
69
+ }
70
+ ]
71
+ },
72
+ {
73
+ "begin": "\"\"\"",
74
+ "beginCaptures": {
75
+ "0": {
76
+ "name": "punctuation.definition.string.begin.active4d"
77
+ }
78
+ },
79
+ "end": "\"\"\"",
80
+ "endCaptures": {
81
+ "0": {
82
+ "name": "punctuation.definition.string.end.active4d"
83
+ }
84
+ },
85
+ "name": "string.quoted.triple.heredoc.active4d",
86
+ "patterns": [
87
+ {
88
+ "include": "#escaped_char"
89
+ }
90
+ ]
91
+ },
92
+ {
93
+ "begin": "'(?!'')",
94
+ "beginCaptures": {
95
+ "0": {
96
+ "name": "punctuation.definition.string.begin.active4d"
97
+ }
98
+ },
99
+ "end": "'",
100
+ "endCaptures": {
101
+ "0": {
102
+ "name": "punctuation.definition.string.end.active4d"
103
+ }
104
+ },
105
+ "name": "string.interpolated.quoted.single.active4d",
106
+ "patterns": [
107
+ {
108
+ "include": "#interpolated_string"
109
+ }
110
+ ]
111
+ },
112
+ {
113
+ "begin": "'''",
114
+ "beginCaptures": {
115
+ "0": {
116
+ "name": "punctuation.definition.string.begin.active4d"
117
+ }
118
+ },
119
+ "end": "'''",
120
+ "endCaptures": {
121
+ "0": {
122
+ "name": "punctuation.definition.string.end.active4d"
123
+ }
124
+ },
125
+ "name": "string.interpolated.quoted.triple.heredoc.active4d",
126
+ "patterns": [
127
+ {
128
+ "include": "#interpolated_string"
129
+ }
130
+ ]
131
+ },
132
+ {
133
+ "match": "(?<![[:alpha:]])[\\-]?(?:0x[[:xdigit:]]{1,4}|\\d+(\\.\\d+)?)(?![[:alpha:]])",
134
+ "name": "constant.numeric.active4d"
135
+ },
136
+ {
137
+ "match": "\\b(?i)(true|false)\\b",
138
+ "name": "constant.language.boolean.active4d"
139
+ },
140
+ {
141
+ "captures": {
142
+ "1": {
143
+ "name": "punctuation.definition.variable.active4d"
144
+ }
145
+ },
146
+ "match": "(\\$)[\\w_]+",
147
+ "name": "variable.other.local.active4d"
148
+ },
149
+ {
150
+ "captures": {
151
+ "1": {
152
+ "name": "punctuation.definition.variable.active4d"
153
+ }
154
+ },
155
+ "match": "(\\<\\>)[\\w_]+",
156
+ "name": "variable.other.interprocess.active4d"
157
+ },
158
+ {
159
+ "captures": {
160
+ "1": {
161
+ "name": "punctuation.definition.variable.active4d"
162
+ },
163
+ "2": {
164
+ "name": "punctuation.definition.variable.active4d"
165
+ }
166
+ },
167
+ "match": "(\\[)[^\\[].*?(\\])([\\w_ ]+)?",
168
+ "name": "variable.other.table-field.active4d"
169
+ },
170
+ {
171
+ "captures": {
172
+ "1": {
173
+ "name": "punctuation.definition.constant.active4d"
174
+ },
175
+ "2": {
176
+ "name": "punctuation.definition.constant.active4d"
177
+ }
178
+ },
179
+ "match": "(!)\\d{1,2}[/ \\-]\\d{1,2}[/ \\-]\\d{1,4}(!)",
180
+ "name": "constant.other.date.active4d"
181
+ },
182
+ {
183
+ "captures": {
184
+ "1": {
185
+ "name": "punctuation.definition.constant.active4d"
186
+ },
187
+ "2": {
188
+ "name": "punctuation.definition.constant.active4d"
189
+ }
190
+ },
191
+ "match": "(\\?)\\d{1,2}[: ]\\d{1,2}[: ]\\d{1,2}(\\?)",
192
+ "name": "constant.other.time.active4d"
193
+ },
194
+ {
195
+ "captures": {
196
+ "1": {
197
+ "name": "keyword.other.active4d"
198
+ },
199
+ "2": {
200
+ "name": "entity.name.function.active4d"
201
+ }
202
+ },
203
+ "comment": "method definition without parameters",
204
+ "match": "^\\s*(method)\\s*(\"[^\"]+\")(?!\\s*\\()",
205
+ "name": "meta.function.active4d"
206
+ },
207
+ {
208
+ "begin": "^\\s*(method)\\s*((\")[^\"]+(\"))\\s*(\\()",
209
+ "beginCaptures": {
210
+ "1": {
211
+ "name": "keyword.other.active4d"
212
+ },
213
+ "2": {
214
+ "name": "entity.name.function.active4d"
215
+ },
216
+ "3": {
217
+ "name": "punctuation.definition.entity.active4d"
218
+ },
219
+ "4": {
220
+ "name": "punctuation.definition.entity.active4d"
221
+ },
222
+ "5": {
223
+ "name": "punctuation.definition.parameters.active4d"
224
+ }
225
+ },
226
+ "comment": "method definition with parameters",
227
+ "end": "(\\))\\s*(?:(?:\\\\\\\\|//|`).*)?$",
228
+ "endCaptures": {
229
+ "1": {
230
+ "name": "punctuation.definition.parameters.active4d"
231
+ }
232
+ },
233
+ "name": "meta.function.active4d",
234
+ "patterns": [
235
+ {
236
+ "captures": {
237
+ "1": {
238
+ "name": "keyword.operator.active4d"
239
+ },
240
+ "2": {
241
+ "name": "punctuation.definition.variable.active4d"
242
+ },
243
+ "3": {
244
+ "name": "punctuation.separator.parameters.active4d"
245
+ }
246
+ },
247
+ "match": "(&)?(\\$)[\\w_]+(;)?",
248
+ "name": "variable.parameter.function.active4d"
249
+ },
250
+ {
251
+ "begin": "(=)",
252
+ "beginCaptures": {
253
+ "1": {
254
+ "name": "punctuation.separator.key-value.active4d"
255
+ }
256
+ },
257
+ "end": "(;)|(?=\\))",
258
+ "endCaptures": {
259
+ "1": {
260
+ "name": "punctuation.separator.parameters.active4d"
261
+ }
262
+ },
263
+ "patterns": [
264
+ {
265
+ "include": "$self"
266
+ }
267
+ ]
268
+ }
269
+ ]
270
+ },
271
+ {
272
+ "match": "(?x) (\n\t\t\t\t:=\n\t\t\t|\t\\+=\t\n\t\t\t|\t\\-=\t\n\t\t\t|\t/=\t\n\t\t\t|\t\\\\=\t\n\t\t\t|\t\\*=\t\n\t\t\t|\t\\%=\t\n\t\t\t|\t\\^=\t\n\t\t\t|\t&=\t\n\t\t\t|\t\\|=\t\n\t\t\t|\t<<=\t\n\t\t\t|\t>>=\t\n\t\t\t|\t>\t\n\t\t\t|\t<\t\n\t\t\t|\t>=\t\n\t\t\t|\t<=\t\n\t\t\t|\t=\t\n\t\t\t|\t=~\t\n\t\t\t|\t\\#\t\n\t\t\t|\t\\#~\t\n\t\t\t|\t~\t\n\t\t\t|\t!~\t\n\t\t\t|\t\\+\n\t\t\t|\t\\+\\+\t\n\t\t\t|\t\\-\t\n\t\t\t|\t\\-\\-\t\n\t\t\t|\t/\t\n\t\t\t|\t\\\\\t\n\t\t\t|\t\\*\n\t\t\t|\t\\*\\+\n\t\t\t|\t\\*/\n\t\t\t|\t%\t\n\t\t\t|\t&\t\n\t\t\t|\t\\|\t\n\t\t\t|\t\\^\t\n\t\t\t|\t\\^\\|\t\n\t\t\t|\t<<\n\t\t\t|\t>>\n\t\t\t|\t\\?\\+\n\t\t\t|\t\\?\\-\n\t\t\t|\t\\?\\?\n\t\t\t|\t\\}\n\t\t\t|\t\\{\n\t\t\t|\t;\n\t\t\t|\t\\:\n\t\t\t|\t\\]\\]\n\t\t\t|\t\\[\\[\n\t\t\t|\t\\->)",
273
+ "name": "keyword.operator.active4d"
274
+ },
275
+ {
276
+ "match": "\\b(?i)(end (if|for each|for|while|case)|if|else|while|for each|for|case of|repeat|until|break|continue)\\b",
277
+ "name": "keyword.control.active4d"
278
+ },
279
+ {
280
+ "match": "\\b(?i)(end method|method|define|return|exit|self|import|require|global|throw)\\b",
281
+ "name": "keyword.other.active4d"
282
+ },
283
+ {
284
+ "match": "(?i)\\b(Write Mode|UTF8 Text without length|UTF8 Text with length|UTF8 C string|Text without length|Text array|System date short|System date long|System date abbreviated|String array|Short|Real array|Read Mode|Read and Write|position from start|position from end|position from current|Pointer array|Picture array|No current record|New record|Month Day Year|MM DD YYYY Forced|MM DD YYYY|MAXTEXTLEN|MAXLONG|Mac text without length|Mac text with length|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|is a document|is a directory|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 OEM|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 UTF8|A4D Charset Shift_JIS|A4D Charset None|A4D Charset Mac|A4D Charset ISO Latin1|A4D Charset GB2312)\\b",
285
+ "name": "support.constant.active4d"
286
+ },
287
+ {
288
+ "comment": "4D and Active4D commands",
289
+ "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|utf to mac|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 BLOB SIZE|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 utf8|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 string|insert into array|INSERT ELEMENT|include into|include|in error|import|identical strings|html encode|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|Character code|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",
290
+ "name": "support.function.active4d"
291
+ },
292
+ {
293
+ "comment": "library methods",
294
+ "match": "(?i)\\b((yearMonthDay|writeDumpStyles|writeBold|write|warnInvalidField|valueList|valueCountNoCase|valueCount|validPrice|validEmailAddress|validateTextFields|unlockAndLoad|truncateText|toJSON|timedOut|startObject|startArray|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|getMonthName|getMailMethod|getEnd|getEmptyFields|getDefaults|getDayName|getData|getColumnSource|getColumn|getAt|fuseboxNew|formVariableListToQuery|formatUSPhone|first|findRow|findNoCase|findColumn|find|filterCollection|endObject|endArray|encodeString|encodeDate|encodeCollection|encodeBoolean|encodeArray|encode|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|addSelection|addRowSet|addMetaTag|addJS|addJavascript|addDumpStyles|addCSS|addArray|add))\\b",
295
+ "name": "support.function.active4d"
296
+ },
297
+ {
298
+ "match": "(?i)\\b(OK|Document|fusebox\\.conf\\.fuseaction|Error)\\b",
299
+ "name": "support.variable.active4d"
300
+ },
301
+ {
302
+ "captures": {
303
+ "1": {
304
+ "name": "support.class.active4d"
305
+ },
306
+ "2": {
307
+ "name": "support.function.active4d"
308
+ }
309
+ },
310
+ "match": "(?<!\\$)\\b((?:a4d\\.(?:console|debug|lists|utils|web|json)|Batch|Breadcrumbs|fusebox\\.conf|fusebox\\.head|fusebox|RowSet))\\.([[:alpha:]][[[:alnum:]]_ ]+[[:alnum:]])"
311
+ }
312
+ ],
313
+ "repository": {
314
+ "escaped_char": {
315
+ "match": "\\\\.",
316
+ "name": "constant.character.escape.active4d"
317
+ },
318
+ "escaped_interpolated_code": {
319
+ "begin": "\\\\`",
320
+ "end": "`",
321
+ "name": "string.interpolated.escaped.active4d"
322
+ },
323
+ "escaped_interpolated_collection_ref": {
324
+ "match": "\\\\(_form|_query|_request|globals|session)({(\".+?\"|\\d+|\\$[\\w_]+)})+(\\[\\[\\d+\\]\\])*",
325
+ "name": "string.interpolated.escaped.active4d"
326
+ },
327
+ "escaped_interpolated_table_field": {
328
+ "match": "\\\\\\[\\w[\\w_ ]*\\][\\w_]+(\\[\\[\\d+\\]\\])*",
329
+ "name": "string.interpolated.escaped.active4d"
330
+ },
331
+ "escaped_interpolated_variable": {
332
+ "captures": {
333
+ "1": {
334
+ "name": "punctuation.definition.variable.active4d"
335
+ }
336
+ },
337
+ "match": "\\\\\\$[\\w_]+({(\".+?\"|\\d+|\\$[\\w_]+)})*(\\[\\[\\d+\\]\\])*",
338
+ "name": "string.interpolated.escaped.active4d"
339
+ },
340
+ "fusedoc": {
341
+ "begin": "(?=^\\s*<fusedoc )",
342
+ "end": "(?<=</fusedoc>)",
343
+ "name": "text.xml",
344
+ "patterns": [
345
+ {
346
+ "include": "text.xml"
347
+ }
348
+ ]
349
+ },
350
+ "interpolated_code": {
351
+ "begin": "`",
352
+ "beginCaptures": {
353
+ "0": {
354
+ "name": "punctuation.definition.string.begin.active4d"
355
+ }
356
+ },
357
+ "end": "`",
358
+ "endCaptures": {
359
+ "0": {
360
+ "name": "punctuation.definition.string.end.active4d"
361
+ }
362
+ },
363
+ "name": "source.interpolated.active4d",
364
+ "patterns": [
365
+ {
366
+ "include": "$self"
367
+ }
368
+ ]
369
+ },
370
+ "interpolated_collection_ref": {
371
+ "match": "(_form|_query|_request|globals|session)({(\".+?\"|\\d+|\\$[\\w_]+)})+(\\[\\[\\d+\\]\\])*",
372
+ "name": "variable.other.interpolated.collection-ref.active4d"
373
+ },
374
+ "interpolated_string": {
375
+ "patterns": [
376
+ {
377
+ "include": "#escaped_interpolated_code"
378
+ },
379
+ {
380
+ "include": "#interpolated_code"
381
+ },
382
+ {
383
+ "include": "#escaped_interpolated_table_field"
384
+ },
385
+ {
386
+ "include": "#interpolated_table_field"
387
+ },
388
+ {
389
+ "include": "#escaped_interpolated_variable"
390
+ },
391
+ {
392
+ "include": "#interpolated_variable"
393
+ },
394
+ {
395
+ "include": "#escaped_interpolated_collection_ref"
396
+ },
397
+ {
398
+ "include": "#interpolated_collection_ref"
399
+ }
400
+ ]
401
+ },
402
+ "interpolated_table_field": {
403
+ "match": "\\[\\w[\\w_ ]*\\][\\w_]+(\\[\\[\\d+\\]\\])*",
404
+ "name": "variable.other.interpolated.table-field.active4d"
405
+ },
406
+ "interpolated_variable": {
407
+ "captures": {
408
+ "1": {
409
+ "name": "punctuation.definition.variable.active4d"
410
+ }
411
+ },
412
+ "match": "(\\$)[\\w_]+({(\".+?\"|\\d+|\\$[\\w_]+)})*(\\[\\[\\d+\\]\\])*",
413
+ "name": "variable.other.interpolated.local.active4d"
414
+ }
415
+ },
416
+ "scopeName": "source.active4d",
417
+ "uuid": "8C2BF09D-AE95-479B-B516-F8DB62C86A0C"
418
+ }
@@ -18,7 +18,7 @@
18
18
  "name": "entity.name.function.ada"
19
19
  }
20
20
  },
21
- "match": "\\b(?i:(function|procedure))\\b\\s+(\\w+(\\.\\w+)?|\"(?:\\+|-|=|\\*|\/)\")",
21
+ "match": "\\b(?i:(function|procedure))\\b\\s+(\\w+(\\.\\w+)?|\"(?:\\+|-|=|\\*|/)\")",
22
22
  "name": "meta.function.ada"
23
23
  },
24
24
  {
@@ -33,7 +33,7 @@
33
33
  "name": "entity.name.type.package.ada"
34
34
  }
35
35
  },
36
- "match": "\\b(?i:(package)(?:\\b\\s+(body))?)\\b\\s+(\\w+(\\.\\w+)?|\"(?:\\+|-|=|\\*|\/)\")",
36
+ "match": "\\b(?i:(package)(?:\\b\\s+(body))?)\\b\\s+(\\w+(\\.\\w+)?|\"(?:\\+|-|=|\\*|/)\")",
37
37
  "name": "meta.function.ada"
38
38
  },
39
39
  {
@@ -45,7 +45,7 @@
45
45
  "name": "entity.name.function.ada"
46
46
  }
47
47
  },
48
- "match": "\\b(?i:(end))\\b\\s+(\\w+(\\.\\w+)?|\"(\\+|-|=|\\*|\/)\")\\s?;",
48
+ "match": "\\b(?i:(end))\\b\\s+(\\w+(\\.\\w+)?|\"(\\+|-|=|\\*|/)\")\\s?;",
49
49
  "name": "meta.function.ada"
50
50
  },
51
51
  {
@@ -0,0 +1,196 @@
1
+ {
2
+ "fileTypes": [
3
+ "ant.xml",
4
+ "build.xml"
5
+ ],
6
+ "firstLineMatch": "<\\!--\\s*ant\\s*-->",
7
+ "foldingStartMarker": "^\\s*(<[^!?%/](?!.+?(/>|</.+?>))|<[!%]--(?!.+?--%?>)|<%[!]?(?!.+?%>))",
8
+ "foldingStopMarker": "^\\s*(</[^>]+>|[/%]>|-->)\\s*$",
9
+ "keyEquivalent": "^~A",
10
+ "name": "Ant",
11
+ "patterns": [
12
+ {
13
+ "begin": "<[!%]--",
14
+ "captures": {
15
+ "0": {
16
+ "name": "punctuation.definition.comment.xml.ant"
17
+ }
18
+ },
19
+ "end": "--%?>",
20
+ "name": "comment.block.xml.ant"
21
+ },
22
+ {
23
+ "begin": "(<target)\\b",
24
+ "captures": {
25
+ "1": {
26
+ "name": "entity.name.tag.target.xml.ant"
27
+ }
28
+ },
29
+ "end": "(/?>)",
30
+ "name": "meta.tag.target.xml.ant",
31
+ "patterns": [
32
+ {
33
+ "include": "#tagStuff"
34
+ }
35
+ ]
36
+ },
37
+ {
38
+ "begin": "(<macrodef)\\b",
39
+ "captures": {
40
+ "1": {
41
+ "name": "entity.name.tag.macrodef.xml.ant"
42
+ }
43
+ },
44
+ "end": "(/?>)",
45
+ "name": "meta.tag.macrodef.xml.ant",
46
+ "patterns": [
47
+ {
48
+ "include": "#tagStuff"
49
+ }
50
+ ]
51
+ },
52
+ {
53
+ "begin": "(</?)(?:([-_a-zA-Z0-9]+)((:)))?([-_a-zA-Z0-9:]+)",
54
+ "captures": {
55
+ "1": {
56
+ "name": "punctuation.definition.tag.xml.ant"
57
+ },
58
+ "2": {
59
+ "name": "entity.name.tag.namespace.xml.ant"
60
+ },
61
+ "3": {
62
+ "name": "entity.name.tag.xml.ant"
63
+ },
64
+ "4": {
65
+ "name": "punctuation.separator.namespace.xml.ant"
66
+ },
67
+ "5": {
68
+ "name": "entity.name.tag.localname.xml.ant"
69
+ }
70
+ },
71
+ "end": "(/?>)",
72
+ "name": "meta.tag.xml.ant",
73
+ "patterns": [
74
+ {
75
+ "include": "#tagStuff"
76
+ }
77
+ ]
78
+ },
79
+ {
80
+ "include": "text.xml"
81
+ },
82
+ {
83
+ "include": "#javaProperties"
84
+ },
85
+ {
86
+ "include": "#javaAttributes"
87
+ }
88
+ ],
89
+ "repository": {
90
+ "doublequotedString": {
91
+ "begin": "\"",
92
+ "beginCaptures": {
93
+ "0": {
94
+ "name": "punctuation.definition.string.begin.xml.ant"
95
+ }
96
+ },
97
+ "end": "\"",
98
+ "endCaptures": {
99
+ "0": {
100
+ "name": "punctuation.definition.string.end.xml.ant"
101
+ }
102
+ },
103
+ "name": "string.quoted.double.xml.ant",
104
+ "patterns": [
105
+ {
106
+ "include": "#javaAttributes"
107
+ },
108
+ {
109
+ "include": "#javaProperties"
110
+ }
111
+ ]
112
+ },
113
+ "javaAttributes": {
114
+ "begin": "\\@{",
115
+ "beginCaptures": {
116
+ "0": {
117
+ "name": "punctuation.definition.java-attrib.begin.ant"
118
+ }
119
+ },
120
+ "end": "}",
121
+ "endCaptures": {
122
+ "0": {
123
+ "name": "punctuation.definition.java-attrib.end.ant"
124
+ }
125
+ },
126
+ "name": "source.java-attrib.embedded.ant"
127
+ },
128
+ "javaProperties": {
129
+ "begin": "\\${",
130
+ "beginCaptures": {
131
+ "0": {
132
+ "name": "punctuation.definition.java-prop.begin.ant"
133
+ }
134
+ },
135
+ "end": "}",
136
+ "endCaptures": {
137
+ "0": {
138
+ "name": "punctuation.definition.java-prop.end.ant"
139
+ }
140
+ },
141
+ "name": "source.java-props.embedded.ant"
142
+ },
143
+ "singlequotedString": {
144
+ "begin": "'",
145
+ "beginCaptures": {
146
+ "0": {
147
+ "name": "punctuation.definition.string.begin.xml.ant"
148
+ }
149
+ },
150
+ "end": "'",
151
+ "endCaptures": {
152
+ "0": {
153
+ "name": "punctuation.definition.string.end.xml.ant"
154
+ }
155
+ },
156
+ "name": "string.quoted.single.xml.ant",
157
+ "patterns": [
158
+ {
159
+ "include": "#javaAttributes"
160
+ },
161
+ {
162
+ "include": "#javaProperties"
163
+ }
164
+ ]
165
+ },
166
+ "tagStuff": {
167
+ "patterns": [
168
+ {
169
+ "captures": {
170
+ "1": {
171
+ "name": "entity.other.attribute-name.namespace.xml.ant"
172
+ },
173
+ "2": {
174
+ "name": "entity.other.attribute-name.xml.ant"
175
+ },
176
+ "3": {
177
+ "name": "punctuation.separator.namespace.xml.ant"
178
+ },
179
+ "4": {
180
+ "name": "entity.other.attribute-name.localname.xml.ant"
181
+ }
182
+ },
183
+ "match": " (?:([-_a-zA-Z0-9]+)((:)))?([_a-zA-Z-]+)="
184
+ },
185
+ {
186
+ "include": "#doublequotedString"
187
+ },
188
+ {
189
+ "include": "#singlequotedString"
190
+ }
191
+ ]
192
+ }
193
+ },
194
+ "scopeName": "text.xml.ant",
195
+ "uuid": "E1B78601-E584-4A7F-B011-A61710BFE035"
196
+ }