ver 2009.10.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG +1404 -0
- data/MANIFEST +187 -0
- data/Rakefile +30 -0
- data/TODO +169 -0
- data/bin/ver +19 -0
- data/config/detect.rb +109 -0
- data/config/keymap/vim.rb +239 -0
- data/config/rc.rb +0 -0
- data/config/scratch +3 -0
- data/config/syntax/ANTLR.json +275 -0
- data/config/syntax/ASP VB.net.json +228 -0
- data/config/syntax/ASP.json +135 -0
- data/config/syntax/ActionScript.json +168 -0
- data/config/syntax/Ada.json +108 -0
- data/config/syntax/Apache.json +342 -0
- data/config/syntax/AppleScript.json +721 -0
- data/config/syntax/Bibtex.json +253 -0
- data/config/syntax/Blog (HTML).json +47 -0
- data/config/syntax/Blog (Markdown).json +50 -0
- data/config/syntax/Blog (Text).json +45 -0
- data/config/syntax/Blog (Textile).json +45 -0
- data/config/syntax/Bulletin Board.json +428 -0
- data/config/syntax/C++.json +323 -0
- data/config/syntax/C.json +694 -0
- data/config/syntax/CSS.json +346 -0
- data/config/syntax/DOT.json +79 -0
- data/config/syntax/Diff.json +136 -0
- data/config/syntax/Dylan.json +104 -0
- data/config/syntax/Eiffel.json +128 -0
- data/config/syntax/Erlang.json +1636 -0
- data/config/syntax/F-Script.json +137 -0
- data/config/syntax/FXScript.json +260 -0
- data/config/syntax/Gri.json +141 -0
- data/config/syntax/HTML (Mason).json +207 -0
- data/config/syntax/HTML (Rails).json +52 -0
- data/config/syntax/HTML (Tcl).json +42 -0
- data/config/syntax/HTML for ASP.net.json +736 -0
- data/config/syntax/HTML-ASP.json +45 -0
- data/config/syntax/HTML.json +614 -0
- data/config/syntax/Haskell.json +407 -0
- data/config/syntax/Inform.json +80 -0
- data/config/syntax/Ini.json +91 -0
- data/config/syntax/Io.json +142 -0
- data/config/syntax/Java.json +745 -0
- data/config/syntax/JavaProperties.json +42 -0
- data/config/syntax/JavaScript.json +446 -0
- data/config/syntax/LaTeX Beamer.json +65 -0
- data/config/syntax/LaTeX Log.json +88 -0
- data/config/syntax/LaTeX.json +962 -0
- data/config/syntax/Lighttpd.json +93 -0
- data/config/syntax/Lisp.json +101 -0
- data/config/syntax/Literate Haskell.json +55 -0
- data/config/syntax/Logtalk.json +289 -0
- data/config/syntax/Lua.json +146 -0
- data/config/syntax/M.json +744 -0
- data/config/syntax/MEL.json +161 -0
- data/config/syntax/MIPS.json +114 -0
- data/config/syntax/Mail.json +224 -0
- data/config/syntax/Makefile.json +66 -0
- data/config/syntax/Markdown.json +644 -0
- data/config/syntax/Modula-3.json +80 -0
- data/config/syntax/Movable Type.json +348 -0
- data/config/syntax/OCaml.json +1391 -0
- data/config/syntax/Objective-C++.json +21 -0
- data/config/syntax/OpenGL.json +24 -0
- data/config/syntax/PHP.json +2184 -0
- data/config/syntax/Pascal.json +128 -0
- data/config/syntax/Perl.json +2091 -0
- data/config/syntax/Plain text.json +49 -0
- data/config/syntax/Processing.json +188 -0
- data/config/syntax/Quake3 Config.json +54 -0
- data/config/syntax/R.json +157 -0
- data/config/syntax/Rez.json +137 -0
- data/config/syntax/Ruby on Rails.json +170 -0
- data/config/syntax/Ruby.json +1753 -0
- data/config/syntax/SQL (Rails).json +31 -0
- data/config/syntax/SQL.json +435 -0
- data/config/syntax/SWIG.json +96 -0
- data/config/syntax/Scheme.json +359 -0
- data/config/syntax/Shell-Unix-Generic.json +1198 -0
- data/config/syntax/Slate.json +265 -0
- data/config/syntax/Smarty.json +110 -0
- data/config/syntax/Standard ML.json +322 -0
- data/config/syntax/Subversion commit message.json +62 -0
- data/config/syntax/Tcl.json +278 -0
- data/config/syntax/TeX Math.json +83 -0
- data/config/syntax/TeX.json +157 -0
- data/config/syntax/Textile.json +273 -0
- data/config/syntax/Twiki.json +436 -0
- data/config/syntax/Vectorscript.json +97 -0
- data/config/syntax/XML strict.json +148 -0
- data/config/syntax/XML.json +301 -0
- data/config/syntax/XSL.json +96 -0
- data/config/syntax/YAML.json +293 -0
- data/config/syntax/iCalendar.json +51 -0
- data/config/syntax/reStructuredText.json +403 -0
- data/config/theme/Active4D.json +260 -0
- data/config/theme/All Hallow's Eve.json +171 -0
- data/config/theme/Amy.json +359 -0
- data/config/theme/BBEdit.json +269 -0
- data/config/theme/Bespin.json +322 -0
- data/config/theme/Blackboard.json +215 -0
- data/config/theme/BoysAndGirls01.json +156 -0
- data/config/theme/Brilliance Black.json +1695 -0
- data/config/theme/Brilliance Dull.json +1451 -0
- data/config/theme/Classic Modified.json +288 -0
- data/config/theme/Cobalt.json +345 -0
- data/config/theme/Cool Glow.json +215 -0
- data/config/theme/Dawn.json +258 -0
- data/config/theme/Eiffel.json +270 -0
- data/config/theme/Espresso Libre.json +247 -0
- data/config/theme/Fluidvision.json +272 -0
- data/config/theme/IDLE.json +159 -0
- data/config/theme/LAZY.json +178 -0
- data/config/theme/Mac Classic.json +277 -0
- data/config/theme/MagicWB (Amiga).json +231 -0
- data/config/theme/Merbivore Soft.json +181 -0
- data/config/theme/Merbivore.json +181 -0
- data/config/theme/Monokai.json +177 -0
- data/config/theme/Notepad2.json +166 -0
- data/config/theme/Pastels on Dark.json +437 -0
- data/config/theme/RubyBlue.json +226 -0
- data/config/theme/Sin City 2.json +361 -0
- data/config/theme/Slate.json +270 -0
- data/config/theme/Slush & Poppies.json +232 -0
- data/config/theme/SpaceCadet.json +143 -0
- data/config/theme/Sunburst.json +415 -0
- data/config/theme/Twilight BG FG.json +633 -0
- data/config/theme/Twilight.json +321 -0
- data/config/theme/Whys Poignant.json +119 -0
- data/config/theme/Zenburnesque.json +237 -0
- data/config/theme/barf.json +155 -0
- data/config/theme/fake.json +418 -0
- data/config/theme/happydeluxe.json +114 -0
- data/config/theme/iLife 05.json +393 -0
- data/config/theme/iPlastic.json +177 -0
- data/config/theme/mintBlue Dark.json +414 -0
- data/config/theme/mintBlue.json +415 -0
- data/config/theme/monoindustrial.json +276 -0
- data/config/theme/starlight.json +67 -0
- data/config/tutorial +74 -0
- data/config/welcome +115 -0
- data/help/index.verh +14 -0
- data/lib/ver.rb +156 -0
- data/lib/ver/entry.rb +97 -0
- data/lib/ver/keymap.rb +96 -0
- data/lib/ver/layout.rb +107 -0
- data/lib/ver/methods.rb +19 -0
- data/lib/ver/methods/completion.rb +116 -0
- data/lib/ver/methods/control.rb +340 -0
- data/lib/ver/methods/insert.rb +6 -0
- data/lib/ver/methods/move.rb +65 -0
- data/lib/ver/methods/search.rb +33 -0
- data/lib/ver/methods/select.rb +145 -0
- data/lib/ver/methods/views.rb +21 -0
- data/lib/ver/mode.rb +160 -0
- data/lib/ver/options.rb +207 -0
- data/lib/ver/plist.rb +106 -0
- data/lib/ver/status.rb +67 -0
- data/lib/ver/syntax.rb +68 -0
- data/lib/ver/syntax/detector.rb +53 -0
- data/lib/ver/syntax/processor.rb +48 -0
- data/lib/ver/text.rb +374 -0
- data/lib/ver/textpow.rb +357 -0
- data/lib/ver/theme.rb +162 -0
- data/lib/ver/vendor/fuzzy_file_finder.rb +340 -0
- data/lib/ver/view.rb +163 -0
- data/lib/ver/view/entry.rb +28 -0
- data/lib/ver/view/list.rb +137 -0
- data/lib/ver/view/list/buffer.rb +27 -0
- data/lib/ver/view/list/fuzzy_file_finder.rb +44 -0
- data/lib/ver/view/list/syntax.rb +13 -0
- data/lib/ver/view/list/theme.rb +13 -0
- data/spec/keymap.rb +224 -0
- data/tasks/bacon.rake +49 -0
- data/tasks/changelog.rake +18 -0
- data/tasks/gem.rake +22 -0
- data/tasks/gem_installer.rake +76 -0
- data/tasks/grancher.rake +12 -0
- data/tasks/install_dependencies.rake +6 -0
- data/tasks/manifest.rake +4 -0
- data/tasks/plist2json.rake +35 -0
- data/tasks/rcov.rake +18 -0
- data/tasks/release.rake +12 -0
- data/tasks/reversion.rake +8 -0
- data/tasks/syntax_list.rake +31 -0
- data/ver.gemspec +29 -0
- metadata +241 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"fileTypes": [
|
|
3
|
+
"properties"
|
|
4
|
+
],
|
|
5
|
+
"keyEquivalent": "^~J",
|
|
6
|
+
"name": "Java Properties",
|
|
7
|
+
"patterns": [
|
|
8
|
+
{
|
|
9
|
+
"captures": {
|
|
10
|
+
"1": {
|
|
11
|
+
"name": "punctuation.definition.comment.java-props"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"match": "([#!])(.+)?$\\n?",
|
|
15
|
+
"name": "comment.line.number-sign.java-props"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"begin": "\/\\*",
|
|
19
|
+
"captures": {
|
|
20
|
+
"0": {
|
|
21
|
+
"name": "punctuation.definition.comment.java-props"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"end": "\\*\/",
|
|
25
|
+
"name": "comment.block.java-props"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"captures": {
|
|
29
|
+
"1": {
|
|
30
|
+
"name": "keyword.other.java-props"
|
|
31
|
+
},
|
|
32
|
+
"2": {
|
|
33
|
+
"name": "punctuation.separator.key-value.java-props"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"comment": "Not compliant with the properties file spec, but this works for me, and I'm the one who counts around here.",
|
|
37
|
+
"match": "^([^:=]+)([:=])(.*)$"
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"scopeName": "source.java-props",
|
|
41
|
+
"uuid": "2A28E50A-6B1D-11D9-8689-000D93589AF6"
|
|
42
|
+
}
|
|
@@ -0,0 +1,446 @@
|
|
|
1
|
+
{
|
|
2
|
+
"comment": "JavaScript Syntax: version 2.0",
|
|
3
|
+
"fileTypes": [
|
|
4
|
+
"js",
|
|
5
|
+
"htc",
|
|
6
|
+
"jsx"
|
|
7
|
+
],
|
|
8
|
+
"foldingStartMarker": "^.*\\bfunction\\s*(\\w+\\s*)?\\([^\\)]*\\)(\\s*\\{[^\\}]*)?\\s*$",
|
|
9
|
+
"foldingStopMarker": "^\\s*\\}",
|
|
10
|
+
"keyEquivalent": "^~J",
|
|
11
|
+
"name": "JavaScript",
|
|
12
|
+
"patterns": [
|
|
13
|
+
{
|
|
14
|
+
"captures": {
|
|
15
|
+
"1": {
|
|
16
|
+
"name": "support.class.js"
|
|
17
|
+
},
|
|
18
|
+
"2": {
|
|
19
|
+
"name": "support.constant.js"
|
|
20
|
+
},
|
|
21
|
+
"3": {
|
|
22
|
+
"name": "keyword.operator.js"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"comment": "match stuff like: Sound.prototype = { \u2026 } when extending an object",
|
|
26
|
+
"match": "([a-zA-Z_?.$][\\w?.$]*)\\.(prototype)\\s*(=)\\s*",
|
|
27
|
+
"name": "meta.class.js"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"captures": {
|
|
31
|
+
"1": {
|
|
32
|
+
"name": "support.class.js"
|
|
33
|
+
},
|
|
34
|
+
"2": {
|
|
35
|
+
"name": "support.constant.js"
|
|
36
|
+
},
|
|
37
|
+
"3": {
|
|
38
|
+
"name": "entity.name.function.js"
|
|
39
|
+
},
|
|
40
|
+
"4": {
|
|
41
|
+
"name": "keyword.operator.js"
|
|
42
|
+
},
|
|
43
|
+
"5": {
|
|
44
|
+
"name": "storage.type.function.js"
|
|
45
|
+
},
|
|
46
|
+
"6": {
|
|
47
|
+
"name": "punctuation.definition.parameters.begin.js"
|
|
48
|
+
},
|
|
49
|
+
"7": {
|
|
50
|
+
"name": "variable.parameter.function.js"
|
|
51
|
+
},
|
|
52
|
+
"8": {
|
|
53
|
+
"name": "punctuation.definition.parameters.end.js"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"comment": "match stuff like: Sound.prototype.play = function() { \u2026 }",
|
|
57
|
+
"match": "([a-zA-Z_?.$][\\w?.$]*)\\.(prototype)\\.([a-zA-Z_?.$][\\w?.$]*)\\s*(=)\\s*(function)?\\s*(\\()(.*?)(\\))",
|
|
58
|
+
"name": "meta.function.prototype.js"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"captures": {
|
|
62
|
+
"1": {
|
|
63
|
+
"name": "support.class.js"
|
|
64
|
+
},
|
|
65
|
+
"2": {
|
|
66
|
+
"name": "support.constant.js"
|
|
67
|
+
},
|
|
68
|
+
"3": {
|
|
69
|
+
"name": "entity.name.function.js"
|
|
70
|
+
},
|
|
71
|
+
"4": {
|
|
72
|
+
"name": "keyword.operator.js"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"comment": "match stuff like: Sound.prototype.play = myfunc",
|
|
76
|
+
"match": "([a-zA-Z_?.$][\\w?.$]*)\\.(prototype)\\.([a-zA-Z_?.$][\\w?.$]*)\\s*(=)\\s*",
|
|
77
|
+
"name": "meta.function.js"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"captures": {
|
|
81
|
+
"1": {
|
|
82
|
+
"name": "support.class.js"
|
|
83
|
+
},
|
|
84
|
+
"2": {
|
|
85
|
+
"name": "entity.name.function.js"
|
|
86
|
+
},
|
|
87
|
+
"3": {
|
|
88
|
+
"name": "keyword.operator.js"
|
|
89
|
+
},
|
|
90
|
+
"4": {
|
|
91
|
+
"name": "storage.type.function.js"
|
|
92
|
+
},
|
|
93
|
+
"5": {
|
|
94
|
+
"name": "punctuation.definition.parameters.begin.js"
|
|
95
|
+
},
|
|
96
|
+
"6": {
|
|
97
|
+
"name": "variable.parameter.function.js"
|
|
98
|
+
},
|
|
99
|
+
"7": {
|
|
100
|
+
"name": "punctuation.definition.parameters.end.js"
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
"comment": "match stuff like: Sound.play = function() { \u2026 }",
|
|
104
|
+
"match": "([a-zA-Z_?.$][\\w?.$]*)\\.([a-zA-Z_?.$][\\w?.$]*)\\s*(=)\\s*(function)\\s*(\\()(.*?)(\\))",
|
|
105
|
+
"name": "meta.function.js"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"captures": {
|
|
109
|
+
"1": {
|
|
110
|
+
"name": "entity.name.function.js"
|
|
111
|
+
},
|
|
112
|
+
"2": {
|
|
113
|
+
"name": "keyword.operator.js"
|
|
114
|
+
},
|
|
115
|
+
"3": {
|
|
116
|
+
"name": "storage.type.function.js"
|
|
117
|
+
},
|
|
118
|
+
"4": {
|
|
119
|
+
"name": "punctuation.definition.parameters.begin.js"
|
|
120
|
+
},
|
|
121
|
+
"5": {
|
|
122
|
+
"name": "variable.parameter.function.js"
|
|
123
|
+
},
|
|
124
|
+
"6": {
|
|
125
|
+
"name": "punctuation.definition.parameters.end.js"
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
"comment": "match stuff like: play = function() { \u2026 }",
|
|
129
|
+
"match": "([a-zA-Z_?$][\\w?$]*)\\s*(=)\\s*(function)\\s*(\\()(.*?)(\\))",
|
|
130
|
+
"name": "meta.function.js"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"captures": {
|
|
134
|
+
"1": {
|
|
135
|
+
"name": "storage.type.function.js"
|
|
136
|
+
},
|
|
137
|
+
"2": {
|
|
138
|
+
"name": "entity.name.function.js"
|
|
139
|
+
},
|
|
140
|
+
"3": {
|
|
141
|
+
"name": "punctuation.definition.parameters.begin.js"
|
|
142
|
+
},
|
|
143
|
+
"4": {
|
|
144
|
+
"name": "variable.parameter.function.js"
|
|
145
|
+
},
|
|
146
|
+
"5": {
|
|
147
|
+
"name": "punctuation.definition.parameters.end.js"
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
"comment": "match regular function like: function myFunc(arg) { \u2026 }",
|
|
151
|
+
"match": "\\b(function)\\s+([a-zA-Z_$]\\w*)?\\s*(\\()(.*?)(\\))",
|
|
152
|
+
"name": "meta.function.js"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"captures": {
|
|
156
|
+
"1": {
|
|
157
|
+
"name": "entity.name.function.js"
|
|
158
|
+
},
|
|
159
|
+
"2": {
|
|
160
|
+
"name": "storage.type.function.js"
|
|
161
|
+
},
|
|
162
|
+
"3": {
|
|
163
|
+
"name": "punctuation.definition.parameters.begin.js"
|
|
164
|
+
},
|
|
165
|
+
"4": {
|
|
166
|
+
"name": "variable.parameter.function.js"
|
|
167
|
+
},
|
|
168
|
+
"5": {
|
|
169
|
+
"name": "punctuation.definition.parameters.end.js"
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
"comment": "match stuff like: foobar: function() { \u2026 }",
|
|
173
|
+
"match": "\\b([a-zA-Z_?.$][\\w?.$]*)\\s*:\\s*\\b(function)?\\s*(\\()(.*?)(\\))",
|
|
174
|
+
"name": "meta.function.json.js"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"captures": {
|
|
178
|
+
"1": {
|
|
179
|
+
"name": "string.quoted.single.js"
|
|
180
|
+
},
|
|
181
|
+
"10": {
|
|
182
|
+
"name": "punctuation.definition.parameters.begin.js"
|
|
183
|
+
},
|
|
184
|
+
"11": {
|
|
185
|
+
"name": "variable.parameter.function.js"
|
|
186
|
+
},
|
|
187
|
+
"12": {
|
|
188
|
+
"name": "punctuation.definition.parameters.end.js"
|
|
189
|
+
},
|
|
190
|
+
"2": {
|
|
191
|
+
"name": "punctuation.definition.string.begin.js"
|
|
192
|
+
},
|
|
193
|
+
"3": {
|
|
194
|
+
"name": "entity.name.function.js"
|
|
195
|
+
},
|
|
196
|
+
"4": {
|
|
197
|
+
"name": "punctuation.definition.string.end.js"
|
|
198
|
+
},
|
|
199
|
+
"5": {
|
|
200
|
+
"name": "string.quoted.double.js"
|
|
201
|
+
},
|
|
202
|
+
"6": {
|
|
203
|
+
"name": "punctuation.definition.string.begin.js"
|
|
204
|
+
},
|
|
205
|
+
"7": {
|
|
206
|
+
"name": "entity.name.function.js"
|
|
207
|
+
},
|
|
208
|
+
"8": {
|
|
209
|
+
"name": "punctuation.definition.string.end.js"
|
|
210
|
+
},
|
|
211
|
+
"9": {
|
|
212
|
+
"name": "entity.name.function.js"
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
"comment": "Attempt to match \"foo\": function",
|
|
216
|
+
"match": "(?:((')(.*?)('))|((\")(.*?)(\")))\\s*:\\s*\\b(function)?\\s*(\\()(.*?)(\\))",
|
|
217
|
+
"name": "meta.function.json.js"
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"captures": {
|
|
221
|
+
"1": {
|
|
222
|
+
"name": "keyword.operator.new.js"
|
|
223
|
+
},
|
|
224
|
+
"2": {
|
|
225
|
+
"name": "entity.name.type.instance.js"
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
"match": "(new)\\s+(\\w+(?:\\.\\w*)?)",
|
|
229
|
+
"name": "meta.class.instance.constructor"
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"match": "\\b(console)\\b",
|
|
233
|
+
"name": "entity.name.type.object.js.firebug"
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"match": "\\.(warn|info|log|error|time|timeEnd|assert)\\b",
|
|
237
|
+
"name": "support.function.js.firebug"
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"match": "\\b((0(x|X)[0-9a-fA-F]+)|([0-9]+(\\.[0-9]+)?))\\b",
|
|
241
|
+
"name": "constant.numeric.js"
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"begin": "'",
|
|
245
|
+
"beginCaptures": {
|
|
246
|
+
"0": {
|
|
247
|
+
"name": "punctuation.definition.string.begin.js"
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
"end": "'",
|
|
251
|
+
"endCaptures": {
|
|
252
|
+
"0": {
|
|
253
|
+
"name": "punctuation.definition.string.end.js"
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
"name": "string.quoted.single.js",
|
|
257
|
+
"patterns": [
|
|
258
|
+
{
|
|
259
|
+
"match": "\\\\(x\\h{2}|[0-2][0-7]{,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.)",
|
|
260
|
+
"name": "constant.character.escape.js"
|
|
261
|
+
}
|
|
262
|
+
]
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"begin": "\"",
|
|
266
|
+
"beginCaptures": {
|
|
267
|
+
"0": {
|
|
268
|
+
"name": "punctuation.definition.string.begin.js"
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
"end": "\"",
|
|
272
|
+
"endCaptures": {
|
|
273
|
+
"0": {
|
|
274
|
+
"name": "punctuation.definition.string.end.js"
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
"name": "string.quoted.double.js",
|
|
278
|
+
"patterns": [
|
|
279
|
+
{
|
|
280
|
+
"match": "\\\\(x\\h{2}|[0-2][0-7]{,2}|3[0-6][0-7]|37[0-7]?|[4-7][0-7]?|.)",
|
|
281
|
+
"name": "constant.character.escape.js"
|
|
282
|
+
}
|
|
283
|
+
]
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
"begin": "\/\\*\\*(?!\/)",
|
|
287
|
+
"captures": {
|
|
288
|
+
"0": {
|
|
289
|
+
"name": "punctuation.definition.comment.js"
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
"end": "\\*\/",
|
|
293
|
+
"name": "comment.block.documentation.js"
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"begin": "\/\\*",
|
|
297
|
+
"captures": {
|
|
298
|
+
"0": {
|
|
299
|
+
"name": "punctuation.definition.comment.js"
|
|
300
|
+
}
|
|
301
|
+
},
|
|
302
|
+
"end": "\\*\/",
|
|
303
|
+
"name": "comment.block.js"
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"captures": {
|
|
307
|
+
"1": {
|
|
308
|
+
"name": "punctuation.definition.comment.js"
|
|
309
|
+
}
|
|
310
|
+
},
|
|
311
|
+
"match": "(\/\/).*$\\n?",
|
|
312
|
+
"name": "comment.line.double-slash.js"
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"captures": {
|
|
316
|
+
"0": {
|
|
317
|
+
"name": "punctuation.definition.comment.html.js"
|
|
318
|
+
},
|
|
319
|
+
"2": {
|
|
320
|
+
"name": "punctuation.definition.comment.html.js"
|
|
321
|
+
}
|
|
322
|
+
},
|
|
323
|
+
"match": "(<!--|-->)",
|
|
324
|
+
"name": "comment.block.html.js"
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
"match": "\\b(boolean|byte|char|class|double|enum|float|function|int|interface|long|short|var|void)\\b",
|
|
328
|
+
"name": "storage.type.js"
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"match": "\\b(const|export|extends|final|implements|native|private|protected|public|static|synchronized|throws|transient|volatile)\\b",
|
|
332
|
+
"name": "storage.modifier.js"
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
"match": "\\b(break|case|catch|continue|default|do|else|finally|for|goto|if|import|package|return|switch|throw|try|while)\\b",
|
|
336
|
+
"name": "keyword.control.js"
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"match": "\\b(delete|in|instanceof|new|typeof|with)\\b",
|
|
340
|
+
"name": "keyword.operator.js"
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"match": "\\btrue\\b",
|
|
344
|
+
"name": "constant.language.boolean.true.js"
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
"match": "\\bfalse\\b",
|
|
348
|
+
"name": "constant.language.boolean.false.js"
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"match": "\\bnull\\b",
|
|
352
|
+
"name": "constant.language.null.js"
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
"match": "\\b(super|this)\\b",
|
|
356
|
+
"name": "variable.language.js"
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"match": "\\b(debugger)\\b",
|
|
360
|
+
"name": "keyword.other.js"
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"match": "\\b(Anchor|Applet|Area|Array|Boolean|Button|Checkbox|Date|document|event|FileUpload|Form|Frame|Function|Hidden|History|Image|JavaArray|JavaClass|JavaObject|JavaPackage|java|Layer|Link|Location|Math|MimeType|Number|navigator|netscape|Object|Option|Packages|Password|Plugin|Radio|RegExp|Reset|Select|String|Style|Submit|screen|sun|Text|Textarea|window|XMLHttpRequest)\\b",
|
|
364
|
+
"name": "support.class.js"
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"match": "\\b(s(h(ift|ow(Mod(elessDialog|alDialog)|Help))|croll(X|By(Pages|Lines)?|Y|To)?|t(op|rike)|i(n|zeToContent|debar|gnText)|ort|u(p|b(str(ing)?)?)|pli(ce|t)|e(nd|t(Re(sizable|questHeader)|M(i(nutes|lliseconds)|onth)|Seconds|Ho(tKeys|urs)|Year|Cursor|Time(out)?|Interval|ZOptions|Date|UTC(M(i(nutes|lliseconds)|onth)|Seconds|Hours|Date|FullYear)|FullYear|Active)|arch)|qrt|lice|avePreferences|mall)|h(ome|andleEvent)|navigate|c(har(CodeAt|At)|o(s|n(cat|textual|firm)|mpile)|eil|lear(Timeout|Interval)?|a(ptureEvents|ll)|reate(StyleSheet|Popup|EventObject))|t(o(GMTString|S(tring|ource)|U(TCString|pperCase)|Lo(caleString|werCase))|est|a(n|int(Enabled)?))|i(s(NaN|Finite)|ndexOf|talics)|d(isableExternalCapture|ump|etachEvent)|u(n(shift|taint|escape|watch)|pdateCommands)|j(oin|avaEnabled)|p(o(p|w)|ush|lugins.refresh|a(ddings|rse(Int|Float)?)|r(int|ompt|eference))|e(scape|nableExternalCapture|val|lementFromPoint|x(p|ec(Script|Command)?))|valueOf|UTC|queryCommand(State|Indeterm|Enabled|Value)|f(i(nd|le(ModifiedDate|Size|CreatedDate|UpdatedDate)|xed)|o(nt(size|color)|rward)|loor|romCharCode)|watch|l(ink|o(ad|g)|astIndexOf)|a(sin|nchor|cos|t(tachEvent|ob|an(2)?)|pply|lert|b(s|ort))|r(ou(nd|teEvents)|e(size(By|To)|calc|turnValue|place|verse|l(oad|ease(Capture|Events)))|andom)|g(o|et(ResponseHeader|M(i(nutes|lliseconds)|onth)|Se(conds|lection)|Hours|Year|Time(zoneOffset)?|Da(y|te)|UTC(M(i(nutes|lliseconds)|onth)|Seconds|Hours|Da(y|te)|FullYear)|FullYear|A(ttention|llResponseHeaders)))|m(in|ove(B(y|elow)|To(Absolute)?|Above)|ergeAttributes|a(tch|rgins|x))|b(toa|ig|o(ld|rderWidths)|link|ack))\\b(?=\\()",
|
|
368
|
+
"name": "support.function.js"
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
"match": "\\b(s(ub(stringData|mit)|plitText|e(t(NamedItem|Attribute(Node)?)|lect))|has(ChildNodes|Feature)|namedItem|c(l(ick|o(se|neNode))|reate(C(omment|DATASection|aption)|T(Head|extNode|Foot)|DocumentFragment|ProcessingInstruction|E(ntityReference|lement)|Attribute))|tabIndex|i(nsert(Row|Before|Cell|Data)|tem)|open|delete(Row|C(ell|aption)|T(Head|Foot)|Data)|focus|write(ln)?|a(dd|ppend(Child|Data))|re(set|place(Child|Data)|move(NamedItem|Child|Attribute(Node)?)?)|get(NamedItem|Element(sBy(Name|TagName)|ById)|Attribute(Node)?)|blur)\\b(?=\\()",
|
|
372
|
+
"name": "support.function.dom.js"
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
"match": "(?<=\\.)(s(ystemLanguage|cr(ipts|ollbars|een(X|Y|Top|Left))|t(yle(Sheets)?|atus(Text|bar)?)|ibling(Below|Above)|ource|uffixes|e(curity(Policy)?|l(ection|f)))|h(istory|ost(name)?|as(h|Focus))|y|X(MLDocument|SLDocument)|n(ext|ame(space(s|URI)|Prop))|M(IN_VALUE|AX_VALUE)|c(haracterSet|o(n(structor|trollers)|okieEnabled|lorDepth|mp(onents|lete))|urrent|puClass|l(i(p(boardData)?|entInformation)|osed|asses)|alle(e|r)|rypto)|t(o(olbar|p)|ext(Transform|Indent|Decoration|Align)|ags)|SQRT(1_2|2)|i(n(ner(Height|Width)|put)|ds|gnoreCase)|zIndex|o(scpu|n(readystatechange|Line)|uter(Height|Width)|p(sProfile|ener)|ffscreenBuffering)|NEGATIVE_INFINITY|d(i(splay|alog(Height|Top|Width|Left|Arguments)|rectories)|e(scription|fault(Status|Ch(ecked|arset)|View)))|u(ser(Profile|Language|Agent)|n(iqueID|defined)|pdateInterval)|_content|p(ixelDepth|ort|ersonalbar|kcs11|l(ugins|atform)|a(thname|dding(Right|Bottom|Top|Left)|rent(Window|Layer)?|ge(X(Offset)?|Y(Offset)?))|r(o(to(col|type)|duct(Sub)?|mpter)|e(vious|fix)))|e(n(coding|abledPlugin)|x(ternal|pando)|mbeds)|v(isibility|endor(Sub)?|Linkcolor)|URLUnencoded|P(I|OSITIVE_INFINITY)|f(ilename|o(nt(Size|Family|Weight)|rmName)|rame(s|Element)|gColor)|E|whiteSpace|l(i(stStyleType|n(eHeight|kColor))|o(ca(tion(bar)?|lName)|wsrc)|e(ngth|ft(Context)?)|a(st(M(odified|atch)|Index|Paren)|yer(s|X)|nguage))|a(pp(MinorVersion|Name|Co(deName|re)|Version)|vail(Height|Top|Width|Left)|ll|r(ity|guments)|Linkcolor|bove)|r(ight(Context)?|e(sponse(XML|Text)|adyState))|global|x|m(imeTypes|ultiline|enubar|argin(Right|Bottom|Top|Left))|L(N(10|2)|OG(10E|2E))|b(o(ttom|rder(RightWidth|BottomWidth|Style|Color|TopWidth|LeftWidth))|ufferDepth|elow|ackground(Color|Image)))\\b",
|
|
376
|
+
"name": "support.constant.js"
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"match": "(?<=\\.)(s(hape|ystemId|c(heme|ope|rolling)|ta(ndby|rt)|ize|ummary|pecified|e(ctionRowIndex|lected(Index)?)|rc)|h(space|t(tpEquiv|mlFor)|e(ight|aders)|ref(lang)?)|n(o(Resize|tation(s|Name)|Shade|Href|de(Name|Type|Value)|Wrap)|extSibling|ame)|c(h(ildNodes|Off|ecked|arset)?|ite|o(ntent|o(kie|rds)|de(Base|Type)?|l(s|Span|or)|mpact)|ell(s|Spacing|Padding)|l(ear|assName)|aption)|t(ype|Bodies|itle|Head|ext|a(rget|gName)|Foot)|i(sMap|ndex|d|m(plementation|ages))|o(ptions|wnerDocument|bject)|d(i(sabled|r)|o(c(type|umentElement)|main)|e(clare|f(er|ault(Selected|Checked|Value)))|at(eTime|a))|useMap|p(ublicId|arentNode|r(o(file|mpt)|eviousSibling))|e(n(ctype|tities)|vent|lements)|v(space|ersion|alue(Type)?|Link|Align)|URL|f(irstChild|orm(s)?|ace|rame(Border)?)|width|l(ink(s)?|o(ngDesc|wSrc)|a(stChild|ng|bel))|a(nchors|c(ce(ssKey|pt(Charset)?)|tion)|ttributes|pplets|l(t|ign)|r(chive|eas)|xis|Link|bbr)|r(ow(s|Span|Index)|ules|e(v|ferrer|l|adOnly))|m(ultiple|e(thod|dia)|a(rgin(Height|Width)|xLength))|b(o(dy|rder)|ackground|gColor))\\b",
|
|
380
|
+
"name": "support.constant.dom.js"
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
"match": "\\b(ELEMENT_NODE|ATTRIBUTE_NODE|TEXT_NODE|CDATA_SECTION_NODE|ENTITY_REFERENCE_NODE|ENTITY_NODE|PROCESSING_INSTRUCTION_NODE|COMMENT_NODE|DOCUMENT_NODE|DOCUMENT_TYPE_NODE|DOCUMENT_FRAGMENT_NODE|NOTATION_NODE|INDEX_SIZE_ERR|DOMSTRING_SIZE_ERR|HIERARCHY_REQUEST_ERR|WRONG_DOCUMENT_ERR|INVALID_CHARACTER_ERR|NO_DATA_ALLOWED_ERR|NO_MODIFICATION_ALLOWED_ERR|NOT_FOUND_ERR|NOT_SUPPORTED_ERR|INUSE_ATTRIBUTE_ERR)\\b",
|
|
384
|
+
"name": "support.constant.dom.js"
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
"match": "\\bon(R(ow(s(inserted|delete)|e(nter|xit))|e(s(ize(start|end)?|et)|adystatechange))|Mouse(o(ut|ver)|down|up|move)|B(efore(cut|deactivate|u(nload|pdate)|p(aste|rint)|editfocus|activate)|lur)|S(croll|top|ubmit|elect(start|ionchange)?)|H(over|elp)|C(hange|ont(extmenu|rolselect)|ut|ellchange|l(ick|ose))|D(eactivate|ata(setc(hanged|omplete)|available)|r(op|ag(start|over|drop|en(ter|d)|leave)?)|blclick)|Unload|P(aste|ropertychange)|Error(update)?|Key(down|up|press)|Focus|Load|A(ctivate|fter(update|print)|bort))\\b",
|
|
388
|
+
"name": "support.function.event-handler.js"
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
"match": "!|\\$|%|&|\\*|\\-\\-|\\-|\\+\\+|\\+|~|===|==|=|!=|!==|<=|>=|<<=|>>=|>>>=|<>|<|>|!|&&|\\|\\||\\?\\:|\\*=|(?<!\\()\/=|%=|\\+=|\\-=|&=|\\^=|\\b(in|instanceof|new|delete|typeof|void)\\b",
|
|
392
|
+
"name": "keyword.operator.js"
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
"match": "\\b(Infinity|NaN|undefined)\\b",
|
|
396
|
+
"name": "constant.language.js"
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
"begin": "(?<=[=(:]|^|return)\\s*(\/)(?![\/*+{}?])",
|
|
400
|
+
"beginCaptures": {
|
|
401
|
+
"1": {
|
|
402
|
+
"name": "punctuation.definition.string.begin.js"
|
|
403
|
+
}
|
|
404
|
+
},
|
|
405
|
+
"end": "(\/)[igm]*",
|
|
406
|
+
"endCaptures": {
|
|
407
|
+
"1": {
|
|
408
|
+
"name": "punctuation.definition.string.end.js"
|
|
409
|
+
}
|
|
410
|
+
},
|
|
411
|
+
"name": "string.regexp.js",
|
|
412
|
+
"patterns": [
|
|
413
|
+
{
|
|
414
|
+
"match": "\\\\.",
|
|
415
|
+
"name": "constant.character.escape.js"
|
|
416
|
+
}
|
|
417
|
+
]
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
"match": "\\;",
|
|
421
|
+
"name": "punctuation.terminator.statement.js"
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
"match": ",[ |\\t]*",
|
|
425
|
+
"name": "meta.delimiter.object.comma.js"
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
"match": "\\.",
|
|
429
|
+
"name": "meta.delimiter.method.period.js"
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
"match": "\\{|\\}",
|
|
433
|
+
"name": "meta.brace.curly.js"
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
"match": "\\(|\\)",
|
|
437
|
+
"name": "meta.brace.round.js"
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
"match": "\\[|\\]",
|
|
441
|
+
"name": "meta.brace.square.js"
|
|
442
|
+
}
|
|
443
|
+
],
|
|
444
|
+
"scopeName": "source.js",
|
|
445
|
+
"uuid": "93E017CC-6F27-11D9-90EB-000D93589AF6"
|
|
446
|
+
}
|