ver 2009.10.14 → 2009.11.28
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +1094 -0
- data/MANIFEST +227 -25
- data/README.textile +185 -0
- data/bin/ver +96 -12
- data/config/detect.rb +73 -21
- data/config/keymap/emacs.rb +66 -0
- data/config/keymap/vim.rb +250 -140
- data/config/preferences/ANTLR.json +10 -0
- data/config/preferences/ASP vb.NET.json +3 -0
- data/config/preferences/ASP.json +15 -0
- data/config/preferences/ActionScript.json +755 -0
- data/config/preferences/Active4D.json +89 -0
- data/config/preferences/Ada.json +23 -0
- data/config/preferences/Ant.json +356 -0
- data/config/preferences/Apache.json +644 -0
- data/config/preferences/AppleScript.json +92 -0
- data/config/preferences/Bison.json +3 -0
- data/config/preferences/Blogging.json +3 -0
- data/config/preferences/C.json +127 -0
- data/config/preferences/CMake.json +41 -0
- data/config/preferences/CSS.json +461 -0
- data/config/preferences/CTags.json +3 -0
- data/config/preferences/CVS.json +3 -0
- data/config/preferences/ColdFusion.json +32 -0
- data/config/preferences/D.json +58 -0
- data/config/preferences/Darcs.json +3 -0
- data/config/preferences/Diff.json +67 -0
- data/config/preferences/DokuWiki.json +19 -0
- data/config/preferences/Doxygen.json +3 -0
- data/config/preferences/Dylan.json +3 -0
- data/config/preferences/Eiffel.json +59 -0
- data/config/preferences/Erlang.json +72 -0
- data/config/preferences/Experimental.json +1356 -0
- data/config/preferences/F-Script.json +87 -0
- data/config/preferences/FXScript.json +78 -0
- data/config/preferences/FileMerge.json +3 -0
- data/config/preferences/Fortran.json +158 -0
- data/config/preferences/GTD2.json +11 -0
- data/config/preferences/GTDAlt.json +20 -0
- data/config/preferences/GetBundle.json +3 -0
- data/config/preferences/Gettext.json +24 -0
- data/config/preferences/Graphviz.json +42 -0
- data/config/preferences/Greasemonkey.json +3 -0
- data/config/preferences/Gri.json +34 -0
- data/config/preferences/HTML.json +492 -0
- data/config/preferences/Haskell.json +72 -0
- data/config/preferences/Hotkey.json +3 -0
- data/config/preferences/ImageBrowser.json +3 -0
- data/config/preferences/Inform.json +3 -0
- data/config/preferences/Ini.json +60 -0
- data/config/preferences/Installer.json +3 -0
- data/config/preferences/Io.json +64 -0
- data/config/preferences/JSON.json +3 -0
- data/config/preferences/Java.json +86 -0
- data/config/preferences/JavaDoc.json +3 -0
- data/config/preferences/JavaScript.json +76 -0
- data/config/preferences/LaTeX.json +267 -0
- data/config/preferences/Lex/Flex.json +3 -0
- data/config/preferences/Lighttpd.json +3 -0
- data/config/preferences/LilyPond.json +77 -0
- data/config/preferences/Lisp.json +63 -0
- data/config/preferences/Logo.json +58 -0
- data/config/preferences/Logtalk.json +236 -0
- data/config/preferences/Lua.json +24 -0
- data/config/preferences/MEL.json +19 -0
- data/config/preferences/MIPS Assembler.json +26 -0
- data/config/preferences/MacPorts.json +3 -0
- data/config/preferences/Mail.json +3 -0
- data/config/preferences/Make.json +16 -0
- data/config/preferences/Markdown.json +102 -0
- data/config/preferences/Math.json +3 -0
- data/config/preferences/Matlab.json +128 -0
- data/config/preferences/Maven.json +308 -0
- data/config/preferences/Mediawiki.json +73 -0
- data/config/preferences/Mercurial.json +3 -0
- data/config/preferences/Modula.json +37 -0
- data/config/preferences/MoinMoin.json +52 -0
- data/config/preferences/Navigation.json +3 -0
- data/config/preferences/Nemerle.json +3 -0
- data/config/preferences/OCaml Code Completion.json +3 -0
- data/config/preferences/OCaml.json +163 -0
- data/config/preferences/ODCompletion.json +3 -0
- data/config/preferences/Objective-C.json +84 -0
- data/config/preferences/OpenGL.json +3331 -0
- data/config/preferences/Outlines.json +3 -0
- data/config/preferences/Pascal.json +60 -0
- data/config/preferences/Perforce.json +3 -0
- data/config/preferences/Perl.json +15 -0
- data/config/preferences/PmWiki.json +27 -0
- data/config/preferences/Postscript.json +15 -0
- data/config/preferences/Processing.json +32 -0
- data/config/preferences/Prolog.json +3 -0
- data/config/preferences/Propel.json +3 -0
- data/config/preferences/Python.json +38 -0
- data/config/preferences/Quake.json +15 -0
- data/config/preferences/R.json +33 -0
- data/config/preferences/Ragel.json +15 -0
- data/config/preferences/Regular Expressions.json +3 -0
- data/config/preferences/Remind.json +15 -0
- data/config/preferences/Rez.json +46 -0
- data/config/preferences/Ruby.json +98 -0
- data/config/preferences/S5 Slide Show.json +20 -0
- data/config/preferences/SCons.json +3 -0
- data/config/preferences/SQL.json +32 -0
- data/config/preferences/SSH Config.json +15 -0
- data/config/preferences/SVK.json +3 -0
- data/config/preferences/SWIG.json +3 -0
- data/config/preferences/SWeave.json +32 -0
- data/config/preferences/Scheme.json +35 -0
- data/config/preferences/Scilab.json +15 -0
- data/config/preferences/Setext.json +3 -0
- data/config/preferences/Shell Script.json +25 -0
- data/config/preferences/Slate.json +113 -0
- data/config/preferences/Source.json +132 -0
- data/config/preferences/Subversion.json +10 -0
- data/config/preferences/TODO.json +3 -0
- data/config/preferences/Tabular.json +3 -0
- data/config/preferences/Tcl.json +82 -0
- data/config/preferences/TerminalMate.json +112 -0
- data/config/preferences/Text.json +89 -0
- data/config/preferences/TextMate.json +38 -0
- data/config/preferences/Textile.json +76 -0
- data/config/preferences/Thrift.json +56 -0
- data/config/preferences/Transmit.json +3 -0
- data/config/preferences/Twiki.json +51 -0
- data/config/preferences/Txt2tags.json +81 -0
- data/config/preferences/Vectorscript.json +1280 -0
- data/config/preferences/XML.json +60 -0
- data/config/preferences/Xcode.json +3 -0
- data/config/preferences/YAML.json +24 -0
- data/config/preferences/iCalendar.json +10 -0
- data/config/preferences/iTerm.json +36 -0
- data/config/preferences/reStructuredText.json +48 -0
- data/config/rc.rb +49 -0
- data/config/syntax/ANTLR.json +5 -5
- data/config/syntax/{ASP VB.net.json → ASP vb.NET.json } +3 -3
- data/config/syntax/ASP.json +1 -1
- data/config/syntax/ActionScript.json +6 -6
- data/config/syntax/Active4D Config.json +86 -0
- data/config/syntax/Active4D Library.json +20 -0
- data/config/syntax/Active4D.json +418 -0
- data/config/syntax/Ada.json +3 -3
- data/config/syntax/Ant.json +196 -0
- data/config/syntax/Apache.json +7 -7
- data/config/syntax/AppleScript.json +3 -3
- data/config/syntax/{Bibtex.json → BibTeX.json} +1 -1
- data/config/syntax/Bison.json +59 -0
- data/config/syntax/{Blog (HTML).json → Blog - HTML.json } +2 -2
- data/config/syntax/{Blog (Markdown).json → Blog - Markdown.json } +2 -2
- data/config/syntax/Blog (Text).json b/data/config/syntax/Blog - → Text.json +0 -0
- data/config/syntax/Blog (Textile).json b/data/config/syntax/Blog - → Textile.json +0 -0
- data/config/syntax/C++.json +3 -3
- data/config/syntax/C.json +13 -13
- data/config/syntax/CMake Listfile.json +171 -0
- data/config/syntax/CSS.json +6 -6
- data/config/syntax/CSV.json +108 -0
- data/config/syntax/ColdFusion.json +204 -0
- data/config/syntax/D.json +560 -0
- data/config/syntax/Diff.json +1 -1
- data/config/syntax/DokuWiki.json +412 -0
- data/config/syntax/Doxygen.json +80 -0
- data/config/syntax/Dylan.json +4 -4
- data/config/syntax/Erlang.json +5 -5
- data/config/syntax/F-Script.json +1 -1
- data/config/syntax/FXScript.json +5 -5
- data/config/syntax/Fortran - Modern.json +221 -0
- data/config/syntax/Fortran - Punchcard.json +468 -0
- data/config/syntax/GTD.json +39 -0
- data/config/syntax/GTDalt.json +233 -0
- data/config/syntax/Gettext.json +118 -0
- data/config/syntax/Go.json +555 -0
- data/config/syntax/{DOT.json → Graphviz (DOT).json } +3 -3
- data/config/syntax/Greasemonkey.json +56 -0
- data/config/syntax/Gri.json +4 -4
- data/config/syntax/{HTML-ASP.json → HTML (ASP).json } +1 -1
- data/config/syntax/{HTML for ASP.net.json → HTML (ASP.net).json } +19 -19
- data/config/syntax/HTML (Active4D).json +540 -0
- data/config/syntax/HTML (Erlang).json +31 -0
- data/config/syntax/HTML (Tcl).json +1 -1
- data/config/syntax/HTML.json +20 -20
- data/config/syntax/Haskell.json +3 -3
- data/config/syntax/Installer Distribution Script.json +135 -0
- data/config/syntax/Io.json +6 -6
- data/config/syntax/JSON.json +151 -0
- data/config/syntax/{JavaProperties.json → Java Properties.json } +2 -2
- data/config/syntax/Java Server Page (JSP).json +163 -0
- data/config/syntax/Java.json +7 -7
- data/config/syntax/JavaDoc.json +435 -0
- data/config/syntax/JavaScript.json +8 -8
- data/config/syntax/LaTeX Log.json +3 -3
- data/config/syntax/LaTeX Memoir.json +101 -0
- data/config/syntax/LaTeX.json +2 -2
- data/config/syntax/Lex-Flex.json +396 -0
- data/config/syntax/LilyPond.json +608 -0
- data/config/syntax/Logo.json +48 -0
- data/config/syntax/Logtalk.json +6 -6
- data/config/syntax/Lua.json +1 -1
- data/config/syntax/{M.json → MATLAB.json} +3 -3
- data/config/syntax/MEL.json +7 -7
- data/config/syntax/MIPS.json b/data/config/syntax/MIPS → Assembler.json +0 -0
- data/config/syntax/MacPorts Portfile.json +298 -0
- data/config/syntax/Mail.json +1 -1
- data/config/syntax/Markdown.json +6 -6
- data/config/syntax/Maven POM.json +774 -0
- data/config/syntax/Mediawiki.json +736 -0
- data/config/syntax/MoinMoin.json +335 -0
- data/config/syntax/MultiMarkdown.json +41 -0
- data/config/syntax/Nemerle.json +128 -0
- data/config/syntax/OCaml.json +4 -4
- data/config/syntax/OCamllex.json +307 -0
- data/config/syntax/OCamlyacc.json +346 -0
- data/config/syntax/Objective-C++.json +2 -2
- data/config/syntax/Objective-C.json +979 -0
- data/config/syntax/Octave.json +417 -0
- data/config/syntax/PHP.json +32 -32
- data/config/syntax/Pascal.json +1 -1
- data/config/syntax/Perl.json +8 -8
- data/config/syntax/{Plain text.json → Plain Text.json } +1 -1
- data/config/syntax/PmWiki.json +241 -0
- data/config/syntax/Postscript.json +206 -0
- data/config/syntax/Processing.json +8 -8
- data/config/syntax/Prolog.json +70 -0
- data/config/syntax/Python.json +1934 -0
- data/config/syntax/{Quake3 Config.json → Quake Style .cfg.json } +1 -1
- data/config/syntax/R.json +2 -2
- data/config/syntax/Ragel.json +362 -0
- data/config/syntax/Rd (R Documentation).json +119 -0
- data/config/syntax/Regular Expressions (Oniguruma).json +186 -0
- data/config/syntax/Regular Expressions (Python).json +188 -0
- data/config/syntax/Release Notes.json +78 -0
- data/config/syntax/Remind.json +461 -0
- data/config/syntax/Rez.json +5 -5
- data/config/syntax/Ruby Sass.json +497 -0
- data/config/syntax/Ruby.json +13 -13
- data/config/syntax/S5 Slide Show.json +85 -0
- data/config/syntax/SQL.json +11 -11
- data/config/syntax/SSH Config.json +55 -0
- data/config/syntax/SWIG.json +2 -2
- data/config/syntax/SWeave.json +139 -0
- data/config/syntax/Scheme.json +8 -8
- data/config/syntax/Scilab.json +69 -0
- data/config/syntax/Setext.json +247 -0
- data/config/syntax/{Shell-Unix-Generic.json → Shell Script (Bash).json } +4 -4
- data/config/syntax/Slate.json +5 -5
- data/config/syntax/Strings File.json +53 -0
- data/config/syntax/TSV.json +83 -0
- data/config/syntax/Tcl.json +1 -1
- data/config/syntax/TeX Math.json +2 -2
- data/config/syntax/TeX.json +2 -2
- data/config/syntax/Textile.json +9 -9
- data/config/syntax/Thrift.json +641 -0
- data/config/syntax/Twiki.json +1 -1
- data/config/syntax/Txt2tags.json +154 -0
- data/config/syntax/XML strict.json +4 -4
- data/config/syntax/XML.json +6 -6
- data/config/syntax/XSL.json +2 -2
- data/config/syntax/camlp4.json +63 -0
- data/config/syntax/mod_perl.json +72 -0
- data/config/syntax/reStructuredText.json +1 -1
- data/config/syntax/{Subversion commit message.json → svn-commit.tmp.json} +0 -0
- data/config/tutorial +23 -19
- data/config/welcome +3 -3
- data/lib/ver.rb +273 -62
- data/lib/ver/entry.rb +142 -26
- data/lib/ver/font.rb +51 -0
- data/lib/ver/help.rb +16 -0
- data/lib/ver/help/describe_key.rb +82 -0
- data/lib/ver/help/help_for_help.rb +39 -0
- data/lib/ver/hover_completion.rb +129 -0
- data/lib/ver/keymap.rb +95 -24
- data/lib/ver/layout.rb +107 -43
- data/lib/ver/methods.rb +24 -8
- data/lib/ver/methods/clipboard.rb +91 -0
- data/lib/ver/methods/completion.rb +146 -71
- data/lib/ver/methods/control.rb +203 -222
- data/lib/ver/methods/ctags.rb +55 -0
- data/lib/ver/methods/delete.rb +30 -0
- data/lib/ver/methods/help.rb +7 -0
- data/lib/ver/methods/insert.rb +233 -1
- data/lib/ver/methods/move.rb +181 -32
- data/lib/ver/methods/open.rb +208 -0
- data/lib/ver/methods/preview.rb +14 -0
- data/lib/ver/methods/save.rb +111 -0
- data/lib/ver/methods/search.rb +57 -7
- data/lib/ver/methods/select.rb +97 -17
- data/lib/ver/methods/shortcuts.rb +21 -0
- data/lib/ver/methods/views.rb +56 -1
- data/lib/ver/mode.rb +60 -14
- data/lib/ver/status.rb +97 -19
- data/lib/ver/syntax.rb +14 -6
- data/lib/ver/syntax/detector.rb +16 -5
- data/lib/ver/syntax/processor.rb +9 -3
- data/lib/ver/text.rb +258 -199
- data/lib/ver/text/index.rb +103 -0
- data/lib/ver/theme.rb +27 -16
- data/lib/ver/tooltip.rb +59 -0
- data/lib/ver/vendor/binary_search.rb +61 -0
- data/lib/ver/vendor/levenshtein.rb +57 -0
- data/lib/ver/{textpow.rb → vendor/textpow.rb} +31 -29
- data/lib/ver/view.rb +65 -41
- data/lib/ver/view/console.rb +171 -0
- data/lib/ver/view/entry.rb +9 -5
- data/lib/ver/view/list.rb +44 -29
- data/lib/ver/view/list/ex.rb +71 -0
- data/lib/ver/view/list/grep.rb +42 -0
- data/lib/ver/view/list/methods.rb +159 -0
- data/lib/ver/view/term.rb +249 -0
- data/tasks/syntax_list.rake +3 -2
- data/ver.gemspec +4 -4
- metadata +230 -28
- data/config/syntax/Bulletin Board.json +0 -428
- data/config/syntax/HTML (Mason).json +0 -207
- data/config/syntax/HTML (Rails).json +0 -52
- data/config/syntax/Movable Type.json +0 -348
- data/config/syntax/Ruby on Rails.json +0 -170
- data/config/syntax/SQL (Rails).json +0 -31
- data/config/syntax/Smarty.json +0 -110
- data/config/syntax/Standard ML.json +0 -322
@@ -51,7 +51,7 @@
|
|
51
51
|
"name": "punctuation.definition.comment.dot"
|
52
52
|
}
|
53
53
|
},
|
54
|
-
"match": "(
|
54
|
+
"match": "(//).*$\\n?",
|
55
55
|
"name": "comment.line.double-slash.dot"
|
56
56
|
},
|
57
57
|
{
|
@@ -64,13 +64,13 @@
|
|
64
64
|
"name": "comment.line.number-sign.dot"
|
65
65
|
},
|
66
66
|
{
|
67
|
-
"begin": "
|
67
|
+
"begin": "/\\*",
|
68
68
|
"captures": {
|
69
69
|
"0": {
|
70
70
|
"name": "punctuation.definition.comment.dot"
|
71
71
|
}
|
72
72
|
},
|
73
|
-
"end": "
|
73
|
+
"end": "\\*/",
|
74
74
|
"name": "comment.block.dot"
|
75
75
|
}
|
76
76
|
],
|
@@ -0,0 +1,56 @@
|
|
1
|
+
{
|
2
|
+
"fileTypes": [
|
3
|
+
"user.js"
|
4
|
+
],
|
5
|
+
"firstLineMatch": "// ==UserScript==",
|
6
|
+
"foldingStartMarker": "// ==UserScript==",
|
7
|
+
"foldingStopMarker": "// ==/UserScript==",
|
8
|
+
"keyEquivalent": "^~G",
|
9
|
+
"name": "Greasemonkey",
|
10
|
+
"patterns": [
|
11
|
+
{
|
12
|
+
"match": "\\bunsafeWindow\\b",
|
13
|
+
"name": "support.class.greasemonkey"
|
14
|
+
},
|
15
|
+
{
|
16
|
+
"match": "\\bGM_(registerMenuCommand|xmlhttpRequest|setValue|getValue|log|openInTab|addStyle)\\b(?=\\()",
|
17
|
+
"name": "support.function.greasemonkey"
|
18
|
+
},
|
19
|
+
{
|
20
|
+
"begin": "// ==UserScript==",
|
21
|
+
"end": "// ==/UserScript==\\s*",
|
22
|
+
"name": "meta.header.greasemonkey",
|
23
|
+
"patterns": [
|
24
|
+
{
|
25
|
+
"captures": {
|
26
|
+
"1": {
|
27
|
+
"name": "keyword.other.greasemonkey"
|
28
|
+
},
|
29
|
+
"3": {
|
30
|
+
"name": "string.unquoted.greasemonkey"
|
31
|
+
}
|
32
|
+
},
|
33
|
+
"match": "// (@(name|namespace|description|include|exclude))\\b\\s*(.+\\s+)?",
|
34
|
+
"name": "meta.directive.standard.greasemonkey"
|
35
|
+
},
|
36
|
+
{
|
37
|
+
"captures": {
|
38
|
+
"1": {
|
39
|
+
"name": "keyword.other.greasemonkey"
|
40
|
+
},
|
41
|
+
"3": {
|
42
|
+
"name": "string.unquoted.greasemonkey"
|
43
|
+
}
|
44
|
+
},
|
45
|
+
"match": "// (@(\\S+))\\b\\s*(.+\\s+)?",
|
46
|
+
"name": "meta.directive.nonstandard.greasemonkey"
|
47
|
+
}
|
48
|
+
]
|
49
|
+
},
|
50
|
+
{
|
51
|
+
"include": "source.js"
|
52
|
+
}
|
53
|
+
],
|
54
|
+
"scopeName": "source.js.greasemonkey",
|
55
|
+
"uuid": "B57ED36B-65DD-492A-82D7-E6C80253BAAB"
|
56
|
+
}
|
data/config/syntax/Gri.json
CHANGED
@@ -3,8 +3,8 @@
|
|
3
3
|
"gri"
|
4
4
|
],
|
5
5
|
"firstLineMatch": "-[*]-( Mode:)? Gri -[*]-",
|
6
|
-
"foldingStartMarker": "(
|
7
|
-
"foldingStopMarker": "(
|
6
|
+
"foldingStartMarker": "(/\\*\\*|\\{\\s*$)",
|
7
|
+
"foldingStopMarker": "(\\*\\*/|^\\s*\\})",
|
8
8
|
"name": "Gri",
|
9
9
|
"patterns": [
|
10
10
|
{
|
@@ -39,7 +39,7 @@
|
|
39
39
|
]
|
40
40
|
},
|
41
41
|
{
|
42
|
-
"begin": "
|
42
|
+
"begin": "//",
|
43
43
|
"beginCaptures": {
|
44
44
|
"0": {
|
45
45
|
"name": "punctuation.definition.comment.gri"
|
@@ -59,7 +59,7 @@
|
|
59
59
|
"name": "keyword.control.gri"
|
60
60
|
},
|
61
61
|
{
|
62
|
-
"match": "(
|
62
|
+
"match": "(\\-|\\+|\\*|\\/|%\\/%|%%|\\^)",
|
63
63
|
"name": "keyword.operator.arithmetic.gri"
|
64
64
|
},
|
65
65
|
{
|
@@ -3,7 +3,7 @@
|
|
3
3
|
"asp"
|
4
4
|
],
|
5
5
|
"foldingStartMarker": "(<(?i:(head|table|div|style|script|ul|ol|form|dl))\\b.*?>|\\{)",
|
6
|
-
"foldingStopMarker": "(
|
6
|
+
"foldingStopMarker": "(</(?i:(head|table|div|style|script|ul|ol|form|dl))>|\\})",
|
7
7
|
"keyEquivalent": "^~A",
|
8
8
|
"name": "HTML (ASP)",
|
9
9
|
"patterns": [
|
@@ -4,8 +4,8 @@
|
|
4
4
|
"aspx",
|
5
5
|
"ascx"
|
6
6
|
],
|
7
|
-
"foldingStartMarker": "(?x)\n\t\t(<(?i:mm:dataset|mm:insert|mm:update|asp:DataGrid|asp:Repeater|asp:TemplateColumn|head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)\\b\n\t\t|<!--(?!.*-->)\n\t\t|<%(?!.*%>)\n\t\t|\\{\\{?(if|foreach|capture|literal|foreach|php|section|strip)\n\t\t|\\{\\s*($|\\?>\\s
|
8
|
-
"foldingStopMarker": "(?x)\n\t\t(
|
7
|
+
"foldingStartMarker": "(?x)\n\t\t(<(?i:mm:dataset|mm:insert|mm:update|asp:DataGrid|asp:Repeater|asp:TemplateColumn|head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)\\b\n\t\t|<!--(?!.*-->)\n\t\t|<%(?!.*%>)\n\t\t|\\{\\{?(if|foreach|capture|literal|foreach|php|section|strip)\n\t\t|\\{\\s*($|\\?>\\s*$|//|/\\*(.*\\*/\\s*$|(?!.*?\\*/)))\n\t\t)",
|
8
|
+
"foldingStopMarker": "(?x)\n\t\t(</(?i:mm:dataset|mm:insert|mm:update|asp:DataGrid|asp:Repeater|asp:TemplateColumn|head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)>\n\t\t|^\\s*-->\n\t\t|^\\s*%>\n\t\t|\\{\\{?/(if|foreach|capture|literal|foreach|php|section|strip)\n\t\t|(^|\\s)\\}\n\t\t)",
|
9
9
|
"keyEquivalent": "^~A",
|
10
10
|
"name": "HTML (ASP.net)",
|
11
11
|
"patterns": [
|
@@ -39,7 +39,7 @@
|
|
39
39
|
"name": "punctuation.definition.tag.html"
|
40
40
|
}
|
41
41
|
},
|
42
|
-
"match": "(<)(\\w+)[^>]*((>)
|
42
|
+
"match": "(<)(\\w+)[^>]*((>)</)(\\2)(>)",
|
43
43
|
"name": "meta.tag.html"
|
44
44
|
},
|
45
45
|
{
|
@@ -120,7 +120,7 @@
|
|
120
120
|
]
|
121
121
|
},
|
122
122
|
{
|
123
|
-
"begin": "(?:^\\s+)?(<)((?i:script))\\b(?![^>]
|
123
|
+
"begin": "(?:^\\s+)?(<)((?i:script))\\b(?![^>]*/>)",
|
124
124
|
"captures": {
|
125
125
|
"1": {
|
126
126
|
"name": "punctuation.definition.tag.html"
|
@@ -129,20 +129,20 @@
|
|
129
129
|
"name": "entity.name.tag.script.html"
|
130
130
|
}
|
131
131
|
},
|
132
|
-
"end": "(
|
132
|
+
"end": "(?<=</(script|SCRIPT))(>)(?:\\s*\\n)?",
|
133
133
|
"name": "source.js.embedded.html",
|
134
134
|
"patterns": [
|
135
135
|
{
|
136
136
|
"include": "#tag-stuff"
|
137
137
|
},
|
138
138
|
{
|
139
|
-
"begin": "(
|
139
|
+
"begin": "(?<!</(?:script|SCRIPT))(>)",
|
140
140
|
"captures": {
|
141
141
|
"1": {
|
142
142
|
"name": "punctuation.definition.tag.html"
|
143
143
|
}
|
144
144
|
},
|
145
|
-
"end": "(
|
145
|
+
"end": "(</)((?i:script))",
|
146
146
|
"patterns": [
|
147
147
|
{
|
148
148
|
"include": "source.js"
|
@@ -152,7 +152,7 @@
|
|
152
152
|
]
|
153
153
|
},
|
154
154
|
{
|
155
|
-
"begin": "(?:^\\s+)?(<)((?i:style))\\b(?![^>]
|
155
|
+
"begin": "(?:^\\s+)?(<)((?i:style))\\b(?![^>]*/>)",
|
156
156
|
"captures": {
|
157
157
|
"1": {
|
158
158
|
"name": "punctuation.definition.tag.html"
|
@@ -164,7 +164,7 @@
|
|
164
164
|
"name": "punctuation.definition.tag.html"
|
165
165
|
}
|
166
166
|
},
|
167
|
-
"end": "(
|
167
|
+
"end": "(</)((?i:style))(>)(?:\\s*\\n)?",
|
168
168
|
"name": "source.css.embedded.html",
|
169
169
|
"patterns": [
|
170
170
|
{
|
@@ -177,7 +177,7 @@
|
|
177
177
|
"name": "punctuation.definition.tag.html"
|
178
178
|
}
|
179
179
|
},
|
180
|
-
"end": "(
|
180
|
+
"end": "(?=</(?i:style))",
|
181
181
|
"patterns": [
|
182
182
|
{
|
183
183
|
"include": "source.css"
|
@@ -187,7 +187,7 @@
|
|
187
187
|
]
|
188
188
|
},
|
189
189
|
{
|
190
|
-
"begin": "(
|
190
|
+
"begin": "(</?)((?i:body|head|html)\\b)",
|
191
191
|
"captures": {
|
192
192
|
"1": {
|
193
193
|
"name": "punctuation.definition.tag.html"
|
@@ -205,7 +205,7 @@
|
|
205
205
|
]
|
206
206
|
},
|
207
207
|
{
|
208
|
-
"begin": "(
|
208
|
+
"begin": "(</?)((?i:address|blockquote|dd|div|dl|dt|fieldset|form|frame|frameset|h1|h2|h3|h4|h5|h6|iframe|noframes|object|ol|p|ul|applet|center|dir|hr|menu|pre)\\b)",
|
209
209
|
"captures": {
|
210
210
|
"1": {
|
211
211
|
"name": "punctuation.definition.tag.html"
|
@@ -223,7 +223,7 @@
|
|
223
223
|
]
|
224
224
|
},
|
225
225
|
{
|
226
|
-
"begin": "(
|
226
|
+
"begin": "(</?)((?i:a|abbr|acronym|area|b|base|basefont|bdo|big|br|button|caption|cite|code|col|colgroup|del|dfn|em|font|head|html|i|img|input|ins|isindex|kbd|label|legend|li|link|map|meta|noscript|optgroup|option|param|q|s|samp|script|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|title|tr|tt|u|var)\\b)",
|
227
227
|
"captures": {
|
228
228
|
"1": {
|
229
229
|
"name": "punctuation.definition.tag.html"
|
@@ -241,7 +241,7 @@
|
|
241
241
|
]
|
242
242
|
},
|
243
243
|
{
|
244
|
-
"begin": "(
|
244
|
+
"begin": "(</?)([a-zA-Z0-9:]+)",
|
245
245
|
"captures": {
|
246
246
|
"1": {
|
247
247
|
"name": "punctuation.definition.tag.html"
|
@@ -389,7 +389,7 @@
|
|
389
389
|
"name": "punctuation.definition.comment.php"
|
390
390
|
}
|
391
391
|
},
|
392
|
-
"match": "(
|
392
|
+
"match": "(//).*?(?=\\?>)",
|
393
393
|
"name": "comment.line.double-slash.php"
|
394
394
|
},
|
395
395
|
{
|
@@ -444,7 +444,7 @@
|
|
444
444
|
"name": "punctuation.section.embedded.smarty"
|
445
445
|
}
|
446
446
|
},
|
447
|
-
"end": "((\\{
|
447
|
+
"end": "((\\{/)(literal)(\\}))"
|
448
448
|
},
|
449
449
|
{
|
450
450
|
"begin": "{{|{",
|
@@ -531,12 +531,12 @@
|
|
531
531
|
"name": "punctuation.definition.tag.html"
|
532
532
|
}
|
533
533
|
},
|
534
|
-
"end": "(
|
534
|
+
"end": "(</)(script)(>)(?:\\s*$\\n)?",
|
535
535
|
"name": "meta.source.embedded.script-tag",
|
536
536
|
"patterns": [
|
537
537
|
{
|
538
538
|
"begin": "(?<=(>))",
|
539
|
-
"end": "(
|
539
|
+
"end": "(?=</script>)",
|
540
540
|
"name": "source.asp.embedded.html",
|
541
541
|
"patterns": [
|
542
542
|
{
|
@@ -648,7 +648,7 @@
|
|
648
648
|
]
|
649
649
|
},
|
650
650
|
"tag-generic-attribute": {
|
651
|
-
"match": "\\b([a-zA-Z
|
651
|
+
"match": "\\b([a-zA-Z-:]+)",
|
652
652
|
"name": "entity.other.attribute-name.html"
|
653
653
|
},
|
654
654
|
"tag-id-attribute": {
|
@@ -0,0 +1,540 @@
|
|
1
|
+
{
|
2
|
+
"fileTypes": [
|
3
|
+
"a4d",
|
4
|
+
"a4p"
|
5
|
+
],
|
6
|
+
"foldingStartMarker": "(?x)\n\t\t(<(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)\\b.*?>\n\t\t|<!--(?!.*-->)\n\t\t|^\\s*<%(?!.*%>)\n\t\t|(^\\s*|<%\\s*)(?i:if|while|for\\ each|for|case\\ of|repeat|method|save\\ output)\\b\n\t\t)",
|
7
|
+
"foldingStopMarker": "(?x)\n\t\t(</(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)>\n\t\t|^(?!.*?<!--).*?-->\n\t\t|^\\s*%>\n\t\t|(^\\s*|<%\\s*)(?i:end\\ (if|while|for\\ each|for|case|method|save\\ output)|until)\\b\n\t\t)",
|
8
|
+
"keyEquivalent": "^~A",
|
9
|
+
"name": "HTML (Active4D)",
|
10
|
+
"patterns": [
|
11
|
+
{
|
12
|
+
"begin": "(<)([a-zA-Z0-9:]+)(?=[^>]*></\\2>)",
|
13
|
+
"beginCaptures": {
|
14
|
+
"1": {
|
15
|
+
"name": "punctuation.definition.tag.html"
|
16
|
+
},
|
17
|
+
"2": {
|
18
|
+
"name": "entity.name.tag.html"
|
19
|
+
}
|
20
|
+
},
|
21
|
+
"end": "(>(<)/)(\\2)(>)",
|
22
|
+
"endCaptures": {
|
23
|
+
"1": {
|
24
|
+
"name": "punctuation.definition.tag.html"
|
25
|
+
},
|
26
|
+
"2": {
|
27
|
+
"name": "meta.scope.between-tag-pair.html"
|
28
|
+
},
|
29
|
+
"3": {
|
30
|
+
"name": "entity.name.tag.html"
|
31
|
+
},
|
32
|
+
"4": {
|
33
|
+
"name": "punctuation.definition.tag.html"
|
34
|
+
}
|
35
|
+
},
|
36
|
+
"name": "meta.tag.any.html",
|
37
|
+
"patterns": [
|
38
|
+
{
|
39
|
+
"include": "#tag-stuff"
|
40
|
+
}
|
41
|
+
]
|
42
|
+
},
|
43
|
+
{
|
44
|
+
"begin": "(<\\?)(xml)",
|
45
|
+
"captures": {
|
46
|
+
"1": {
|
47
|
+
"name": "punctuation.definition.tag.xml.html"
|
48
|
+
},
|
49
|
+
"2": {
|
50
|
+
"name": "entity.name.tag.xml.html"
|
51
|
+
}
|
52
|
+
},
|
53
|
+
"end": "(\\?>)",
|
54
|
+
"name": "meta.tag.preprocessor.xml.html",
|
55
|
+
"patterns": [
|
56
|
+
{
|
57
|
+
"include": "#tag-generic-attribute"
|
58
|
+
},
|
59
|
+
{
|
60
|
+
"include": "#string-double-quoted"
|
61
|
+
},
|
62
|
+
{
|
63
|
+
"include": "#string-single-quoted"
|
64
|
+
}
|
65
|
+
]
|
66
|
+
},
|
67
|
+
{
|
68
|
+
"begin": "<!--",
|
69
|
+
"captures": {
|
70
|
+
"0": {
|
71
|
+
"name": "punctuation.definition.comment.html"
|
72
|
+
}
|
73
|
+
},
|
74
|
+
"end": "-->",
|
75
|
+
"name": "comment.block.html",
|
76
|
+
"patterns": [
|
77
|
+
{
|
78
|
+
"match": "--",
|
79
|
+
"name": "invalid.illegal.bad-comments-or-CDATA.html"
|
80
|
+
}
|
81
|
+
]
|
82
|
+
},
|
83
|
+
{
|
84
|
+
"begin": "<!",
|
85
|
+
"captures": {
|
86
|
+
"0": {
|
87
|
+
"name": "punctuation.definition.tag.html"
|
88
|
+
}
|
89
|
+
},
|
90
|
+
"end": ">",
|
91
|
+
"name": "meta.tag.sgml.html",
|
92
|
+
"patterns": [
|
93
|
+
{
|
94
|
+
"begin": "(DOCTYPE)",
|
95
|
+
"captures": {
|
96
|
+
"1": {
|
97
|
+
"name": "entity.name.tag.doctype.html"
|
98
|
+
}
|
99
|
+
},
|
100
|
+
"end": "(?=>)",
|
101
|
+
"name": "meta.tag.sgml.doctype.html",
|
102
|
+
"patterns": [
|
103
|
+
{
|
104
|
+
"match": "\"[^\">]*\"",
|
105
|
+
"name": "string.quoted.double.doctype.identifiers-and-DTDs.html"
|
106
|
+
}
|
107
|
+
]
|
108
|
+
},
|
109
|
+
{
|
110
|
+
"begin": "\\[CDATA\\[",
|
111
|
+
"end": "]](?=>)",
|
112
|
+
"name": "constant.other.inline-data.html"
|
113
|
+
},
|
114
|
+
{
|
115
|
+
"match": "(\\s*)(?!--|>)\\S(\\s*)",
|
116
|
+
"name": "invalid.illegal.bad-comments-or-CDATA.html"
|
117
|
+
}
|
118
|
+
]
|
119
|
+
},
|
120
|
+
{
|
121
|
+
"begin": "<%(?=%>)",
|
122
|
+
"beginCaptures": {
|
123
|
+
"0": {
|
124
|
+
"name": "punctuation.section.embedded.active4d"
|
125
|
+
}
|
126
|
+
},
|
127
|
+
"end": "(%)>",
|
128
|
+
"endCaptures": {
|
129
|
+
"0": {
|
130
|
+
"name": "punctuation.section.embedded.active4d"
|
131
|
+
},
|
132
|
+
"1": {
|
133
|
+
"name": "meta.scope.between-tag-pair.html"
|
134
|
+
}
|
135
|
+
},
|
136
|
+
"name": "meta.tag.processor.html",
|
137
|
+
"patterns": [
|
138
|
+
{
|
139
|
+
"include": "#embedded-code"
|
140
|
+
}
|
141
|
+
]
|
142
|
+
},
|
143
|
+
{
|
144
|
+
"include": "#embedded-code"
|
145
|
+
},
|
146
|
+
{
|
147
|
+
"begin": "(?:^\\s+)?(<)((?i:style))\\b(?![^>]*/>)",
|
148
|
+
"captures": {
|
149
|
+
"1": {
|
150
|
+
"name": "punctuation.definition.tag.html"
|
151
|
+
},
|
152
|
+
"2": {
|
153
|
+
"name": "entity.name.tag.style.html"
|
154
|
+
},
|
155
|
+
"3": {
|
156
|
+
"name": "punctuation.definition.tag.html"
|
157
|
+
}
|
158
|
+
},
|
159
|
+
"end": "(</)((?i:style))(>)(?:\\s*\\n)?",
|
160
|
+
"name": "source.css.embedded.html",
|
161
|
+
"patterns": [
|
162
|
+
{
|
163
|
+
"include": "#tag-stuff"
|
164
|
+
},
|
165
|
+
{
|
166
|
+
"begin": "(>)",
|
167
|
+
"beginCaptures": {
|
168
|
+
"1": {
|
169
|
+
"name": "punctuation.definition.tag.html"
|
170
|
+
}
|
171
|
+
},
|
172
|
+
"end": "(?=</(?i:style))",
|
173
|
+
"patterns": [
|
174
|
+
{
|
175
|
+
"include": "#embedded-code"
|
176
|
+
},
|
177
|
+
{
|
178
|
+
"include": "source.css"
|
179
|
+
}
|
180
|
+
]
|
181
|
+
}
|
182
|
+
]
|
183
|
+
},
|
184
|
+
{
|
185
|
+
"begin": "(?:^\\s+)?(<)((?i:script))\\b(?![^>]*/>)",
|
186
|
+
"beginCaptures": {
|
187
|
+
"1": {
|
188
|
+
"name": "punctuation.definition.tag.html"
|
189
|
+
},
|
190
|
+
"2": {
|
191
|
+
"name": "entity.name.tag.script.html"
|
192
|
+
}
|
193
|
+
},
|
194
|
+
"end": "(?<=</(script|SCRIPT))(>)(?:\\s*\\n)?",
|
195
|
+
"endCaptures": {
|
196
|
+
"1": {
|
197
|
+
"name": "entity.name.tag.script.html"
|
198
|
+
},
|
199
|
+
"2": {
|
200
|
+
"name": "punctuation.definition.tag.html"
|
201
|
+
}
|
202
|
+
},
|
203
|
+
"name": "source.js.embedded.html",
|
204
|
+
"patterns": [
|
205
|
+
{
|
206
|
+
"include": "#tag-stuff"
|
207
|
+
},
|
208
|
+
{
|
209
|
+
"begin": "(?<!</(?:script|SCRIPT))(>)",
|
210
|
+
"captures": {
|
211
|
+
"1": {
|
212
|
+
"name": "punctuation.definition.tag.html"
|
213
|
+
}
|
214
|
+
},
|
215
|
+
"end": "(</)((?i:script))",
|
216
|
+
"patterns": [
|
217
|
+
{
|
218
|
+
"include": "#embedded-js"
|
219
|
+
},
|
220
|
+
{
|
221
|
+
"include": "source.js"
|
222
|
+
}
|
223
|
+
]
|
224
|
+
}
|
225
|
+
]
|
226
|
+
},
|
227
|
+
{
|
228
|
+
"begin": "(</?)((?i:body|head|html)\\b)",
|
229
|
+
"captures": {
|
230
|
+
"1": {
|
231
|
+
"name": "punctuation.definition.tag.html"
|
232
|
+
},
|
233
|
+
"2": {
|
234
|
+
"name": "entity.name.tag.structure.any.html"
|
235
|
+
}
|
236
|
+
},
|
237
|
+
"end": "(>)",
|
238
|
+
"name": "meta.tag.structure.any.html",
|
239
|
+
"patterns": [
|
240
|
+
{
|
241
|
+
"include": "#tag-stuff"
|
242
|
+
}
|
243
|
+
]
|
244
|
+
},
|
245
|
+
{
|
246
|
+
"begin": "(</?)((?i:address|blockquote|dd|div|dl|dt|fieldset|form|frame|frameset|h1|h2|h3|h4|h5|h6|iframe|noframes|object|ol|p|ul|applet|center|dir|hr|menu|pre)\\b)",
|
247
|
+
"captures": {
|
248
|
+
"1": {
|
249
|
+
"name": "punctuation.definition.tag.html"
|
250
|
+
},
|
251
|
+
"2": {
|
252
|
+
"name": "entity.name.tag.block.any.html"
|
253
|
+
}
|
254
|
+
},
|
255
|
+
"end": "(>)",
|
256
|
+
"name": "meta.tag.block.any.html",
|
257
|
+
"patterns": [
|
258
|
+
{
|
259
|
+
"include": "#tag-stuff"
|
260
|
+
}
|
261
|
+
]
|
262
|
+
},
|
263
|
+
{
|
264
|
+
"begin": "(</?)((?i:a|abbr|acronym|area|b|base|basefont|bdo|big|br|button|caption|cite|code|col|colgroup|del|dfn|em|font|head|html|i|img|input|ins|isindex|kbd|label|legend|li|link|map|meta|noscript|optgroup|option|param|q|s|samp|script|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|title|tr|tt|u|var)\\b)",
|
265
|
+
"captures": {
|
266
|
+
"1": {
|
267
|
+
"name": "punctuation.definition.tag.html"
|
268
|
+
},
|
269
|
+
"2": {
|
270
|
+
"name": "entity.name.tag.inline.any.html"
|
271
|
+
}
|
272
|
+
},
|
273
|
+
"end": "(>)",
|
274
|
+
"name": "meta.tag.inline.any.html",
|
275
|
+
"patterns": [
|
276
|
+
{
|
277
|
+
"include": "#tag-stuff"
|
278
|
+
}
|
279
|
+
]
|
280
|
+
},
|
281
|
+
{
|
282
|
+
"begin": "(</?)([a-zA-Z0-9:]+)",
|
283
|
+
"captures": {
|
284
|
+
"1": {
|
285
|
+
"name": "punctuation.definition.tag.html"
|
286
|
+
},
|
287
|
+
"2": {
|
288
|
+
"name": "entity.name.tag.other.html"
|
289
|
+
}
|
290
|
+
},
|
291
|
+
"end": "(>)",
|
292
|
+
"name": "meta.tag.other.html",
|
293
|
+
"patterns": [
|
294
|
+
{
|
295
|
+
"include": "#tag-stuff"
|
296
|
+
}
|
297
|
+
]
|
298
|
+
},
|
299
|
+
{
|
300
|
+
"include": "#entities"
|
301
|
+
},
|
302
|
+
{
|
303
|
+
"match": "<>",
|
304
|
+
"name": "invalid.illegal.incomplete.html"
|
305
|
+
},
|
306
|
+
{
|
307
|
+
"match": "<(?=\\W)|>",
|
308
|
+
"name": "invalid.illegal.bad-angle-bracket.html"
|
309
|
+
}
|
310
|
+
],
|
311
|
+
"repository": {
|
312
|
+
"embedded-code": {
|
313
|
+
"begin": "<%",
|
314
|
+
"beginCaptures": {
|
315
|
+
"0": {
|
316
|
+
"name": "punctuation.section.embedded.active4d"
|
317
|
+
}
|
318
|
+
},
|
319
|
+
"end": "%>",
|
320
|
+
"endCaptures": {
|
321
|
+
"0": {
|
322
|
+
"name": "punctuation.section.embedded.active4d"
|
323
|
+
}
|
324
|
+
},
|
325
|
+
"name": "source.active4d.embedded.html",
|
326
|
+
"patterns": [
|
327
|
+
{
|
328
|
+
"include": "source.active4d"
|
329
|
+
}
|
330
|
+
]
|
331
|
+
},
|
332
|
+
"embedded-js": {
|
333
|
+
"patterns": [
|
334
|
+
{
|
335
|
+
"include": "#string-double-quoted-js"
|
336
|
+
},
|
337
|
+
{
|
338
|
+
"include": "#string-single-quoted-js"
|
339
|
+
},
|
340
|
+
{
|
341
|
+
"include": "#embedded-code"
|
342
|
+
}
|
343
|
+
]
|
344
|
+
},
|
345
|
+
"entities": {
|
346
|
+
"patterns": [
|
347
|
+
{
|
348
|
+
"captures": {
|
349
|
+
"1": {
|
350
|
+
"name": "punctuation.definition.entity.html"
|
351
|
+
},
|
352
|
+
"3": {
|
353
|
+
"name": "punctuation.terminator.entity.html"
|
354
|
+
}
|
355
|
+
},
|
356
|
+
"match": "(&)([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;)",
|
357
|
+
"name": "constant.character.entity.html"
|
358
|
+
},
|
359
|
+
{
|
360
|
+
"match": "&",
|
361
|
+
"name": "invalid.illegal.bad-ampersand.html"
|
362
|
+
}
|
363
|
+
]
|
364
|
+
},
|
365
|
+
"string-double-quoted": {
|
366
|
+
"begin": "\"",
|
367
|
+
"beginCaptures": {
|
368
|
+
"0": {
|
369
|
+
"name": "punctuation.definition.string.begin.html"
|
370
|
+
}
|
371
|
+
},
|
372
|
+
"end": "\"",
|
373
|
+
"endCaptures": {
|
374
|
+
"0": {
|
375
|
+
"name": "punctuation.definition.string.end.html"
|
376
|
+
}
|
377
|
+
},
|
378
|
+
"name": "string.quoted.double.html",
|
379
|
+
"patterns": [
|
380
|
+
{
|
381
|
+
"include": "#embedded-code"
|
382
|
+
},
|
383
|
+
{
|
384
|
+
"include": "#entities"
|
385
|
+
}
|
386
|
+
]
|
387
|
+
},
|
388
|
+
"string-double-quoted-js": {
|
389
|
+
"begin": "\"",
|
390
|
+
"beginCaptures": {
|
391
|
+
"0": {
|
392
|
+
"name": "punctuation.definition.string.begin.js"
|
393
|
+
}
|
394
|
+
},
|
395
|
+
"end": "\"",
|
396
|
+
"endCaptures": {
|
397
|
+
"0": {
|
398
|
+
"name": "punctuation.definition.string.end.js"
|
399
|
+
}
|
400
|
+
},
|
401
|
+
"name": "string.quoted.double.js",
|
402
|
+
"patterns": [
|
403
|
+
{
|
404
|
+
"include": "#embedded-code"
|
405
|
+
}
|
406
|
+
]
|
407
|
+
},
|
408
|
+
"string-single-quoted": {
|
409
|
+
"begin": "'",
|
410
|
+
"beginCaptures": {
|
411
|
+
"0": {
|
412
|
+
"name": "punctuation.definition.string.begin.html"
|
413
|
+
}
|
414
|
+
},
|
415
|
+
"end": "'",
|
416
|
+
"endCaptures": {
|
417
|
+
"0": {
|
418
|
+
"name": "punctuation.definition.string.end.html"
|
419
|
+
}
|
420
|
+
},
|
421
|
+
"name": "string.quoted.single.html",
|
422
|
+
"patterns": [
|
423
|
+
{
|
424
|
+
"include": "#embedded-code"
|
425
|
+
},
|
426
|
+
{
|
427
|
+
"include": "#entities"
|
428
|
+
}
|
429
|
+
]
|
430
|
+
},
|
431
|
+
"string-single-quoted-js": {
|
432
|
+
"begin": "'",
|
433
|
+
"beginCaptures": {
|
434
|
+
"0": {
|
435
|
+
"name": "punctuation.definition.string.begin.js"
|
436
|
+
}
|
437
|
+
},
|
438
|
+
"end": "'",
|
439
|
+
"endCaptures": {
|
440
|
+
"0": {
|
441
|
+
"name": "punctuation.definition.string.end.js"
|
442
|
+
}
|
443
|
+
},
|
444
|
+
"name": "string.quoted.single.js",
|
445
|
+
"patterns": [
|
446
|
+
{
|
447
|
+
"include": "#embedded-code"
|
448
|
+
}
|
449
|
+
]
|
450
|
+
},
|
451
|
+
"tag-generic-attribute": {
|
452
|
+
"match": "\\b([a-zA-Z-:]+)",
|
453
|
+
"name": "entity.other.attribute-name.html"
|
454
|
+
},
|
455
|
+
"tag-id-attribute": {
|
456
|
+
"begin": "\\b(id)\\b\\s*(=)",
|
457
|
+
"captures": {
|
458
|
+
"1": {
|
459
|
+
"name": "entity.other.attribute-name.id.html"
|
460
|
+
},
|
461
|
+
"2": {
|
462
|
+
"name": "punctuation.separator.key-value.html"
|
463
|
+
}
|
464
|
+
},
|
465
|
+
"end": "(?<='|\")",
|
466
|
+
"name": "meta.attribute-with-value.id.html",
|
467
|
+
"patterns": [
|
468
|
+
{
|
469
|
+
"begin": "\"",
|
470
|
+
"beginCaptures": {
|
471
|
+
"0": {
|
472
|
+
"name": "punctuation.definition.string.begin.html"
|
473
|
+
}
|
474
|
+
},
|
475
|
+
"contentName": "meta.toc-list.id.html",
|
476
|
+
"end": "\"",
|
477
|
+
"endCaptures": {
|
478
|
+
"0": {
|
479
|
+
"name": "punctuation.definition.string.end.html"
|
480
|
+
}
|
481
|
+
},
|
482
|
+
"name": "string.quoted.double.html",
|
483
|
+
"patterns": [
|
484
|
+
{
|
485
|
+
"include": "#embedded-code"
|
486
|
+
},
|
487
|
+
{
|
488
|
+
"include": "#entities"
|
489
|
+
}
|
490
|
+
]
|
491
|
+
},
|
492
|
+
{
|
493
|
+
"begin": "'",
|
494
|
+
"beginCaptures": {
|
495
|
+
"0": {
|
496
|
+
"name": "punctuation.definition.string.begin.html"
|
497
|
+
}
|
498
|
+
},
|
499
|
+
"contentName": "meta.toc-list.id.html",
|
500
|
+
"end": "'",
|
501
|
+
"endCaptures": {
|
502
|
+
"0": {
|
503
|
+
"name": "punctuation.definition.string.end.html"
|
504
|
+
}
|
505
|
+
},
|
506
|
+
"name": "string.quoted.single.html",
|
507
|
+
"patterns": [
|
508
|
+
{
|
509
|
+
"include": "#embedded-code"
|
510
|
+
},
|
511
|
+
{
|
512
|
+
"include": "#entities"
|
513
|
+
}
|
514
|
+
]
|
515
|
+
}
|
516
|
+
]
|
517
|
+
},
|
518
|
+
"tag-stuff": {
|
519
|
+
"patterns": [
|
520
|
+
{
|
521
|
+
"include": "#tag-id-attribute"
|
522
|
+
},
|
523
|
+
{
|
524
|
+
"include": "#tag-generic-attribute"
|
525
|
+
},
|
526
|
+
{
|
527
|
+
"include": "#string-double-quoted"
|
528
|
+
},
|
529
|
+
{
|
530
|
+
"include": "#string-single-quoted"
|
531
|
+
},
|
532
|
+
{
|
533
|
+
"include": "#embedded-code"
|
534
|
+
}
|
535
|
+
]
|
536
|
+
}
|
537
|
+
},
|
538
|
+
"scopeName": "text.html.strict.active4d",
|
539
|
+
"uuid": "E666209C-4477-4D83-8B49-9463DFBACD9F"
|
540
|
+
}
|