textpow 0.10.1 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +7 -0
- data/Gemfile +10 -0
- data/Gemfile.lock +30 -0
- data/{History.txt → History.rdoc} +10 -0
- data/{README.txt → MIT-LICENSE.txt} +0 -30
- data/README.rdoc +82 -0
- data/Rakefile +42 -49
- data/bin/plist2syntax +0 -0
- data/bin/plist2yaml +0 -0
- data/examples/benchmark_js.rb +13 -0
- data/examples/jquery.js +9046 -0
- data/lib/textpow.rb +43 -3
- data/lib/textpow/debug_processor.rb +35 -35
- data/lib/textpow/recording_processor.rb +13 -0
- data/lib/textpow/score_manager.rb +60 -60
- data/lib/textpow/syntax.rb +303 -262
- data/lib/textpow/syntax/broken/markdown.syntax +519 -0
- data/lib/textpow/syntax/broken/php.syntax +1253 -0
- data/lib/textpow/syntax/buggy/nemerle.syntax +74 -0
- data/lib/textpow/syntax/old/YAML.yaml +160 -0
- data/lib/textpow/syntax/old/txt2tags.yaml +139 -0
- data/lib/textpow/syntax/source.actionscript.syntax +97 -0
- data/lib/textpow/syntax/source.active4d.library.syntax +21 -0
- data/lib/textpow/syntax/source.active4d.syntax +276 -0
- data/lib/textpow/syntax/source.ada.syntax +33 -0
- data/lib/textpow/syntax/source.antlr.syntax +151 -0
- data/lib/textpow/syntax/source.apache-config.mod_perl.syntax +50 -0
- data/lib/textpow/syntax/source.apache-config.syntax +191 -0
- data/lib/textpow/syntax/source.applescript.syntax +384 -0
- data/lib/textpow/syntax/source.asp.syntax +70 -0
- data/lib/textpow/syntax/source.asp.vb.net.syntax +129 -0
- data/lib/textpow/syntax/source.c++.qt.syntax +26 -0
- data/lib/textpow/syntax/source.c++.syntax +186 -0
- data/lib/textpow/syntax/source.c-sharp.syntax +59 -0
- data/lib/textpow/syntax/source.c.ragel.syntax +201 -0
- data/lib/textpow/syntax/source.c.syntax +414 -0
- data/lib/textpow/syntax/source.camlp4.ocaml.syntax +36 -0
- data/lib/textpow/syntax/source.cm.syntax +32 -0
- data/lib/textpow/syntax/source.coffee.syntax +216 -0
- data/lib/textpow/syntax/source.context-free.syntax +176 -0
- data/lib/textpow/syntax/source.css.beta.syntax +1925 -0
- data/lib/textpow/syntax/source.css.syntax +195 -0
- data/lib/textpow/syntax/source.d.syntax +142 -0
- data/lib/textpow/syntax/source.diff.syntax +81 -0
- data/lib/textpow/syntax/source.dot.syntax +47 -0
- data/lib/textpow/syntax/source.dylan.syntax +62 -0
- data/lib/textpow/syntax/source.eiffel.syntax +78 -0
- data/lib/textpow/syntax/source.erlang.syntax +922 -0
- data/lib/textpow/syntax/source.fortran.syntax +141 -0
- data/lib/textpow/syntax/source.fscript.syntax +80 -0
- data/lib/textpow/syntax/source.fxscript.syntax +142 -0
- data/lib/textpow/syntax/source.gri.syntax +83 -0
- data/lib/textpow/syntax/source.groovy.groovy.syntax +191 -0
- data/lib/textpow/syntax/source.haskell.syntax +88 -0
- data/lib/textpow/syntax/source.icalendar.syntax +32 -0
- data/lib/textpow/syntax/source.inform.syntax +48 -0
- data/lib/textpow/syntax/source.ini.syntax +55 -0
- data/lib/textpow/syntax/source.io.syntax +81 -0
- data/lib/textpow/syntax/source.java-props.syntax +20 -0
- data/lib/textpow/syntax/source.java.syntax +211 -0
- data/lib/textpow/syntax/source.js.greasemonkey.syntax +34 -0
- data/lib/textpow/syntax/source.js.jquery.syntax +114 -0
- data/lib/textpow/syntax/source.js.mootools.syntax +572 -0
- data/lib/textpow/syntax/source.js.prototype.bracketed.syntax +140 -0
- data/lib/textpow/syntax/source.js.prototype.syntax +72 -0
- data/lib/textpow/syntax/source.js.syntax +256 -0
- data/lib/textpow/syntax/source.js.yui.syntax +176 -0
- data/lib/textpow/syntax/source.json.syntax +136 -0
- data/lib/textpow/syntax/source.lex.syntax +219 -0
- data/lib/textpow/syntax/source.lighttpd-config.syntax +54 -0
- data/lib/textpow/syntax/source.lilypond.syntax +492 -0
- data/lib/textpow/syntax/source.lisp.syntax +61 -0
- data/lib/textpow/syntax/source.logo.syntax +29 -0
- data/lib/textpow/syntax/source.logtalk.syntax +152 -0
- data/lib/textpow/syntax/source.lua.syntax +86 -0
- data/lib/textpow/syntax/source.makefile.syntax +36 -0
- data/lib/textpow/syntax/source.matlab.syntax +142 -0
- data/lib/textpow/syntax/source.mel.syntax +92 -0
- data/lib/textpow/syntax/source.mips.syntax +66 -0
- data/lib/textpow/syntax/source.ml.syntax +121 -0
- data/lib/textpow/syntax/source.modula-3.syntax +47 -0
- data/lib/textpow/syntax/source.nant-build.syntax +53 -0
- data/lib/textpow/syntax/source.objc++.syntax +18 -0
- data/lib/textpow/syntax/source.objc.syntax +233 -0
- data/lib/textpow/syntax/source.ocaml.syntax +764 -0
- data/lib/textpow/syntax/source.ocamllex.syntax +167 -0
- data/lib/textpow/syntax/source.ocamlyacc.syntax +184 -0
- data/lib/textpow/syntax/source.open-gl.syntax +14 -0
- data/lib/textpow/syntax/source.pascal.syntax +77 -0
- data/lib/textpow/syntax/source.pascal.vectorscript.syntax +57 -0
- data/lib/textpow/syntax/source.perl.syntax +1113 -0
- data/lib/textpow/syntax/source.php.cake.syntax +55 -0
- data/lib/textpow/syntax/source.plist.tm-grammar.syntax +708 -0
- data/lib/textpow/syntax/source.postscript.syntax +114 -0
- data/lib/textpow/syntax/source.processing.syntax +106 -0
- data/lib/textpow/syntax/source.prolog.syntax +40 -0
- data/lib/textpow/syntax/source.python.django.syntax +21 -0
- data/lib/textpow/syntax/source.python.syntax +868 -0
- data/lib/textpow/syntax/source.qmake.syntax +114 -0
- data/lib/textpow/syntax/source.quake-config.syntax +32 -0
- data/lib/textpow/syntax/source.r-console.syntax +16 -0
- data/lib/textpow/syntax/source.r.syntax +81 -0
- data/lib/textpow/syntax/source.regexp.oniguruma.syntax +107 -0
- data/lib/textpow/syntax/source.regexp.python.syntax +109 -0
- data/lib/textpow/syntax/source.regexp.syntax +50 -0
- data/lib/textpow/syntax/source.remind.syntax +253 -0
- data/lib/textpow/syntax/source.rez.syntax +80 -0
- data/lib/textpow/syntax/source.ruby.experimental.syntax +145 -0
- data/lib/textpow/syntax/source.ruby.rails.syntax +88 -0
- data/lib/textpow/syntax/source.ruby.syntax +1035 -0
- data/lib/textpow/syntax/source.s5.syntax +69 -0
- data/lib/textpow/syntax/source.sass.syntax +45 -0
- data/lib/textpow/syntax/source.scheme.syntax +347 -0
- data/lib/textpow/syntax/source.scilab.syntax +41 -0
- data/lib/textpow/syntax/source.scss.syntax +527 -0
- data/lib/textpow/syntax/source.shell.syntax +384 -0
- data/lib/textpow/syntax/source.slate.syntax +149 -0
- data/lib/textpow/syntax/source.smarty.syntax +63 -0
- data/lib/textpow/syntax/source.sql.ruby.syntax +18 -0
- data/lib/textpow/syntax/source.sql.syntax +237 -0
- data/lib/textpow/syntax/source.ssh-config.syntax +33 -0
- data/lib/textpow/syntax/source.strings.syntax +39 -0
- data/lib/textpow/syntax/source.swig.syntax +57 -0
- data/lib/textpow/syntax/source.tcl.macports.syntax +163 -0
- data/lib/textpow/syntax/source.tcl.syntax +152 -0
- data/lib/textpow/syntax/source.yaml.syntax +160 -0
- data/lib/textpow/syntax/text.active4d-ini.syntax +50 -0
- data/lib/textpow/syntax/text.bbcode.syntax +287 -0
- data/lib/textpow/syntax/text.bibtex.syntax +151 -0
- data/lib/textpow/syntax/text.blog.html.syntax +41 -0
- data/lib/textpow/syntax/text.blog.markdown.syntax +42 -0
- data/lib/textpow/syntax/text.blog.syntax +27 -0
- data/lib/textpow/syntax/text.blog.textile.syntax +27 -0
- data/lib/textpow/syntax/text.gtdalt.syntax +143 -0
- data/lib/textpow/syntax/text.haml.syntax +88 -0
- data/lib/textpow/syntax/text.html.asp.net.syntax +424 -0
- data/lib/textpow/syntax/text.html.asp.syntax +27 -0
- data/lib/textpow/syntax/text.html.basic.syntax +362 -0
- data/lib/textpow/syntax/text.html.cfm.syntax +119 -0
- data/lib/textpow/syntax/text.html.django.syntax +36 -0
- data/lib/textpow/syntax/text.html.dokuwiki.syntax +204 -0
- data/lib/textpow/syntax/text.html.doxygen.syntax +43 -0
- data/lib/textpow/syntax/text.html.markdown.multimarkdown.syntax +39 -0
- data/lib/textpow/syntax/text.html.mason.syntax +119 -0
- data/lib/textpow/syntax/text.html.mediawiki.syntax +567 -0
- data/lib/textpow/syntax/text.html.mt.syntax +162 -0
- data/lib/textpow/syntax/text.html.ruby.syntax +40 -0
- data/lib/textpow/syntax/text.html.strict.active4d.syntax +311 -0
- data/lib/textpow/syntax/text.html.tcl.syntax +26 -0
- data/lib/textpow/syntax/text.html.textile.syntax +215 -0
- data/lib/textpow/syntax/text.html.tt.syntax +121 -0
- data/lib/textpow/syntax/text.html.twiki.syntax +241 -0
- data/lib/textpow/syntax/text.html.xhtml.1-strict.syntax +4027 -0
- data/lib/textpow/syntax/text.log.latex.syntax +50 -0
- data/lib/textpow/syntax/text.mail.markdown.syntax +118 -0
- data/lib/textpow/syntax/text.man.syntax +17 -0
- data/lib/textpow/syntax/text.moinmoin.syntax +189 -0
- data/lib/textpow/syntax/text.plain.gtd.syntax +22 -0
- data/lib/textpow/syntax/text.plain.release-notes.syntax +46 -0
- data/lib/textpow/syntax/text.plain.syntax +32 -0
- data/lib/textpow/syntax/text.plist.syntax +635 -0
- data/lib/textpow/syntax/text.pmwiki.syntax +113 -0
- data/lib/textpow/syntax/text.restructuredtext.syntax +250 -0
- data/lib/textpow/syntax/text.setext.syntax +147 -0
- data/lib/textpow/syntax/text.subversion-commit.syntax +36 -0
- data/lib/textpow/syntax/text.tabular.csv.syntax +68 -0
- data/lib/textpow/syntax/text.tabular.tsv.syntax +50 -0
- data/lib/textpow/syntax/text.tex.latex.beamer.syntax +41 -0
- data/lib/textpow/syntax/text.tex.latex.haskell.syntax +24 -0
- data/lib/textpow/syntax/text.tex.latex.memoir.syntax +64 -0
- data/lib/textpow/syntax/text.tex.latex.rd.syntax +91 -0
- data/lib/textpow/syntax/text.tex.latex.sweave.syntax +84 -0
- data/lib/textpow/syntax/text.tex.latex.syntax +566 -0
- data/lib/textpow/syntax/text.tex.math.syntax +49 -0
- data/lib/textpow/syntax/text.tex.syntax +86 -0
- data/lib/textpow/syntax/text.txt2tags.syntax +79 -0
- data/lib/textpow/syntax/text.xml.apple-dist.syntax +77 -0
- data/lib/textpow/syntax/text.xml.strict.syntax +92 -0
- data/lib/textpow/syntax/text.xml.syntax +180 -0
- data/lib/textpow/syntax/text.xml.xsl.syntax +60 -0
- data/lib/textpow/version.rb +3 -0
- data/spec/fixtures/objeck.plist +107 -0
- data/spec/fixtures/utf8.txt +1 -0
- data/spec/spec_helper.rb +2 -0
- data/spec/textpow/score_manager_spec.rb +20 -0
- data/spec/textpow/syntax_files_spec.rb +26 -0
- data/spec/textpow/syntax_spec.rb +225 -0
- data/spec/textpow_spec.rb +57 -0
- data/textpow.gemspec +19 -0
- metadata +246 -68
- data/Manifest.txt +0 -13
- data/mm/manual.mm +0 -266
- data/test/test_textpow.rb +0 -25
@@ -0,0 +1,74 @@
|
|
1
|
+
---
|
2
|
+
name: Nemerle
|
3
|
+
fileTypes:
|
4
|
+
- n
|
5
|
+
scopeName: source.nemerle
|
6
|
+
uuid: F563968D-4CB3-11DB-9F95-00112474B8F0
|
7
|
+
foldingStartMarker: (\{|(|<\[)
|
8
|
+
patterns:
|
9
|
+
- name: comment.line.double-slash.nemerle
|
10
|
+
begin: //
|
11
|
+
beginCaptures:
|
12
|
+
"0":
|
13
|
+
name: punctuation.definition.comment.nemerle
|
14
|
+
end: $\n?
|
15
|
+
- name: comment.block.nemerle
|
16
|
+
captures:
|
17
|
+
"0":
|
18
|
+
name: punctuation.definition.comment.nemerle
|
19
|
+
begin: /\*
|
20
|
+
end: \*/
|
21
|
+
- name: constant.language.nemerle
|
22
|
+
match: \b(|false|null|true)\b
|
23
|
+
- name: constant.numeric.nemerle
|
24
|
+
match: \b(([0-9]+(\.|\_)?[0-9]*(b|bu|d|f|L|LU|m|u|ub|UL)?)|(0(b|o|x)[0-9]+))\b
|
25
|
+
- name: keyword.control.nemerle
|
26
|
+
match: \b(catch|else|finally|for|foreach|if|match|repeat|try|unless|when|while)\b
|
27
|
+
- name: keyword.operator.nemerle
|
28
|
+
match: (\+|\-|\*|\/|\%)\=?
|
29
|
+
- name: keyword.other.nemerle
|
30
|
+
match: \b(\_|as|assert|base|checked|do|fun|get|ignore|implements|in|is|lock|namespace|out|params|ref|set|syntax|throw|typeof|unchecked|using|with)\b
|
31
|
+
- name: storage.type.nemerle
|
32
|
+
match: \b(array|bool|byte|char|class|decimal|double|enum|float|int|interface|list|long|macro|module|object|sbyte|short|string|struct|type|uint|ulong|ushort|variant|void)\b
|
33
|
+
- name: storage.modifier.nemerle
|
34
|
+
match: \b(abstract|def|delegate|event|extern|internal|mutable|override|public|private|protected|sealed|static|volatile|virtual|new)\b
|
35
|
+
- name: variable.language.nemerle
|
36
|
+
match: this
|
37
|
+
- name: string.quoted.double.nemerle
|
38
|
+
endCaptures:
|
39
|
+
"0":
|
40
|
+
name: punctuation.definition.string.end.nemerle
|
41
|
+
begin: "\""
|
42
|
+
beginCaptures:
|
43
|
+
"0":
|
44
|
+
name: punctuation.definition.string.begin.nemerle
|
45
|
+
end: "\""
|
46
|
+
patterns:
|
47
|
+
- name: constant.character.escape.nemerle
|
48
|
+
match: \\(\\|'|\"|a|b|c[A-Z]+|e|f|n|r|u0+[0-9,A-Z]+|v)
|
49
|
+
- name: string.interpolated.nemerle
|
50
|
+
endCaptures:
|
51
|
+
"0":
|
52
|
+
name: punctuation.definition.string.end.nemerle
|
53
|
+
begin: \$"
|
54
|
+
beginCaptures:
|
55
|
+
"0":
|
56
|
+
name: punctuation.definition.string.begin.nemerle
|
57
|
+
end: "\""
|
58
|
+
patterns:
|
59
|
+
- name: constant.character.escape
|
60
|
+
match: \$[a-z,A-Z]+[a-z,A-Z,0-9]*( |\+|\-|\*|\/|\%)
|
61
|
+
- name: string.quoted.single.nemerle
|
62
|
+
endCaptures:
|
63
|
+
"0":
|
64
|
+
name: punctuation.definition.string.end.nemerle
|
65
|
+
begin: "'"
|
66
|
+
beginCaptures:
|
67
|
+
"0":
|
68
|
+
name: punctuation.definition.string.begin.nemerle
|
69
|
+
end: "'"
|
70
|
+
patterns:
|
71
|
+
- name: constant.character.escape
|
72
|
+
match: \\(\\|'|\"|a|b|c[A-Z]+|e|f|n|r|u0+[0-9,A-Z]+|v)
|
73
|
+
foldingStopMarker: (\}|)|]>)
|
74
|
+
keyEquivalent: ^~N
|
@@ -0,0 +1,160 @@
|
|
1
|
+
---
|
2
|
+
name: YAML
|
3
|
+
fileTypes:
|
4
|
+
- yaml
|
5
|
+
- yml
|
6
|
+
scopeName: source.yaml
|
7
|
+
repository:
|
8
|
+
escaped_char:
|
9
|
+
name: constant.character.escape.yaml
|
10
|
+
match: \\.
|
11
|
+
erb:
|
12
|
+
name: source.ruby.rails.embedded.html
|
13
|
+
captures:
|
14
|
+
"0":
|
15
|
+
name: punctuation.section.embedded.ruby
|
16
|
+
begin: <%+(?!>)=?
|
17
|
+
end: "%>"
|
18
|
+
patterns:
|
19
|
+
- name: comment.line.number-sign.ruby
|
20
|
+
captures:
|
21
|
+
"1":
|
22
|
+
name: punctuation.definition.comment.ruby
|
23
|
+
match: (#).*?(?=%>)
|
24
|
+
- include: source.ruby.rails
|
25
|
+
uuid: B0C44228-4F1F-11DA-AFF2-000A95AF0064
|
26
|
+
foldingStartMarker: ^[^#]\s*.*:(\s*\[?| &.+)?$
|
27
|
+
patterns:
|
28
|
+
- include: "#erb"
|
29
|
+
- name: string.unquoted.block
|
30
|
+
begin: ^(\s*)(?:(-)|(?:(-\s*)?(\w+\s*(:))))\s*(\||>)
|
31
|
+
beginCaptures:
|
32
|
+
"2":
|
33
|
+
name: punctuation.definition.entry.yaml
|
34
|
+
"3":
|
35
|
+
name: punctuation.definition.entry.yaml
|
36
|
+
"4":
|
37
|
+
name: entity.name.tag.yaml
|
38
|
+
"5":
|
39
|
+
name: punctuation.separator.key-value.yaml
|
40
|
+
end: ^(?!^\1)|^(?=\1(-|\w+\s*:))
|
41
|
+
patterns:
|
42
|
+
- include: "#erb"
|
43
|
+
- name: constant.numeric.yaml
|
44
|
+
captures:
|
45
|
+
"1":
|
46
|
+
name: punctuation.definition.entry.yaml
|
47
|
+
"2":
|
48
|
+
name: entity.name.tag.yaml
|
49
|
+
"3":
|
50
|
+
name: punctuation.separator.key-value.yaml
|
51
|
+
"4":
|
52
|
+
name: punctuation.definition.entry.yaml
|
53
|
+
match: (?:(?:(-\s*)?(\w+\s*(:)))|(-))\s*((0(x|X)[0-9a-fA-F]*)|(([0-9]+\.?[0-9]*)|(\.[0-9]+))((e|E)(\+|-)?[0-9]+)?)(L|l|UL|ul|u|U|F|f)?\s*$
|
54
|
+
- name: string.unquoted.yaml
|
55
|
+
captures:
|
56
|
+
"1":
|
57
|
+
name: punctuation.definition.entry.yaml
|
58
|
+
"2":
|
59
|
+
name: entity.name.tag.yaml
|
60
|
+
"3":
|
61
|
+
name: punctuation.separator.key-value.yaml
|
62
|
+
"4":
|
63
|
+
name: punctuation.definition.entry.yaml
|
64
|
+
"5":
|
65
|
+
name: string.unquoted.yaml
|
66
|
+
match: (?:(?:(-\s*)?(\w+\s*(:)))|(-))\s*([A-Za-z0-9].*)\s*$
|
67
|
+
- name: constant.other.date.yaml
|
68
|
+
captures:
|
69
|
+
"1":
|
70
|
+
name: punctuation.definition.entry.yaml
|
71
|
+
"2":
|
72
|
+
name: entity.name.tag.yaml
|
73
|
+
"3":
|
74
|
+
name: punctuation.separator.key-value.yaml
|
75
|
+
"4":
|
76
|
+
name: punctuation.definition.entry.yaml
|
77
|
+
match: (?:(?:(-\s*)?(\w+\s*(:)))|(-))\s*([0-9]{4}-[0-9]{2}-[0-9]{2})\s*$
|
78
|
+
- name: meta.tag.yaml
|
79
|
+
captures:
|
80
|
+
"1":
|
81
|
+
name: entity.name.tag.yaml
|
82
|
+
"2":
|
83
|
+
name: punctuation.separator.key-value.yaml
|
84
|
+
"3":
|
85
|
+
name: keyword.other.omap.yaml
|
86
|
+
"4":
|
87
|
+
name: punctuation.definition.keyword.yaml
|
88
|
+
match: (\w.*?)(:)\s*((\!\!)omap)?
|
89
|
+
- name: variable.other.yaml
|
90
|
+
captures:
|
91
|
+
"1":
|
92
|
+
name: punctuation.definition.variable.yaml
|
93
|
+
match: (\&|\*)\w.*?$
|
94
|
+
- name: string.quoted.double.yaml
|
95
|
+
endCaptures:
|
96
|
+
"0":
|
97
|
+
name: punctuation.definition.string.end.yaml
|
98
|
+
begin: "\""
|
99
|
+
beginCaptures:
|
100
|
+
"0":
|
101
|
+
name: punctuation.definition.string.begin.yaml
|
102
|
+
end: "\""
|
103
|
+
patterns:
|
104
|
+
- include: "#escaped_char"
|
105
|
+
- include: "#erb"
|
106
|
+
- name: string.quoted.single.yaml
|
107
|
+
endCaptures:
|
108
|
+
"0":
|
109
|
+
name: punctuation.definition.string.end.yaml
|
110
|
+
begin: "'"
|
111
|
+
beginCaptures:
|
112
|
+
"0":
|
113
|
+
name: punctuation.definition.string.begin.yaml
|
114
|
+
end: "'"
|
115
|
+
patterns:
|
116
|
+
- include: "#escaped_char"
|
117
|
+
- include: "#erb"
|
118
|
+
- name: string.interpolated.yaml
|
119
|
+
endCaptures:
|
120
|
+
"0":
|
121
|
+
name: punctuation.definition.string.end.yaml
|
122
|
+
begin: `
|
123
|
+
beginCaptures:
|
124
|
+
"0":
|
125
|
+
name: punctuation.definition.string.begin.yaml
|
126
|
+
end: `
|
127
|
+
patterns:
|
128
|
+
- include: "#escaped_char"
|
129
|
+
- include: "#erb"
|
130
|
+
- name: keyword.operator.merge-key.yaml
|
131
|
+
captures:
|
132
|
+
"1":
|
133
|
+
name: entity.name.tag.yaml
|
134
|
+
"2":
|
135
|
+
name: keyword.operator.merge-key.yaml
|
136
|
+
"3":
|
137
|
+
name: punctuation.definition.keyword.yaml
|
138
|
+
match: "(\\<\\<): ((\\*).*)$"
|
139
|
+
- name: invalid.deprecated.trailing-whitespace.yaml
|
140
|
+
disabled: "1"
|
141
|
+
match: ( | )+$
|
142
|
+
- name: comment.line.number-sign.yaml
|
143
|
+
captures:
|
144
|
+
"1":
|
145
|
+
name: punctuation.definition.comment.yaml
|
146
|
+
match: (?<!\$)(#)(?!\{).*$\n?
|
147
|
+
- name: keyword.operator.symbol
|
148
|
+
match: "-"
|
149
|
+
- name: meta.leading-tabs.yaml
|
150
|
+
begin: ^(?=\t)
|
151
|
+
end: (?=[^\t])
|
152
|
+
patterns:
|
153
|
+
- captures:
|
154
|
+
"1":
|
155
|
+
name: meta.odd-tab
|
156
|
+
"2":
|
157
|
+
name: meta.even-tab
|
158
|
+
match: (\t)(\t)?
|
159
|
+
foldingStopMarker: ^\s*$|^\s*\}|^\s*\]|^\s*\)
|
160
|
+
keyEquivalent: ^~Y
|
@@ -0,0 +1,139 @@
|
|
1
|
+
---
|
2
|
+
name: TXT2TAGS
|
3
|
+
fileTypes:
|
4
|
+
- t2t
|
5
|
+
scopeName: source.t2t
|
6
|
+
foldingStartMarker: ^[^#]\s*.*:(\s*\[?| &.+)?$
|
7
|
+
expressions:
|
8
|
+
patt_img : '(\[)([\w_,.+%$#@!?+~/-]+\.(png|PNG|jpe?g|JPE?G|gif|GIF|eps|EPS|bmp|BMP))(\])'
|
9
|
+
proto : '(https?|ftp|news|telnet|gopher|wais)://'
|
10
|
+
guess : '(www[23]?|ftp)\.'
|
11
|
+
login : 'A-Za-z0-9_.-'
|
12
|
+
pass : '[^ @]*'
|
13
|
+
chars : 'A-Za-z0-9%._/~:,=$@&+-'
|
14
|
+
anchor : 'A-Za-z0-9%._-'
|
15
|
+
form : 'A-Za-z0-9/%&=+;.,$@*_-'
|
16
|
+
punct : '.,;:!?'
|
17
|
+
patt_url_login : '([(?#login)]+(:(?#pass))?@)?'
|
18
|
+
retxt_url : '\b((?#proto)(?#patt_url_login)|(?#guess))[(?#chars)]+\b/*(\?[(?#form)]+)?(#[(?#anchor)]*)?'
|
19
|
+
retxt_url_local : '[(?#chars)]+|[(?#chars)]*(#[(?#anchor)]*)'
|
20
|
+
patt_email : '\b[(?#login)]+@([A-Za-z0-9_-]+\.)+[A-Za-z]{2,4}\b(\?[(?#form)]+)?'
|
21
|
+
patterns:
|
22
|
+
- contentName: markup.other.paragraph
|
23
|
+
begin: ^\s*^ *(?!```|"""|%|\t|\+|=|-|:|\s)
|
24
|
+
end: ([\n\r])(\s*[\n\r]|\t|"""(?!")|```(?!`)|=|-)
|
25
|
+
endCaptures:
|
26
|
+
"1": { name: line.blank }
|
27
|
+
- contentName: markup.raw.verbatim.block
|
28
|
+
begin: ^(```)([ \t]*[\n\r])
|
29
|
+
end: ^(```)([ \t]*[\n\r])
|
30
|
+
captures:
|
31
|
+
"1": { name: keyword.other.marker.verbatim }
|
32
|
+
"2": { name: line.blank }
|
33
|
+
- contentName: markup.raw.block
|
34
|
+
begin: ^(""")\s*$
|
35
|
+
end: ^(""")\s*$
|
36
|
+
captures:
|
37
|
+
"1": { name: keyword.other.marker.raw }
|
38
|
+
- name: comment.block
|
39
|
+
begin: ^%%%\s*$
|
40
|
+
end: ^%%%\s*$
|
41
|
+
- match: ^(\t+)(.+?\n)
|
42
|
+
captures:
|
43
|
+
"1": { name: keyword.other.marker.quote }
|
44
|
+
"2": { name: markup.quote.line }
|
45
|
+
- match: ((?<!`)```)(?!.*```)([^\n\r]+)([\n\r]\s*[\n\r])
|
46
|
+
captures:
|
47
|
+
"1": { name: keyword.other.marker.verbatim }
|
48
|
+
"2": { name: markup.raw.verbatim.line }
|
49
|
+
"3": { name: line.blank }
|
50
|
+
- name: markup.raw.raw.line
|
51
|
+
match: ^""" (?=\S)
|
52
|
+
- match: ((?<!`)``(?!`))(.+?)((?<!`)``(?!`))
|
53
|
+
captures:
|
54
|
+
"1": { name: keyword.other.marker.verbatim }
|
55
|
+
"2": { name: markup.raw.verbatim }
|
56
|
+
"3": { name: keyword.other.marker.verbatim }
|
57
|
+
- match: ((?<!")""(?!\s))(.+?)((?<!\s)""(?!"))
|
58
|
+
captures:
|
59
|
+
"1": { name: keyword.other.marker.raw }
|
60
|
+
"2": { name: markup.raw.raw }
|
61
|
+
"3": { name: keyword.other.marker.raw }
|
62
|
+
- match: (?<!\*)(\*\*)(?!\*)([^\n\r]+)(?<!\*)(\*\*)(?!\*)
|
63
|
+
captures:
|
64
|
+
"1": { name: keyword.other.marker.bold }
|
65
|
+
"2": { name: markup.bold }
|
66
|
+
"3": { name: keyword.other.marker.bold }
|
67
|
+
- match: (?<!/)(//)(?!/)([^\n\r]+)(?<!/)(//)(?!/)
|
68
|
+
captures:
|
69
|
+
"1": { name: keyword.other.marker.italic }
|
70
|
+
"2": { name: markup.italic }
|
71
|
+
"3": { name: keyword.other.marker.italic }
|
72
|
+
- match: (?<!_)(__)(?!_)([^\n\r]+)(?<!_)(__)(?!_)
|
73
|
+
captures:
|
74
|
+
"1": { name: keyword.other.marker.underline }
|
75
|
+
"2": { name: markup.underline }
|
76
|
+
"3": { name: keyword.other.marker.underline }
|
77
|
+
- match: ^( *-)( (?=[^ ]).*?[\n\t])
|
78
|
+
captures:
|
79
|
+
"1": { name: keyword.other.marker.list.unnumbered }
|
80
|
+
"2": { name: markup.list.unnumbered }
|
81
|
+
- match: ^( *\+) (?=[^ ])(.*?)[\n\t]
|
82
|
+
captures:
|
83
|
+
"1": { name: keyword.other.marker.list.numbered }
|
84
|
+
"2": { name: markup.list.numbered }
|
85
|
+
- match: ^( *\:) ([^\s].*?)$
|
86
|
+
captures:
|
87
|
+
"1": { name: keyword.other.marker.list.definition }
|
88
|
+
"2": { name: markup.list.definition.name }
|
89
|
+
- name: line.list.close
|
90
|
+
match: ^( *)([-+:])\s*$
|
91
|
+
- match: ^\s*([_-]{20,})\s*?$
|
92
|
+
captures:
|
93
|
+
"1": { name: markup.other.bar.thin }
|
94
|
+
- match: ^\s*(={20,})\s*?$
|
95
|
+
captures:
|
96
|
+
"1": { name: markup.other.bar.thick }
|
97
|
+
- name: line.table
|
98
|
+
match: ^ *\|\|?
|
99
|
+
- name: line.blank
|
100
|
+
match: (^[ \t]*[\n\r])+
|
101
|
+
- name: comment.line
|
102
|
+
match: ^%\s*.*?\n
|
103
|
+
- match: ^([\t ]*?)(=+(?!=))([^\n\r]+)((?<!=)\2)([\t ]*[\n\r])
|
104
|
+
captures:
|
105
|
+
"1": { name: other.filler }
|
106
|
+
"2": { name: keyword.other.marker.heading.plain }
|
107
|
+
"3": { name: markup.heading.plain }
|
108
|
+
"4": { name: keyword.other.marker.heading.plain }
|
109
|
+
"5": { name: other.filler }
|
110
|
+
- match: ^\s*(\++(?!\+))([^\n\r]+)((?<!\+)\1)$
|
111
|
+
captures:
|
112
|
+
"1": { name: keyword.other.marker.heading.numbered }
|
113
|
+
"2": { name: markup.heading.numbered }
|
114
|
+
"3": { name: keyword.other.marker.heading.numbered }
|
115
|
+
- name: markup.other.email
|
116
|
+
match: '(?#patt_email)'
|
117
|
+
preprocess: true
|
118
|
+
- name: markup.other.link
|
119
|
+
match: (?#retxt_url)
|
120
|
+
preprocess: true
|
121
|
+
- name: meta.link.complex
|
122
|
+
match: '(?<open>\[)(?<label>(?#patt_img)|[^]]+)(?<middle> )(?<link>(?#retxt_url)|(?#patt_email)|(?#retxt_url_local))(?<close>\])'
|
123
|
+
preprocess: true
|
124
|
+
namedCaptures:
|
125
|
+
"open" : { name: keyword.other.marker.link }
|
126
|
+
"label" : { name: variable.link.label }
|
127
|
+
"middle": { name: keyword.other.marker.link }
|
128
|
+
"close" : { name: keyword.other.marker.link }
|
129
|
+
- match: (?#patt_img)
|
130
|
+
preprocess: true
|
131
|
+
captures:
|
132
|
+
"1": { name: keyword.other.marker.img }
|
133
|
+
"2": { name: markup.other.img }
|
134
|
+
"4": { name: keyword.other.marker.img }
|
135
|
+
- name: markup.other.special
|
136
|
+
match: '^%!\s*'
|
137
|
+
preprocess: true
|
138
|
+
foldingStopMarker: ^\s*$|^\s*\}|^\s*\]|^\s*\)
|
139
|
+
keyEquivalent: ^~Y
|
@@ -0,0 +1,97 @@
|
|
1
|
+
---
|
2
|
+
name: ActionScript
|
3
|
+
fileTypes:
|
4
|
+
- as
|
5
|
+
scopeName: source.actionscript
|
6
|
+
uuid: E5A6EC91-6EE4-11D9-BAB4-000D93589AF6
|
7
|
+
foldingStartMarker: (/\*\*|\{\s*$)
|
8
|
+
patterns:
|
9
|
+
- name: support.class.actionscript
|
10
|
+
match: \b(R(ecordset|DBMSResolver|adioButton(Group)?)|X(ML(Socket|Node|Connector)?|UpdateResolverDataHolder)|M(M(Save|Execute)|icrophoneMicrophone|o(use|vieClip(Loader)?)|e(nu(Bar)?|dia(Controller|Display|Playback))|ath)|B(yName|inding|utton)|S(haredObject|ystem|crollPane|t(yleSheet|age|ream)|ound|e(ndEvent|rviceObject)|OAPCall|lide)|N(umericStepper|et(stream|S(tream|ervices)|Connection|Debug(Config)?))|C(heckBox|o(ntextMenu(Item)?|okie|lor|m(ponentMixins|boBox))|ustomActions|lient|amera)|T(ypedValue|ext(Snapshot|Input|F(ield|ormat)|Area)|ree|AB)|Object|D(ownload|elta(Item|Packet)?|at(e(Chooser|Field)?|a(G(lue|rid)|Set|Type)))|U(RL|TC|IScrollBar)|P(opUpManager|endingCall|r(intJob|o(duct|gressBar)))|E(ndPoint|rror)|Video|Key|F(RadioButton|GridColumn|MessageBox|BarChart|S(croll(Bar|Pane)|tyleFormat|plitView)|orm|C(heckbox|omboBox|alendar)|unction|T(icker|ooltip(Lite)?|ree(Node)?)|IconButton|D(ataGrid|raggablePane)|P(ieChart|ushButton|ro(gressBar|mptBox))|L(i(stBox|neChart)|oadingBox)|AdvancedMessageBox)|W(indow|SDLURL|ebService(Connector)?)|L(ist|o(calConnection|ad(er|Vars)|g)|a(unch|bel))|A(sBroadcaster|cc(ordion|essibility)|S(Set(Native|PropFlags)|N(ew|ative)|C(onstructor|lamp(2)?)|InstanceOf)|pplication|lert|rray))\b
|
11
|
+
- name: support.function.actionscript
|
12
|
+
match: \b(s(h(ift|ow(GridLines|Menu|Border|Settings|Headers|ColumnHeaders|Today|Preferences)?|ad(ow|ePane))|c(hema|ale(X|Mode|Y|Content)|r(oll(Track|Drag)?|een(Resolution|Color|DPI)))|t(yleSheet|op(Drag|A(nimation|llSounds|gent))?|epSize|a(tus|rt(Drag|A(nimation|gent))?))|i(n|ze|lence(TimeOut|Level))|o(ngname|urce|rt(Items(By)?|On(HeaderRelease)?|able(Columns)?)?)|u(ppressInvalidCalls|bstr(ing)?)|p(li(ce|t)|aceCol(umnsEqually|lumnsEqually))|e(nd(DefaultPushButtonEvent|AndLoad)?|curity|t(R(GB|o(otNode|w(Height|Count))|esizable(Columns)?|a(nge|te))|G(ain|roupName)|X(AxisTitle)?|M(i(n(imum|utes)|lliseconds)|o(nth(Names)?|tionLevel|de)|ultilineMode|e(ssage|nu(ItemEnabled(At)?|EnabledAt)|dia)|a(sk|ximum))|B(u(tton(s|Width)|fferTime)|a(seTabIndex|ndwidthLimit|ckground))|S(howAsDisabled|croll(ing|Speed|Content|Target|P(osition|roperties)|barState|Location)|t(yle(Property)?|opOnFocus|at(us|e))|i(ze|lenceLevel)|ort(able(Columns)?|Function)|p(litterBarPosition|acing)|e(conds|lect(Multiple|ion(Required|Type)?|Style|Color|ed(Node(s)?|Cell|I(nd(ices|ex)|tem(s)?))?|able))|kin|m(oothness|allScroll))|H(ighlight(s|Color)|Scroll|o(urs|rizontal)|eader(Symbol|Height|Text|Property|Format|Width|Location)?|as(Shader|CloseBox))|Y(ear|AxisTitle)?|N(ode(Properties|ExpansionHandler)|ewTextFormat)|C(h(ildNodes|a(ngeHandler|rt(Title|EventHandler)))|o(ntent(Size)?|okie|lumns)|ell(Symbol|Data)|l(i(ckHandler|pboard)|oseHandler)|redentials)|T(ype(dVaule)?|i(tle(barHeight)?|p(Target|Offset)?|me(out(Handler)?)?)|oggle|extFormat|ransform)|I(s(Branch|Open)|n(terval|putProperty)|con(SymbolName)?|te(rator|m(ByKey|Symbol)))|Orientation|D(i(splay(Range|Graphics|Mode|Clip|Text|edMonth)|rection)|uration|e(pth(Below|To|Above)|fault(GatewayURL|Mappings|NodeIconSymbolName)|l(iveryMode|ay)|bug(ID)?)|a(yOfWeekNames|t(e(Filter)?|a(Mapping(s)?|Item(Text|Property|Format)|Provider|All(Height|Property|Format|Width))?))|ra(wConnectors|gContent))|U(se(Shadow|HandCursor|EchoSuppression|rInput|Fade)|TC(M(i(nutes|lliseconds)|onth)|Seconds|Hours|Date|FullYear))|P(osition|ercentComplete|an(e(M(inimumSize|aximumSize)|Size|Title))?|ro(pert(y(Data)?|iesAt)|gress))|E(nabled|dit(Handler|able)|xpand(NodeTrigger|erSymbolName))|V(Scroll|olume|alue(Source)?)|KeyFrameInterval|Quality|F(i(eld|rst(DayOfWeek|VisibleNode))|ocus|ullYear|ps|ade(InLength|OutLength)|rame(Color|Width))|Width|L(ine(Color|Weight)|o(opback|adTarget)|a(rgeScroll|bel(Source|Placement)?))|A(s(Boolean|String|Number)|n(yTypedValue|imation)|ctiv(e(State(Handler)?|Handler)|ateHandler)|utoH(ideScrollBar|eight)))?|paratorBefore|ek|lect(ion(Disabled|Unfocused)?|ed(Node(s)?|Child|I(nd(ices|ex)|tem(s)?)|Dat(e|a))?|able(Ranges)?)|rver(String)?)|kip|qrt|wapDepths|lice|aveToSharedObj|moothing)|h(scroll(Policy)?|tml(Text)?|i(t(Test(TextNearPos)?|Area)|de(BuiltInItems|Child)?|ghlight(2D|3D)?)|orizontal|e(ight|ader(Re(nderer|lease)|Height|Text))|P(osition|ageScrollSize)|a(s(childNodes|MP3|S(creen(Broadcast|Playback)|treaming(Video|Audio)|ort)|Next|OwnProperty|Pr(inting|evious)|EmbeddedVideo|VideoEncoder|A(ccesibility|udio(Encoder)?))|ndlerName)|LineScrollSize)|ye(sLabel|ar)|n(o(t|de(Name|Close|Type|Open|Value)|Label)|u(llValue|mChild(S(creens|lides)|ren|Forms))|e(w(Item|line|Value|LocationDialog)|xt(S(cene|ibling|lide)|TabIndex|Value|Frame)?)?|ame(s)?)|c(h(ildNodes|eck|a(nge(sPending)?|r(CodeAt|At))|r)|o(s|n(st(ant|ructor)|nect|c(urrency|at)|t(ent(Type|Path)?|ains|rol(Placement|lerPolicy))|denseWhite|version)|py|l(or|umn(Stretch|Name(s)?|Count))|m(p(onent|lete)|ment))|u(stomItems|ePoint(s)?|r(veTo|Value|rent(Slide|ChildSlide|Item|F(ocused(S(creen|lide)|Form)|ps))))|e(il|ll(Renderer|Press|Edit|Focus(In|Out)))|l(i(ck|ents)|o(se(Button|Pane)?|ne(Node)?)|ear(S(haredObjects|treams)|Timeout|Interval)?)|a(ncelLabel|tch|p(tion|abilities)|l(cFields|l(e(e|r))?))|reate(GatewayConnection|Menu|Se(rver|gment)|C(hild(AtDepth)?|l(ient|ass(ChildAtDepth|Object(AtDepth)?))|all)|Text(Node|Field)|Item|Object(AtDepth)?|PopUp|E(lement|mptyMovieClip)))|t(h(is|row)|ype(of|Name)?|i(tle(StyleDeclaration)?|me(out)?)|o(talTime|String|olTipText|p|UpperCase|ggle(HighQuality)?|Lo(caleString|werCase))|e(st|llTarget|xt(RightMargin|Bold|S(ize|elected)|Height|Color|I(ndent|talic)|Disabled|Underline|F(ield|ont)|Width|LeftMargin|Align)?)|a(n|rget(Path)?|b(Stops|Children|Index|Enabled|leName))|r(y|igger|ac(e|k(AsMenu)?)))|i(s(Running|Branch|NaN|Con(soleOpen|nected)|Toggled|Installed|Open|D(own|ebugger)|P(urchased|ro(totypeOf|pertyEnumerable))|Empty|F(inite|ullyPopulated)|Local|Active)|n(s(tall|ertBefore)|cludeDeltaPacketInfo|t|it(ialize|Component|Pod|A(pplication|gent))?|de(nt|terminate|x(InParent(Slide|Form)?|Of)?)|put|validate|finity|LocalInternetCache)?|con(F(ield|unction))?|t(e(ratorScrolled|m(s|RollO(ut|ver)|ClassName))|alic)|d3|p|fFrameLoaded|gnore(Case|White))|o(s|n(R(ollO(ut|ver)|e(s(ize|ult)|l(ease(Outside)?|aseOutside)))|XML|Mouse(Move|Down|Up|Wheel)|S(ync|croller|tatus|oundComplete|e(tFocus|lect(edItem)?))|N(oticeEvent|etworkChange)|C(hanged|onnect|l(ipEvent|ose))|ID3|D(isconnect|eactivate|ata|ragO(ut|ver))|Un(install|load)|P(aymentResult|ress)|EnterFrame|K(illFocus|ey(Down|Up))|Fault|Lo(ad|g)|A(ctiv(ity|ate)|ppSt(op|art)))?|pe(n|ration)|verLayChildren|kLabel|ldValue|r(d)?)|d(i(s(connect|play(Normal|ed(Month|Year)|Full)|able(Shader|d(Ranges|Days)|CloseBox|Events))|rection)|o(cTypeDecl|tall|Decoding|main|LazyDecoding)|u(plicateMovieClip|ration)|e(stroy(ChildAt|Object)|code|fault(PushButton(Enabled)?|KeydownHandler)?|l(ta(Packet(Changed)?)?|ete(PopUp|All)?)|blocking)|a(shBoardSave|yNames|ta(Provider)?|rkshadow)|r(opdown(Width)?|a(w|gO(ut|ver))))|u(se(Sort|HandCursor|Codepage|EchoSuppression)|n(shift|install|derline|escape|format|watch|lo(ck|ad(Movie(Num)?)?))|pdate(Results|Mode|I(nputProperties|tem(ByIndex)?)|P(acket|roperties)|View|AfterEvent)|rl)|join|p(ixelAspectRatio|o(sition|p|w)|u(sh|rge|blish)|ercen(tComplete|Loaded)|lay(head(Change|Time)|ing|Hidden|erType)?|a(ssword|use|r(se(XML|CSS|Int|Float)|ent(Node|Is(S(creen|lide)|Form))|ams))|r(int(Num|AsBitmap(Num)?)?|o(to(type)?|pert(y|ies)|gress)|e(ss|v(ious(S(ibling|lide)|Value)?|Scene|Frame)|ferred(Height|Width))))|e(scape|n(code(r)?|ter(Frame)?|dFill|able(Shader|d|CloseBox|Events))|dit(able|Field|LocationDialog)|v(ent|al(uate)?)|q|x(tended|p|ec(ute)?|actSettings)|m(phasized(StyleDeclaration)?|bedFonts))|v(i(sible|ewPod)|ScrollPolicy|o(id|lume)|ersion|P(osition|ageScrollSize)|a(l(idat(ionError|e(Property|ActivationKey)?)|ue(Of)?)|riable)|LineScrollSize)|k(ind|ey(Down|Up|Press|FrameInterval))|q(sort|uality)|f(scommand|i(n(d(Text|First|Last)?|ally)|eldInfo|lter(ed|Func)?|rst(Slide|Child|DayOfWeek|VisibleNode)?)|o(nt|cus(In|edCell|Out|Enabled)|r(egroundDisabled|mat(ter)?))|unctionName|ps|l(oor|ush)|ace|romCharCode)|w(i(th|dth)|ordWrap|atch|riteAccess)|l(t|i(st(Owner)?|ne(Style|To))|o(c(k|a(t(ion|eByld)|l(ToGlobal|FileReadDisable)))|opback|ad(Movie(Num)?|S(crollContent|ound)|ed|Variables(Num)?|Application)?|g(Changes)?)|e(ngth|ft(Margin)?|ading)?|a(st(Slide|Child|Index(Of)?)?|nguage|b(el(Placement|F(ield|unction))?|leField)))|a(s(scociate(Controller|Display)|in|pectRatio|function)|nd|c(ceptConnection|tiv(ityLevel|ePlayControl)|os)|t(t(ach(Movie|Sound|Video|Audio)|ributes)|an(2)?)|dd(header|RequestHeader|Menu(Item(At)?|At)?|Sort|Header|No(tice|de(At)?)|C(olumn(At)?|uePoint)|T(oLocalInternetCache|reeNode(At)?)|I(con|tem(s(At)?|At)?)|DeltaItem|P(od|age|roperty)|EventListener|View|FieldInfo|Listener|Animation)?|uto(Size|Play|KeyNav|Load)|pp(endChild|ly(Changes|Updates)?)|vHardwareDisable|fterLoaded|l(ternateRowColors|ign|l(ow(InsecureDomain|Domain)|Transitions(InDone|OutDone))|bum)|r(tist|row|g(uments|List))|gent|bs)|r(ight(Margin)?|o(ot(S(creen|lide)|Form)|und|w(Height|Count)|llO(ut|ver))|e(s(yncDepth|t(orePane|artAnimation|rict)|iz(e|able(Columns)?)|olveDelta|ult(s)?|ponse)|c(o(ncile(Results|Updates)|rd)|eive(Video|Audio))|draw|jectConnection|place(Sel|ItemAt|AllItems)?|ve(al(Child)?|rse)|quest(SizeChange|Payment)?|f(errer|resh(ScrollContent|Destinations|Pane|FromSources)?)|lease(Outside)?|ad(Only|Access)|gister(SkinElement|C(olor(Style|Name)|lass)|InheritingStyle|Proxy)|move(Range|M(ovieClip|enu(Item(At)?|At))|Background|Sort|No(tice|de(sAt|At)?)|C(olum(nAt|At)|uePoints)|T(extField|reeNode(At)?)|Item(At)?|Pod|EventListener|FromLocalInternetCache|Listener|All(C(olumns|uePoints)|Items)?))|a(ndom|te|dioDot))|g(t|oto(Slide|NextSlide|PreviousSlide|FirstSlide|LastSlide|And(Stop|Play))|e(nre|t(R(GB|o(otNode|wCount)|e(sizable|mote))|X(AxisTitle)?|M(i(n(imum(Size)?|utes)|lliseconds)|onth(Names)?|ultilineMode|e(ssage|nu(ItemAt|EnabledAt|At))|aximum(Size)?)|B(ytes(Total|Loaded)|ounds|utton(s|Width)|eginIndex|a(ndwidthLimit|ckground))|S(howAsDisabled|croll(ing|Speed|Content|Position|barState|Location)|t(yle(Names)?|opOnFocus|ate)|ize|o(urce|rtState)|p(litterBarPosition|acing)|e(conds|lect(Multiple|ion(Required|Type)|Style|ed(Node(s)?|Cell|Text|I(nd(ices|ex)|tem(s)?))?)|rvice)|moothness|WFVersion)|H(ighlight(s|Color)|ours|e(ight|ader(Height|Text|Property|Format|Width|Location)?)|as(Shader|CloseBox))|Y(ear|AxisTitle)?|N(o(tices|de(DisplayedAt|At))|um(Children|berAvailable)|e(wTextFormat|xtHighestDepth))|C(h(ild(S(creen|lide)|Nodes|Form|At)|artTitle)|o(n(tent|figInfo)|okie|de|unt|lumn(Names|Count|Index|At))|uePoint|ellIndex|loseHandler|a(ll|retIndex))|T(ypedValue|i(tle(barHeight)?|p(Target|Offset)?|me(stamp|zoneOffset|out(State|Handler)|r)?)|oggle|ext(Extent|Format)?|r(ee(NodeAt|Length)|ans(form|actionId)))|I(s(Branch|Open)|n(stanceAtDepth|d(icesByKey|exByKey))|con(SymbolName)?|te(rator|m(sByKey|By(Name|Key)|id|ID|At))|d)|O(utput(Parameter(s|ByName)?|Value(s)?)|peration|ri(entation|ginalCellData))|D(i(s(play(Range|Mode|Clip|Index|edMonth)|kUsage)|rection)|uration|e(pth|faultNodeIconSymbolName|l(taPacket|ay)|bug(Config|ID)?)|a(y(OfWeekNames)?|t(e|a(Mapping(s)?|Item(Text|Property|Format)|Label|All(Height|Property|Format|Width))?))|rawConnectors)|U(se(Shadow|HandCursor|rInput|Fade)|RL|TC(M(i(nutes|lliseconds)|onth)|Seconds|Hours|Da(y|te)|FullYear))|P(o(sition|ds)|ercentComplete|a(n(e(M(inimums|aximums)|Height|Title|Width))?|rentNode)|r(operty(Name|Data)?|efer(ences|red(Height|Width))))|E(n(dIndex|abled)|ditingData|x(panderSymbolName|andNodeTrigger))|V(iewed(Pods|Applications)|olume|ersion|alue(Source)?)|F(i(eld|rst(DayOfWeek|VisibleNode))|o(ntList|cus)|ullYear|ade(InLength|OutLength)|rame(Color|Width))|Width|L(ine(Color|Weight)|o(cal|adTarget)|ength|a(stTabIndex|bel(Source)?))|A(s(cii|Boolean|String|Number)|n(yTypedValue|imation)|ctiv(eState(Handler)?|ateHandler)|utoH(ideScrollBar|eight)|llItems|gent))?)?|lobal(StyleFormat|ToLocal)?|ain|roupName)|x(updatePackety|mlDecl)?|m(y(MethodName|Call)|in(imum)?|o(nthNames|tion(TimeOut|Level)|de(lChanged)?|use(Move|O(ut|ver)|Down(Somewhere|Outside)?|Up(Somewhere)?|WheelEnabled)|ve(To)?)|u(ted|lti(pleS(imultaneousAllowed|elections)|line))|e(ssage|nu(Show|Hide)?|th(od)?|diaType)|a(nufacturer|tch|x(scroll|hscroll|imum|HPosition|Chars|VPosition)?)|b(substring|chr|ord|length))|b(ytes(Total|Loaded)|indFormat(Strings|Function)|o(ttom(Scroll)?|ld|rder(Color)?)|u(tton(Height|Width)|iltInItems|ffer(Time|Length)|llet)|e(foreApplyUpdates|gin(GradientFill|Fill))|lockIndent|a(ndwidth|ckground(Style|Color|Disabled)?)|roadcastMessage)|onHTTPStatus)\b
|
13
|
+
- name: support.constant.actionscript
|
14
|
+
match: \b(__proto__|__resolve|_accProps|_alpha|_changed|_currentframe|_droptarget|_flash|_focusrect|_framesloaded|_global|_height|_highquality|_level|_listeners|_lockroot|_name|_parent|_quality|_root|_rotation|_soundbuftime|_target|_totalframes|_url|_visible|_width|_x|_xmouse|_xscale|_y|_ymouse|_yscale)\b
|
15
|
+
- name: keyword.control.actionscript
|
16
|
+
match: \b(dynamic|extends|import|implements|interface|public|private|new|static|super|var|for|in|break|continue|while|do|return|if|else|case|switch)\b
|
17
|
+
- name: storage.type.actionscript
|
18
|
+
match: \b(Boolean|Number|String|Void)\b
|
19
|
+
- name: constant.language.actionscript
|
20
|
+
match: \b(null|undefined|true|false)\b
|
21
|
+
- name: constant.numeric.actionscript
|
22
|
+
match: \b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\.?[0-9]*)|(\.[0-9]+))((e|E)(\+|-)?[0-9]+)?)(L|l|UL|ul|u|U|F|f)?\b
|
23
|
+
- name: string.quoted.double.actionscript
|
24
|
+
endCaptures:
|
25
|
+
"0":
|
26
|
+
name: punctuation.definition.string.end.actionscript
|
27
|
+
begin: "\""
|
28
|
+
beginCaptures:
|
29
|
+
"0":
|
30
|
+
name: punctuation.definition.string.begin.actionscript
|
31
|
+
end: "\""
|
32
|
+
patterns:
|
33
|
+
- name: constant.character.escape.actionscript
|
34
|
+
match: \\.
|
35
|
+
- name: string.quoted.single.actionscript
|
36
|
+
endCaptures:
|
37
|
+
"0":
|
38
|
+
name: punctuation.definition.string.end.actionscript
|
39
|
+
begin: "'"
|
40
|
+
beginCaptures:
|
41
|
+
"0":
|
42
|
+
name: punctuation.definition.string.begin.actionscript
|
43
|
+
end: "'"
|
44
|
+
patterns:
|
45
|
+
- name: constant.character.escape.actionscript
|
46
|
+
match: \\.
|
47
|
+
- name: support.constant.actionscript
|
48
|
+
match: \b(BACKSPACE|CAPSLOCK|CONTROL|DELETEKEY|DOWN|END|ENTER|HOME|INSERT|LEFT|LN10|LN2|LOG10E|LOG2E|MAX_VALUE|MIN_VALUE|NEGATIVE_INFINITY|NaN|PGDN|PGUP|PI|POSITIVE_INFINITY|RIGHT|SPACE|SQRT1_2|SQRT2|UP)\b
|
49
|
+
- name: comment.block.actionscript
|
50
|
+
captures:
|
51
|
+
"0":
|
52
|
+
name: punctuation.definition.comment.actionscript
|
53
|
+
begin: /\*
|
54
|
+
end: \*/
|
55
|
+
- name: comment.line.double-slash.actionscript
|
56
|
+
captures:
|
57
|
+
"1":
|
58
|
+
name: punctuation.definition.comment.actionscript
|
59
|
+
match: (//).*$\n?
|
60
|
+
- name: keyword.operator.actionscript
|
61
|
+
match: \b(instanceof)\b
|
62
|
+
- name: keyword.operator.symbolic.actionscript
|
63
|
+
match: "[-!%&*+=/?:]"
|
64
|
+
- name: meta.preprocessor.actionscript
|
65
|
+
captures:
|
66
|
+
"1":
|
67
|
+
name: punctuation.definition.preprocessor.actionscript
|
68
|
+
match: ^[ \t]*(#)[a-zA-Z]+
|
69
|
+
- name: meta.function.actionscript
|
70
|
+
endCaptures:
|
71
|
+
"0":
|
72
|
+
name: punctuation.definition.parameters.end.actionscript
|
73
|
+
captures:
|
74
|
+
"1":
|
75
|
+
name: storage.type.function.asp
|
76
|
+
"2":
|
77
|
+
name: entity.name.function.asp
|
78
|
+
"3":
|
79
|
+
name: punctuation.definition.parameters.begin.actionscript
|
80
|
+
begin: \b(function)\s+([a-zA-Z_]\w*)\s*(\()
|
81
|
+
end: \)
|
82
|
+
patterns:
|
83
|
+
- name: variable.parameter.function.asp
|
84
|
+
match: "[^,)\\n]+"
|
85
|
+
- name: meta.class.actionscript
|
86
|
+
captures:
|
87
|
+
"1":
|
88
|
+
name: storage.type.class.actionscript
|
89
|
+
"2":
|
90
|
+
name: entity.name.type.class.actionscript
|
91
|
+
"3":
|
92
|
+
name: storage.modifier.extends.actionscript
|
93
|
+
"4":
|
94
|
+
name: entity.other.inherited-class.actionscript
|
95
|
+
match: \b(class)\s+([a-zA-Z_](?:\w|\.)*)(?:\s+(extends)\s+([a-zA-Z_](?:\w|\.)*))?
|
96
|
+
foldingStopMarker: (\*\*/|^\s*\})
|
97
|
+
keyEquivalent: ^~A
|