ruby-uv 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +4 -0
- data/Gemfile +4 -0
- data/README.rdoc +79 -0
- data/Rakefile +1 -0
- data/bin/theme2latexrender +122 -0
- data/bin/theme2xhtmlrender +158 -0
- data/bin/uv +140 -0
- data/lib/uv/engine.rb +4 -0
- data/lib/uv/render_processor.rb +140 -0
- data/lib/uv/utility.rb +67 -0
- data/lib/uv/version.rb +3 -0
- data/lib/uv.rb +98 -0
- data/render/latex/active4d.render +132 -0
- data/render/latex/all_hallows_eve.render +96 -0
- data/render/latex/amy.render +171 -0
- data/render/latex/blackboard.render +111 -0
- data/render/latex/brilliance_black.render +552 -0
- data/render/latex/brilliance_dull.render +561 -0
- data/render/latex/cobalt.render +162 -0
- data/render/latex/dawn.render +126 -0
- data/render/latex/eiffel.render +132 -0
- data/render/latex/espresso_libre.render +123 -0
- data/render/latex/idle.render +93 -0
- data/render/latex/iplastic.render +99 -0
- data/render/latex/lazy.render +96 -0
- data/render/latex/mac_classic.render +135 -0
- data/render/latex/magicwb_amiga.render +117 -0
- data/render/latex/pastels_on_dark.render +204 -0
- data/render/latex/slush_poppies.render +123 -0
- data/render/latex/spacecadet.render +81 -0
- data/render/latex/sunburst.render +186 -0
- data/render/latex/twilight.render +153 -0
- data/render/latex/zenburnesque.render +126 -0
- data/render/old/txt2tags.render +131 -0
- data/render/xhtml/active4d.render +140 -0
- data/render/xhtml/all_hallows_eve.render +104 -0
- data/render/xhtml/amy.render +179 -0
- data/render/xhtml/blackboard.render +119 -0
- data/render/xhtml/brilliance_black.render +560 -0
- data/render/xhtml/brilliance_dull.render +569 -0
- data/render/xhtml/cobalt.render +170 -0
- data/render/xhtml/dawn.render +134 -0
- data/render/xhtml/eiffel.render +140 -0
- data/render/xhtml/espresso_libre.render +131 -0
- data/render/xhtml/idle.render +101 -0
- data/render/xhtml/iplastic.render +107 -0
- data/render/xhtml/lazy.render +104 -0
- data/render/xhtml/mac_classic.render +143 -0
- data/render/xhtml/magicwb_amiga.render +125 -0
- data/render/xhtml/pastels_on_dark.render +212 -0
- data/render/xhtml/railscasts.render +93 -0
- data/render/xhtml/slush_poppies.render +131 -0
- data/render/xhtml/spacecadet.render +83 -0
- data/render/xhtml/sunburst.render +194 -0
- data/render/xhtml/twilight.render +161 -0
- data/render/xhtml/zenburnesque.render +134 -0
- data/ruby-uv.gemspec +24 -0
- data/syntax/actionscript.syntax +97 -0
- data/syntax/active4d.syntax +276 -0
- data/syntax/active4d_html.syntax +311 -0
- data/syntax/active4d_ini.syntax +50 -0
- data/syntax/active4d_library.syntax +21 -0
- data/syntax/ada.syntax +33 -0
- data/syntax/antlr.syntax +151 -0
- data/syntax/apache.syntax +191 -0
- data/syntax/applescript.syntax +384 -0
- data/syntax/asp.syntax +70 -0
- data/syntax/asp_vb.net.syntax +129 -0
- data/syntax/bibtex.syntax +151 -0
- data/syntax/blog_html.syntax +41 -0
- data/syntax/blog_markdown.syntax +42 -0
- data/syntax/blog_text.syntax +27 -0
- data/syntax/blog_textile.syntax +27 -0
- data/syntax/build.syntax +53 -0
- data/syntax/bulletin_board.syntax +287 -0
- data/syntax/cake.syntax +55 -0
- data/syntax/camlp4.syntax +36 -0
- data/syntax/cm.syntax +32 -0
- data/syntax/coldfusion.syntax +119 -0
- data/syntax/context_free.syntax +176 -0
- data/syntax/cs.syntax +59 -0
- data/syntax/css.syntax +195 -0
- data/syntax/css_experimental.syntax +1925 -0
- data/syntax/csv.syntax +68 -0
- data/syntax/d.syntax +142 -0
- data/syntax/diff.syntax +81 -0
- data/syntax/dokuwiki.syntax +204 -0
- data/syntax/dot.syntax +47 -0
- data/syntax/doxygen.syntax +43 -0
- data/syntax/dylan.syntax +62 -0
- data/syntax/eiffel.syntax +78 -0
- data/syntax/erlang.syntax +922 -0
- data/syntax/f-script.syntax +80 -0
- data/syntax/fortran.syntax +141 -0
- data/syntax/fxscript.syntax +142 -0
- data/syntax/greasemonkey.syntax +34 -0
- data/syntax/gri.syntax +83 -0
- data/syntax/groovy.syntax +191 -0
- data/syntax/gtd.syntax +22 -0
- data/syntax/gtdalt.syntax +143 -0
- data/syntax/haml.syntax +88 -0
- data/syntax/haskell.syntax +88 -0
- data/syntax/html-asp.syntax +27 -0
- data/syntax/html.syntax +362 -0
- data/syntax/html_django.syntax +36 -0
- data/syntax/html_for_asp.net.syntax +424 -0
- data/syntax/html_mason.syntax +119 -0
- data/syntax/html_rails.syntax +40 -0
- data/syntax/html_tcl.syntax +26 -0
- data/syntax/icalendar.syntax +32 -0
- data/syntax/inform.syntax +48 -0
- data/syntax/ini.syntax +55 -0
- data/syntax/installer_distribution_script.syntax +77 -0
- data/syntax/io.syntax +81 -0
- data/syntax/java.syntax +211 -0
- data/syntax/javaproperties.syntax +20 -0
- data/syntax/javascript.syntax +256 -0
- data/syntax/javascript_+_prototype.syntax +72 -0
- data/syntax/javascript_+_prototype_bracketed.syntax +140 -0
- data/syntax/jquery_javascript.syntax +114 -0
- data/syntax/json.syntax +136 -0
- data/syntax/languagedefinition.syntax +708 -0
- data/syntax/latex.syntax +566 -0
- data/syntax/latex_beamer.syntax +41 -0
- data/syntax/latex_log.syntax +50 -0
- data/syntax/latex_memoir.syntax +64 -0
- data/syntax/lexflex.syntax +219 -0
- data/syntax/lighttpd.syntax +54 -0
- data/syntax/lilypond.syntax +492 -0
- data/syntax/lisp.syntax +61 -0
- data/syntax/literate_haskell.syntax +24 -0
- data/syntax/logo.syntax +29 -0
- data/syntax/logtalk.syntax +152 -0
- data/syntax/lua.syntax +86 -0
- data/syntax/m.syntax +142 -0
- data/syntax/macports_portfile.syntax +163 -0
- data/syntax/makefile.syntax +36 -0
- data/syntax/man.syntax +17 -0
- data/syntax/mediawiki.syntax +567 -0
- data/syntax/mips.syntax +66 -0
- data/syntax/mod_perl.syntax +50 -0
- data/syntax/modula-3.syntax +47 -0
- data/syntax/moinmoin.syntax +189 -0
- data/syntax/mootools.syntax +572 -0
- data/syntax/movable_type.syntax +162 -0
- data/syntax/multimarkdown.syntax +39 -0
- data/syntax/objective-c++.syntax +18 -0
- data/syntax/objective-c.syntax +233 -0
- data/syntax/ocaml.syntax +764 -0
- data/syntax/ocamllex.syntax +167 -0
- data/syntax/ocamlyacc.syntax +184 -0
- data/syntax/opengl.syntax +14 -0
- data/syntax/pascal.syntax +77 -0
- data/syntax/perl.syntax +1115 -0
- data/syntax/plain_text.syntax +32 -0
- data/syntax/postscript.syntax +114 -0
- data/syntax/processing.syntax +106 -0
- data/syntax/prolog.syntax +40 -0
- data/syntax/property_list.syntax +635 -0
- data/syntax/python.syntax +868 -0
- data/syntax/python_django.syntax +21 -0
- data/syntax/qmake_project.syntax +114 -0
- data/syntax/qt_c++.syntax +26 -0
- data/syntax/quake3_config.syntax +32 -0
- data/syntax/r.syntax +81 -0
- data/syntax/r_console.syntax +16 -0
- data/syntax/ragel.syntax +201 -0
- data/syntax/rd_r_documentation.syntax +91 -0
- data/syntax/regexp.syntax +50 -0
- data/syntax/release_notes.syntax +46 -0
- data/syntax/remind.syntax +253 -0
- data/syntax/restructuredtext.syntax +250 -0
- data/syntax/rez.syntax +80 -0
- data/syntax/ruby.syntax +1035 -0
- data/syntax/ruby_experimental.syntax +145 -0
- data/syntax/ruby_on_rails.syntax +88 -0
- data/syntax/s5.syntax +69 -0
- data/syntax/scheme.syntax +347 -0
- data/syntax/scilab.syntax +41 -0
- data/syntax/setext.syntax +147 -0
- data/syntax/shell-unix-generic.syntax +384 -0
- data/syntax/slate.syntax +149 -0
- data/syntax/sql.syntax +237 -0
- data/syntax/sql_rails.syntax +18 -0
- data/syntax/ssh-config.syntax +33 -0
- data/syntax/standard_ml.syntax +121 -0
- data/syntax/strings_file.syntax +39 -0
- data/syntax/subversion_commit_message.syntax +36 -0
- data/syntax/sweave.syntax +84 -0
- data/syntax/swig.syntax +57 -0
- data/syntax/tcl.syntax +152 -0
- data/syntax/template_toolkit.syntax +121 -0
- data/syntax/tex.syntax +86 -0
- data/syntax/tex_math.syntax +49 -0
- data/syntax/textile.syntax +215 -0
- data/syntax/tsv.syntax +50 -0
- data/syntax/twiki.syntax +241 -0
- data/syntax/txt2tags.syntax +79 -0
- data/syntax/vectorscript.syntax +57 -0
- data/syntax/xhtml_1.0.syntax +4027 -0
- data/syntax/xml.syntax +180 -0
- data/syntax/xml_strict.syntax +92 -0
- data/syntax/xsl.syntax +60 -0
- data/syntax/yaml.syntax +160 -0
- data/syntax/yui_javascript.syntax +176 -0
- data/test/test_uv.rb +17 -0
- data/vendor/assets/stylesheets/active4d.css +117 -0
- data/vendor/assets/stylesheets/all_hallows_eve.css +75 -0
- data/vendor/assets/stylesheets/all_uv_themes.css +4 -0
- data/vendor/assets/stylesheets/amy.css +150 -0
- data/vendor/assets/stylesheets/blackboard.css +91 -0
- data/vendor/assets/stylesheets/brilliance_black.css +608 -0
- data/vendor/assets/stylesheets/brilliance_dull.css +602 -0
- data/vendor/assets/stylesheets/cobalt.css +152 -0
- data/vendor/assets/stylesheets/dawn.css +124 -0
- data/vendor/assets/stylesheets/eiffel.css +124 -0
- data/vendor/assets/stylesheets/espresso_libre.css +112 -0
- data/vendor/assets/stylesheets/idle.css +65 -0
- data/vendor/assets/stylesheets/iplastic.css +83 -0
- data/vendor/assets/stylesheets/lazy.css +76 -0
- data/vendor/assets/stylesheets/mac_classic.css +126 -0
- data/vendor/assets/stylesheets/magicwb_amiga.css +107 -0
- data/vendor/assets/stylesheets/pastels_on_dark.css +191 -0
- data/vendor/assets/stylesheets/railscasts.css +74 -0
- data/vendor/assets/stylesheets/slush_poppies.css +88 -0
- data/vendor/assets/stylesheets/spacecadet.css +54 -0
- data/vendor/assets/stylesheets/sunburst.css +183 -0
- data/vendor/assets/stylesheets/twilight.css +140 -0
- data/vendor/assets/stylesheets/zenburnesque.css +94 -0
- metadata +302 -0
data/syntax/twiki.syntax
ADDED
@@ -0,0 +1,241 @@
|
|
1
|
+
---
|
2
|
+
name: Twiki
|
3
|
+
scopeName: text.html.twiki
|
4
|
+
repository:
|
5
|
+
list-paragraph:
|
6
|
+
patterns:
|
7
|
+
- name: markup.list.unnumbered.paragraph
|
8
|
+
begin: \G\s+\S
|
9
|
+
end: ^\s*$
|
10
|
+
patterns:
|
11
|
+
- include: "#inline"
|
12
|
+
- include: text.html.basic
|
13
|
+
inline:
|
14
|
+
patterns:
|
15
|
+
- name: markup.bold.twiki
|
16
|
+
captures:
|
17
|
+
"1":
|
18
|
+
name: punctuation.definition.bold.twiki
|
19
|
+
"2":
|
20
|
+
name: punctuation.definition.bold.twiki
|
21
|
+
match: ([\*])[\s\w :.\?']*([\*])
|
22
|
+
- captures:
|
23
|
+
"6":
|
24
|
+
name: punctuation.definition.italic.twiki
|
25
|
+
"1":
|
26
|
+
name: markup.bold.twiki
|
27
|
+
"2":
|
28
|
+
name: markup.italic.twiki
|
29
|
+
"3":
|
30
|
+
name: punctuation.definition.bold.twiki
|
31
|
+
"4":
|
32
|
+
name: punctuation.definition.italic.twiki
|
33
|
+
"5":
|
34
|
+
name: punctuation.definition.bold.twiki
|
35
|
+
match: ((((__))[\s\w :.\?']*((__))))
|
36
|
+
- name: markup.italic.twiki
|
37
|
+
captures:
|
38
|
+
"1":
|
39
|
+
name: punctuation.definition.italic.twiki
|
40
|
+
"2":
|
41
|
+
name: punctuation.definition.italic.twiki
|
42
|
+
match: \b(_)[\s\w :.\?']*(_)\b
|
43
|
+
- captures:
|
44
|
+
"6":
|
45
|
+
name: punctuation.definition.raw.fixed.twiki
|
46
|
+
"1":
|
47
|
+
name: markup.bold.twiki
|
48
|
+
"2":
|
49
|
+
name: markup.raw.fixed.twiki
|
50
|
+
"3":
|
51
|
+
name: punctuation.definition.bold.twiki
|
52
|
+
"4":
|
53
|
+
name: punctuation.definition.raw.fixed.twiki
|
54
|
+
"5":
|
55
|
+
name: punctuation.definition.bold.twiki
|
56
|
+
match: ((((\=\=))[\s\w :.\?']*((\=\=))))
|
57
|
+
- name: markup.raw.fixed.twiki
|
58
|
+
captures:
|
59
|
+
"1":
|
60
|
+
name: punctuation.definition.raw.fixed.twiki
|
61
|
+
"2":
|
62
|
+
name: punctuation.definition.raw.fixed.twiki
|
63
|
+
match: (\=)[\s\w :.\?']*(\=)
|
64
|
+
- name: variable.other.twiki
|
65
|
+
captures:
|
66
|
+
"1":
|
67
|
+
name: punctuation.definition.variable.twiki
|
68
|
+
"3":
|
69
|
+
name: punctuation.definition.variable.twiki
|
70
|
+
match: (%)([A-Z0-9]+)(%)
|
71
|
+
- name: constant.character.entity.html
|
72
|
+
captures:
|
73
|
+
"1":
|
74
|
+
name: punctuation.definition.constant.twiki
|
75
|
+
"3":
|
76
|
+
name: punctuation.definition.constant.twiki
|
77
|
+
match: (&)([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;)
|
78
|
+
- name: meta.link.inline
|
79
|
+
captures:
|
80
|
+
"6":
|
81
|
+
name: punctuation.definition.link.twiki
|
82
|
+
"1":
|
83
|
+
name: punctuation.definition.link.twiki
|
84
|
+
"2":
|
85
|
+
name: markup.underline.link.twiki
|
86
|
+
"3":
|
87
|
+
name: punctuation.definition.link.twiki
|
88
|
+
"4":
|
89
|
+
name: punctuation.definition.link.twiki
|
90
|
+
"5":
|
91
|
+
name: string.other.link.title.twiki
|
92
|
+
match: (\[)([^]]*)(\]) *(\[)(.*?)(\])
|
93
|
+
numlist-paragraph:
|
94
|
+
patterns:
|
95
|
+
- name: markup.list.numbered.paragraph
|
96
|
+
begin: \G\s+\S
|
97
|
+
end: ^\s*$
|
98
|
+
patterns:
|
99
|
+
- include: "#inline"
|
100
|
+
- include: text.html.basic
|
101
|
+
uuid: B2FD7223-BE64-4134-B43D-F7443EA54CCD
|
102
|
+
patterns:
|
103
|
+
- name: string.quoted.double.twiki
|
104
|
+
endCaptures:
|
105
|
+
"0":
|
106
|
+
name: punctuation.definition.string.end.twiki
|
107
|
+
begin: "\""
|
108
|
+
beginCaptures:
|
109
|
+
"0":
|
110
|
+
name: punctuation.definition.string.begin.twiki
|
111
|
+
end: "\""
|
112
|
+
patterns:
|
113
|
+
- name: constant.character.escape.twiki
|
114
|
+
match: \\.
|
115
|
+
- name: markup.heading.twiki
|
116
|
+
captures:
|
117
|
+
"1":
|
118
|
+
name: punctuation.definition.heading.twiki
|
119
|
+
"2":
|
120
|
+
name: entity.name.function.twiki
|
121
|
+
match: ^(-{3}\+{1,6})(.*)$
|
122
|
+
- name: markup.raw.twiki
|
123
|
+
captures:
|
124
|
+
"1":
|
125
|
+
name: punctuation.definition.tag.twiki
|
126
|
+
"2":
|
127
|
+
name: punctuation.definition.tag.twiki
|
128
|
+
"3":
|
129
|
+
name: punctuation.definition.tag.twiki
|
130
|
+
"4":
|
131
|
+
name: punctuation.definition.tag.twiki
|
132
|
+
begin: (<)verbatim(>)|(<)pre(>)
|
133
|
+
end: (</)verbatim(>)|(</)pre(>)
|
134
|
+
patterns:
|
135
|
+
- name: constant.character.escape.twiki
|
136
|
+
match: \\.
|
137
|
+
- name: meta.separator.twiki
|
138
|
+
match: ^-{3,}$\n
|
139
|
+
- name: markup.other.def.twiki
|
140
|
+
captures:
|
141
|
+
"1":
|
142
|
+
name: markup.other.def.term.twiki
|
143
|
+
"2":
|
144
|
+
name: markup.other.def.def.twiki
|
145
|
+
begin: "^ {3}([a-zA-Z0-9]+: )"
|
146
|
+
end: $\n?
|
147
|
+
patterns:
|
148
|
+
- include: "#list-paragraph"
|
149
|
+
- name: markup.other.table.twiki
|
150
|
+
begin: ^(\|)
|
151
|
+
beginCaptures:
|
152
|
+
"1":
|
153
|
+
name: punctuation.definition.table.twiki
|
154
|
+
end: ^(?:\s*$|(?=\s*>|[=-]{3,}$))
|
155
|
+
patterns:
|
156
|
+
- include: "#inline"
|
157
|
+
- name: markup.list.unnumbered.1.twiki
|
158
|
+
begin: ^ {3}(\*)
|
159
|
+
beginCaptures:
|
160
|
+
"1":
|
161
|
+
name: punctuation.definition.list_item.twiki
|
162
|
+
end: $\n?
|
163
|
+
patterns:
|
164
|
+
- include: "#list-paragraph"
|
165
|
+
- name: markup.list.unnumbered.2.twiki
|
166
|
+
begin: ^ {6}(\*)
|
167
|
+
beginCaptures:
|
168
|
+
"1":
|
169
|
+
name: punctuation.definition.list_item.twiki
|
170
|
+
end: $\n?
|
171
|
+
patterns:
|
172
|
+
- include: "#list-paragraph"
|
173
|
+
- name: markup.list.unnumbered.3.twiki
|
174
|
+
begin: ^ {9}(\*)
|
175
|
+
beginCaptures:
|
176
|
+
"1":
|
177
|
+
name: punctuation.definition.list_item.twiki
|
178
|
+
end: $\n?
|
179
|
+
patterns:
|
180
|
+
- include: "#list-paragraph"
|
181
|
+
- name: markup.list.unnumbered.4.twiki
|
182
|
+
begin: ^ {12}(\*)
|
183
|
+
beginCaptures:
|
184
|
+
"1":
|
185
|
+
name: punctuation.definition.list_item.twiki
|
186
|
+
end: $\n?
|
187
|
+
patterns:
|
188
|
+
- include: "#list-paragraph"
|
189
|
+
- name: markup.list.unnumbered.5.twiki
|
190
|
+
begin: ^ {15}(\*)
|
191
|
+
beginCaptures:
|
192
|
+
"1":
|
193
|
+
name: punctuation.definition.list_item.twiki
|
194
|
+
end: $\n?
|
195
|
+
patterns:
|
196
|
+
- include: "#list-paragraph"
|
197
|
+
- name: markup.list.unnumbered.6.twiki
|
198
|
+
begin: ^ {18}(\*)
|
199
|
+
beginCaptures:
|
200
|
+
"1":
|
201
|
+
name: punctuation.definition.list_item.twiki
|
202
|
+
end: $\n?
|
203
|
+
patterns:
|
204
|
+
- include: "#list-paragraph"
|
205
|
+
- name: markup.list.numbered.1.twiki
|
206
|
+
begin: ^ {3}\d
|
207
|
+
end: $\n?
|
208
|
+
patterns:
|
209
|
+
- include: "#numlist-paragraph"
|
210
|
+
- name: markup.list.numbered.2.twiki
|
211
|
+
begin: ^ {6}\d
|
212
|
+
end: $\n?
|
213
|
+
patterns:
|
214
|
+
- include: "#numlist-paragraph"
|
215
|
+
- name: markup.list.numbered.3.twiki
|
216
|
+
begin: ^ {9}\d
|
217
|
+
end: $\n?
|
218
|
+
patterns:
|
219
|
+
- include: "#numlist-paragraph"
|
220
|
+
- name: markup.list.numbered.4.twiki
|
221
|
+
begin: ^ {12}\d
|
222
|
+
end: $\n?
|
223
|
+
patterns:
|
224
|
+
- include: "#numlist-paragraph"
|
225
|
+
- name: markup.list.numbered.5.twiki
|
226
|
+
begin: ^ {15}\d
|
227
|
+
end: $\n?
|
228
|
+
patterns:
|
229
|
+
- include: "#numlist-paragraph"
|
230
|
+
- name: markup.list.numbered.6.twiki
|
231
|
+
begin: ^ {18}\d
|
232
|
+
end: $\n?
|
233
|
+
patterns:
|
234
|
+
- include: "#numlist-paragraph"
|
235
|
+
- name: meta.paragraph.twiki
|
236
|
+
begin: ^(?=\S)
|
237
|
+
end: ^\s*$
|
238
|
+
patterns:
|
239
|
+
- include: "#inline"
|
240
|
+
- include: text.html.basic
|
241
|
+
keyEquivalent: ^~T
|
@@ -0,0 +1,79 @@
|
|
1
|
+
---
|
2
|
+
name: Txt2tags
|
3
|
+
fileTypes:
|
4
|
+
- t2t
|
5
|
+
scopeName: text.txt2tags
|
6
|
+
uuid: B5A751C0-2CE4-41A5-99FB-7B673943DE60
|
7
|
+
patterns:
|
8
|
+
- name: comment.block.txt2tags
|
9
|
+
begin: ^%%%\s*$
|
10
|
+
end: ^%%%\s*$\n?
|
11
|
+
- name: string.unquoted.txt2tags
|
12
|
+
match: ^\s*[_=-]{20,}\s*$\n?
|
13
|
+
- name: markup.underline.txt2tags
|
14
|
+
match: __([^\s](|.*?[^\s])_*)__
|
15
|
+
- name: markup.bold.txt2tags
|
16
|
+
match: \*\*([^\s](|.*?[^\s])\**)\*\*
|
17
|
+
- name: markup.heading.1.txt2tags
|
18
|
+
match: ^\s*={1}[^=](|.*[^=])={1}(\[[\w-]*\])?\s*$\n?
|
19
|
+
- name: markup.heading.2.txt2tags
|
20
|
+
match: ^\s*={2}[^=](|.*[^=])={2}(\[[\w-]*\])?\s*$\n?
|
21
|
+
- name: markup.heading.3.txt2tags
|
22
|
+
match: ^\s*={3}[^=](|.*[^=])={3}(\[[\w-]*\])?\s*$\n?
|
23
|
+
- name: markup.heading.4.txt2tags
|
24
|
+
match: ^\s*={4}[^=](|.*[^=])={4}(\[[\w-]*\])?\s*$\n?
|
25
|
+
- name: markup.heading.5.txt2tags
|
26
|
+
match: ^\s*={5}[^=](|.*[^=])={5}(\[[\w-]*\])?\s*$\n?
|
27
|
+
- name: markup.heading.1.txt2tags
|
28
|
+
match: ^\s*\+{1}[^+](|.*[^+])\+{1}(\[[\w-]*\])?\s*$\n?
|
29
|
+
- name: markup.heading.2.txt2tags
|
30
|
+
match: ^\s*\+{2}[^+](|.*[^+])\+{2}(\[[\w-]*\])?\s*$\n?
|
31
|
+
- name: markup.heading.3.txt2tags
|
32
|
+
match: ^\s*\+{3}[^+](|.*[^+])\+{3}(\[[\w-]*\])?\s*$\n?
|
33
|
+
- name: markup.heading.4.txt2tags
|
34
|
+
match: ^\s*\+{4}[^+](|.*[^+])\+{4}(\[[\w-]*\])?\s*$\n?
|
35
|
+
- name: markup.heading.5.txt2tags
|
36
|
+
match: ^\s*\+{5}[^+](|.*[^+])\+{5}(\[[\w-]*\])?\s*$\n?
|
37
|
+
- name: markup.italic.txt2tags
|
38
|
+
match: //([^\s](|.*?[^\s])/*)//
|
39
|
+
- name: string.quoted.other.raw.inline.txt2tags
|
40
|
+
match: "\"\"([^\\s](|.*?[^\\s])\"*)\"\""
|
41
|
+
- name: string.quoted.other.raw.line.txt2tags
|
42
|
+
match: ^""" (?=.).*$\n?
|
43
|
+
- name: string.quoted.other.raw.block.txt2tags
|
44
|
+
begin: ^"""\s*$
|
45
|
+
end: ^"""\s*$\n?
|
46
|
+
- name: markup.list.numbered.txt2tags
|
47
|
+
match: ^ *\+ (?=[^ ])
|
48
|
+
- name: markup.list.unnumbered.txt2tags
|
49
|
+
match: ^ *- (?=[^ ])
|
50
|
+
- name: markup.list.unnumbered.txt2tags
|
51
|
+
match: "^ *: (?=.)"
|
52
|
+
- name: markup.list.txt2tags
|
53
|
+
match: ^( *)([-+:])\s*$
|
54
|
+
- name: markup.raw.verb.block.txt2tags
|
55
|
+
begin: ^```\s*$
|
56
|
+
end: ^```\s*$\n?
|
57
|
+
- name: markup.raw.verb.line.txt2tags
|
58
|
+
match: ^``` (?=.).*$\n?
|
59
|
+
- name: markup.raw.verb.inline.txt2tags
|
60
|
+
match: "``([^\\s](|.*?[^\\s])`*)``"
|
61
|
+
- name: invalid.deprecated.trailing-whitespace.txt2tags
|
62
|
+
match: \s+$
|
63
|
+
- name: string.interpolated.txt2tags
|
64
|
+
match: (?i)%%(date|mtime|infile|outfile)(\(.*?\))?|%%toc
|
65
|
+
- name: constant.character.txt2tags
|
66
|
+
match: (?i)^%!\s*(target|encoding|style|options|include|includeconf|preproc|postproc|guicolors)\s*(\(\w*\))?\s*:.*
|
67
|
+
- name: meta.tag.image.txt2tags
|
68
|
+
match: \[[\w_,.+%$#@!?+~/-]+\.(png|jpe?g|gif|eps|bmp)\]
|
69
|
+
- name: meta.tag.email.txt2tags
|
70
|
+
match: (?i)\b[A-Za-z0-9_.-]+@([A-Za-z0-9_-]+\.)+[A-Za-z]{2,4}\b(\?[A-Za-z0-9/%&=+;.,$@*_-]+)?
|
71
|
+
- name: meta.tag.url.txt2tags
|
72
|
+
match: (?i)\b((https?|ftp|news|telnet|gopher|wais)://([A-Za-z0-9_.-]+(:[^ @]*)?@)?|(www[23]?|ftp)\.)[A-Za-z0-9%._/~:,=$@&+-]+\b/*(\?[A-Za-z0-9/%&=+;.,$@*_-]+)?(#[A-Za-z0-9%._-]*)?
|
73
|
+
- name: meta.tag.link.txt2tags
|
74
|
+
match: (?i)\[(\[[\w_,.+%$#@!?+~/-]+\.(png|jpe?g|gif|eps|bmp)\]|[^]]+) (((https?|ftp|news|telnet|gopher|wais)://([A-Za-z0-9_.-]+(:[^ @]*)?@)?|(www[23]?|ftp)\.)[A-Za-z0-9%._/~:,=$@&+-]+\b/*(\?[A-Za-z0-9/%&=+;.,$@*_-]+)?(#[A-Za-z0-9%._-]*)?|[A-Za-z0-9_.-]+@([A-Za-z0-9_-]+\.)+[A-Za-z]{2,4}\b(\?[A-Za-z0-9/%&=+;.,$@*_-]+)?|[A-Za-z0-9%._/~:,=$@&+-]+|[A-Za-z0-9%._/~:,=$@&+-]*(#[A-Za-z0-9%._-]*))\]
|
75
|
+
- name: markup.quote.txt2tags
|
76
|
+
match: ^\t.*$\n?
|
77
|
+
- name: comment.line.txt2tags
|
78
|
+
match: ^%.*$\n?
|
79
|
+
keyEquivalent: ^~T
|
@@ -0,0 +1,57 @@
|
|
1
|
+
---
|
2
|
+
name: Vectorscript
|
3
|
+
fileTypes:
|
4
|
+
- vss
|
5
|
+
scopeName: source.pascal.vectorscript
|
6
|
+
uuid: CC77FD91-9DBF-490E-B21D-CC350E82E791
|
7
|
+
foldingStartMarker: ^\s*(PROCEDURE|FUNCTION)
|
8
|
+
patterns:
|
9
|
+
- name: keyword.control.vectorscript
|
10
|
+
match: \b(?i:(abstract|all|and|and_then|array|as|asm|attribute|begin|bindable|case|class|const|constructor|destructor|div|do|end|do|else|end|export|exports|external|far|file|finalization|for|forward|goto|if|implementation|import|in|inherited|initialization|interface|interrupt|is|label|library|mod|module|name|near|nil|not|object|of|only|operator|or|or_else|otherwise|packed|pow|private|program|property|protected|public|published|qualified|record|repeat|resident|restricted|segment|set|shl|shr|then|to|type|unit|until|uses|value|var|view|virtual|while|with|xor|string|handle|real|point|longint|integer|boolean|vector|structure|allocate|dynarray))\b
|
11
|
+
- name: constant.other.vectorscript
|
12
|
+
match: \b(?i:())\bk[A-Z0-9]\w*\b
|
13
|
+
- name: support.function.vectorscript
|
14
|
+
match: \b(?i:(Abs|Absolute|ActiveClass|ActLayer|ActSSheet|ActSymDef|Add3DPt|AddButton|AddCavity|AddChoiceItem|AddField|AddGroupBox|AddHelpItem|AddHole|AddLBImage|AddListBoxTabStop|AddPoint|AddResourceToList|AddSolid|AddSurface|AddSymToWall|AddSymToWallEdge|AddVectorFillLayer|AddVertex3D|AddVPAnnotationObject|AddWallBottomPeak|AddWallPeak|AlertCritical|AlertInform|AlertQuestion|AlignItemEdge|AlrtDialog|Ang2Vec|AngBVec|AngDialog|AngDialog3D|Angle|AngleVar|AngularDim|Append|AppendRoofEdge|Arc|ArcByCenter|ArcCos|ArcSin|ArcTan|ArcTo|Area|AreLBColumnLinesEnabled|AreLBRadioColumnLinesEnabled|AttachDefaultTextureSpace|AutoFitWSRowHeights|AutoKey|Backward|BeginColumn|BeginDialog|BeginFloor|BeginFolder|BeginGroup|BeginMesh|BeginMXtrd|BeginPoly|BeginPoly3D|BeginRoof|BeginSweep|BeginSym|BeginText|BeginVectorFillN|BeginXtrd|BotBound|BreakWall|BuildResourceList|CalcSurfaceArea|CalcVolume|CallTool|CapsLock|CellHasNum|CellHasStr|CellString|CellValue|Centroid3D|Chr|CircularDim|ClassList|ClassNum|ClearCavities|ClearGradientSliderSegments|ClearWallPeaks|ClearWSCell|ClipSurface|Close|ClosePoly|CloseSS|ClrDialog|ClrMessage|ColorIndexToRGB|CombineIntoSurface|Command|Comp|Concat|ContainsLight|ConvertTo3DPolys|ConvertToNURBS|ConvertToUnstyledWall|Copy|CopyMode|CopySymbol|Cos|Count|CreateBatDormer|CreateCheckBox|CreateCheckBoxGroupBox|CreateColorPopup|CreateCone|CreateContourCurves|CreateControl|CreateCustomObject|CreateCustomObjectN|CreateCustomObjectPath|CreateEditInteger|CreateEditReal|CreateEditText|CreateEditTextBox|CreateExtrudeAlongPath|CreateGableDormer|CreateGradient|CreateGroupBox|CreateHemisphere|CreateHipDormer|CreateImageFromPaint|CreateImageProp|CreateInterpolatedSurface|CreateLayer|CreateLayout|CreateLB|CreateLight|CreateLineAttributePopup|CreateLineStylePopup|CreateLineWeightPopup|CreateListBox|CreateListBoxN|CreateLoftSurfaces|CreateMarkerPopup|CreateNurbsCurve|CreateNurbsSurface|CreateOffsetNurbsObjectHandle|CreatePaintFromImage|CreatePatternPopup|CreatePullDownMenu|CreatePushButton|CreateRadioButton|CreateRadioButtonGroupBox|CreateResizableLayout|CreateRoof|CreateShaderRecord|CreateShedDormer|CreateSkylight|CreateSphere|CreateStandardIconControl|CreateStaticHatch|CreateStaticHatchFromObject|CreateStaticText|CreateSurfacefromCurvesNetwork|CreateSwapControl|CreateSwapPane|CreateSymbolDisplayControl|CreateTabControl|CreateTabPane|CreateTaperedExtrude|CreateText|CreateTexture|CreateTextureBitmap|CreateTextureBitmapN|CreateTrapeziumDormer|CreateVP|CreateWS|CreateWSImage|CrossProduct|CurveThrough|CurveTo|Date|Deg2Rad|DelChoice|DelClass|Delete|DeleteAllItems|DeleteAllLBItems|DeleteComponent|DeleteConstraint|DeleteLBColumn|DeleteLBItem|DeleteObjs|DeleteResourceFromList|DeleteTextureSpace|DeleteWallSym|DeleteWSColumns|DeleteWSRows|DelName|DelObject|DelRecord|DelVectorFill|DelVertex|DialogEvent|DidCancel|DimArcText|DimText|DisableModules|DisplayContextHelpOfCurrentPlugin|DisplayLayerScaleDialog|DisplayOrganizationDialog|DisplaySwapPane|DisplayTabPane|Distance|DistDialog|DoMenuText|DoMenuTextByName|DotProduct|DoubleFixedTolerance|DoubleTolerance|DoubLines|DrawDialog|DrawNurbsObject|DrwSize|DSelectAll|DSelectObj|Duplicate|EditShaderRecord|EditTexture|EditTextureBitmap|EditTextureSpace|EllipseEllipseIntersect|EnableLB|EnableLBClickAllDataChange|EnableLBColumnLines|EnableLBColumnTracking|EnableLBDragAndDrop|EnableLBRadioColumnLines|EnableLBSingleLineSelection|EnableLBSorting|EnableParameter|EndDialog|EndFolder|EndGroup|EndMesh|EndMXtrd|EndPoly|EndPoly3D|EndSweep|EndSym|EndText|EndVectorFill|EndXtrd|EnsureLBItemIsVisible|EOF|EOLN|EqualPt|EqualRect|Eval|EvalStr|EvaluateNurbsSurfacePointAndNormal|Exp|ExtendNurbsCurve|ExtendNurbsSurface|FActLayer|FFillBack|FFillColorByClass|FFillFore|FFillPat|FFPatByClass|Field|FillBack|FillColorByClass|FillFore|FillPat|FIn3D|FindFileInPluginFolder|FindLBColumnDataItem|FindLBColumnItem|FInFolder|FInGroup|FInLayer|FInSymDef|FLayer|FlipHor|FlipVer|FLSByClass|FLWByClass|FMarker|FMarkerByClass|FndError|FObject|ForEachObject|ForEachObjectInLayer|ForEachObjectInList|FormatTextDialog|Forward|FPatByClass|FPenBack|FPenColorByClass|FPenFore|FPenPat|FPenSize|FSActLayer|FSObject|FSymDef|Get2DPt|Get3DCntr|Get3DInfo|Get3DOrientation|GetActivePane|GetActiveSerialNumber|GetActualNameFromResourceList|GetArc|GetArrayDimensions|GetBatAttributes|GetBBox|GetBeamAngle|GetBinaryConstraint|GetCAlign|GetCellNum|GetCellStr|GetChoiceStr|GetClass|GetClassArrow|GetClassOptions|GetClFillBack|GetClFillFore|GetClFPat|GetClLS|GetClLW|GetClosestPt|GetClosestSide|GetClPenBack|GetClPenFore|GetClTextureC|GetClTextureD|GetClTextureG|GetClTextureL|GetClTextureR|GetClTextureT|GetClUseGraphic|GetClUseTexture|GetClVectorFill|GetColorButton|GetColorChoice|GetComponentFill|GetComponentPenStyles|GetComponentPenWeights|GetComponentWidth|GetControlData|GetCurrentMode|GetCustomObjectChoice|GetCustomObjectInfo|GetCustomObjectPath|GetCustomObjectProfileGroup|GetCVis|GetCWidth|GetDashStyle|GetDefaultTextSize|GetDialog|GetDimText|GetDocumentDefaultSketchStyle|GetDormerAttributes|GetDormerThick|GetDrawingSizeRect|GetEditInteger|GetEditReal|GetEnabledModules|GetField|GetFile|GetFileInfo|GetFillBack|GetFillFore|GetFillIAxisEndPoint|GetFillJAxisEndPoint|GetFillOriginPoint|GetFillPoints|GetFldName|GetFldType|GetFName|GetFolderPath|GetFontID|GetFontName|GetFPat|GetGableAttributes|GetGradientData|GetGradientMidpointPosition|GetGradientSliderData|GetGradientSliderSelectedMarker|GetGradientSpotColor|GetGradientSpotPosition|GetHipAttributes|GetHole|GetImagePopupObject|GetImagePopupObjectItemIndex|GetImagePopupSelectedItem|GetKeyDown|GetLastFileErr|GetLayer|GetLayerAmbientColor|GetLayerAmbientInfo|GetLayerByName|GetLayerElevation|GetLayerOptions|GetLayerRenderMode|GetLayoutDialogPosition|GetLayoutDialogSize|GetLBColumnDataItemInfo|GetLBColumnHeaderJust|GetLBColumnHeaderToolTip|GetLBColumnOwnerDrawnType|GetLBColumnSortState|GetLBColumnWidth|GetLBControlType|GetLBEditDisplayType|GetLBEventInfo|GetLBItemDashStyle|GetLBItemDisplayType|GetLBItemFillBackColor|GetLBItemFillForeColor|GetLBItemGradientOrImageRefNumber|GetLBItemInfo|GetLBItemPenBackColor|GetLBItemPenForeColor|GetLBItemTextColor|GetLBItemTextJust|GetLBItemTextStyle|GetLBMultImageIndexes|GetLBSortColumn|GetLightColorRGB|GetLightDirection|GetLightFalloff|GetLightInfo|GetLightLocation|GetLine|GetLineAttributeData|GetLineStyleChoice|GetLineWeightChoice|GetLName|GetLocalizedPluginChoice|GetLocalizedPluginName|GetLocalizedPluginParameter|GetLocPt|GetLocus3D|GetLS|GetLScale|GetLVis|GetLW|GetMarker|GetMarkerChoice|GetMarkerPopupSelectedItem|GetMouse|GetName|GetNameFromResourceList|GetNumberOfComponents|GetNumGradientSegments|GetNumGradientSliderSegments|GetNumHoles|GetNumImagePopupItems|GetNumLBColumnDataItems|GetNumLBColumns|GetNumLBItems|GetNumRoofElements|GetNumSelectedLBItems|GetNumWallPeaks|GetNurbsObjectDistanceFromPoint|GetObjArrow|GetObject|GetObjectVariableBoolean|GetObjectVariableHandle|GetObjectVariableInt|GetObjectVariableLongInt|GetObjectVariableReal|GetObjectVariableString|GetObjExpandTexture|GetOrigin|GetOSVersion|GetPaletteVisibility|GetParameterOnNurbsCurve|GetParent|GetPatternData|GetPenBack|GetPenFore|GetPickObjectInfo|GetPluginChoiceIndex|GetPluginInfo|GetPluginString|GetPointAndParameterOnNurbsCurveAtGivenLength|GetPolylineVertex|GetPolyPt|GetPolyPt3D|GetPref|GetPrefInt|GetPrefLongInt|GetPrefReal|GetPrefString|GetPrimaryUnitInfo|GetProduct|GetPt|GetPtL|GetRecord|GetRect|GetResourceFromList|GetResourceString|GetRField|GetRoofAttributes|GetRoofEdge|GetRoofElementType|GetRoofFaceAttrib|GetRoofFaceCoords|GetRoofVertices|GetRoundingBase|GetRRDiam|GetSavedSetting|GetScreen|GetSDName|GetSecondaryUnitInfo|GetSegPt1|GetSegPt2|GetSelChoice|GetShaderRecord|GetShedAttributes|GetSheetLayerUserOrigin|GetSingularConstraint|GetSkylight|GetSprdSortSum|GetSprdSortSumColumns|GetSpreadAngle|GetSymbolOptionsN|GetSymbolType|GetSymBrightMult|GetSymLoc|GetSymLoc3D|GetSymName|GetSymRot|GetTexBFeatureEnd|GetTexBFeatureStart|GetTexBitFeatureSize|GetTexBitmapOrigin|GetTexBitPaintNode|GetTexBitRepHoriz|GetTexBitRepVert|GetTexSpace2DOffset|GetTexSpace2DRadius|GetTexSpace2DRot|GetTexSpace2DScale|GetTexSpaceEndCap|GetTexSpaceKind|GetTexSpaceOrientU|GetTexSpaceOrientV|GetTexSpaceOrientW|GetTexSpaceOrigin|GetTexSpacePartID|GetTexSpaceStartCap|GetText|GetTextFont|GetTextJust|GetTextLeading|GetTextLength|GetTextOrientation|GetTextSize|GetTextSpace|GetTextStyle|GetTextureBitmap|GetTextureRef|GetTextureShader|GetTextureShininess|GetTextureSize|GetTextureSpace|GetTextureTransp|GetTextVerticalAlign|GetTextWidth|GetTextWrap|GetTickCount|GetTopVisibleWS|GetTrapeziumAttributes|GetType|GetUnits|GetVCenter|GetVectorFill|GetVectorFillDefault|GetVersion|GetVertexVisibility|GetVertNum|GetView|GetViewMatrix|GetVPClassVisibility|GetVPCropObject|GetVPGroup|GetVPGroupParent|GetVPLayerVisibility|GetWallControlOffset|GetWallPeak|GetWallPrefStyle|GetWallStyle|GetWallThickness|GetWallWidth|GetWorkingPlane|GetWSCellAlignment|GetWSCellBorder|GetWSCellFill|GetWSCellFormula|GetWSCellNumberFormat|GetWSCellString|GetWSCellTextAngle|GetWSCellTextColor|GetWSCellTextFormat|GetWSCellValue|GetWSCellVertAlignment|GetWSCellWrapTextFlag|GetWSColumnOperators|GetWSColumnWidth|GetWSFromImage|GetWSImage|GetWSPlacement|GetWSRowColumnCount|GetWSRowHeight|GetWSRowHLockState|GetWSSelection|GetWSSubrowCellString|GetWSSubrowCellValue|GetWSSubrowCount|GetZoom|GetZVals|GrayClass|GrayLayer|GridLines|Group|GroupToMesh|HAngle|HArea|HasConstraint|HasDim|HasPlugin|HCenter|HDuplicate|Height|HExtrude|HHeight|Hide|HideClass|HideLayer|HLength|HMove|HMoveBackward|HMoveForward|HPerim|HRotate|HUngroup|HWallHeight|HWallWidth|HWidth|ImportResourceToCurrentFile|Index2Name|Insert|InsertChoice|InsertGradientSegment|InsertGradientSliderSegment|InsertImagePopupObjectItem|InsertImagePopupResource|InsertLBColumn|InsertLBColumnDataItem|InsertLBItem|InsertNewComponent|InsertSymbol|InsertSymbolInFolder|InsertVertex|InsertWSColumns|InsertWSRows|IntDialog|IntersectSolid|IntersectSurface|IsFillColorByClass|IsFlipped|IsFPatByClass|IsLayerReferenced|IsLBColumnTrackingEnabled|IsLBItemSelected|IsLBSortingEnabled|IsLSByClass|IsLWByClass|IsMarkerByClass|IsNewCustomObject|IsObjectFlipped|IsPenColorByClass|IsPluginFormat|IsRW|IsTextureableObject|IsValidWSCell|IsValidWSRange|IsValidWSSubrowCell|IsVPGroupContainedObject|IsWSCellNumber|IsWSCellString|IsWSDatabaseRow|IsWSSubrowCellNumber|IsWSSubrowCellString|IsWSVisible|ItemSel|JoinWalls|KeyDown|LActLayer|Layer|LayerRef|LckObjs|LeftBound|Len|Length|LFillBack|LFillFore|LimitTolerance|Line|LinearDim|LineEllipseIntersect|LineLineIntersection|LineTo|LinkText|LLayer|Ln|LNewObj|LoadCell|LObject|Locus|Locus3D|LPenBack|LPenFore|LSActLayer|LSByClass|LWByClass|MakePolygon|MakePolyline|Marker|MarkerByClass|MeshToGroup|Message|MirrorXY3D|Moments3D|MouseDown|Move|Move3D|Move3DObj|MoveBack|MoveFront|MoveObjs|MoveTo|MoveWallByOffset|Name2Index|NameClass|NameList|NameNum|NameObject|NameUndoEvent|NewField|NewSprdSheet|NextDObj|NextLayer|NextObj|NextSObj|NextSymDef|NoAngleVar|NonUndoableActionOK|Norm|Num2Str|Num2StrF|NumChoices|NumCustomObjectChoices|NumDashStyles|NumFields|NumLayers|NumObj|NumRecords|NumSObj|NumVectorFills|NurbsCurveEvalPt|NurbsCurveGetNumPieces|NurbsCurveType|NurbsDegree|NurbsDelVertex|NurbsGetNumPts|NurbsGetPt3D|NurbsGetWeight|NurbsKnot|NurbsNumKnots|NurbsSetKnot|NurbsSetPt3D|NurbsSetWeight|NurbsSurfaceEvalPt|ObjectType|Open|OpenPoly|OpenURL|Option|Ord|Oval|PenBack|PenColorByClass|PenFore|PenGrid|PenLoc|PenPat|PenSize|Perim|Perp|PickObject|Poly|Poly3D|PopAttrs|Pos|PrevDObj|PrevLayer|PrevObj|PrevSObj|PrevSymDef|PrimaryUnits|PrintUsingPrintDialog|PrintWithoutUsingPrintDialog|Products3D|Projection|PtDialog|PtDialog3D|PtInPoly|PtInRect|PushAttrs|PutFile|QTCloseMovieFile|QTGetMovieOptions|QTInitialize|QTOpenMovieFile|QTSetMovieOptions|QTTerminate|QTWriteFrame|Rad2Deg|Random|Read|ReadLn|RealDialog|RecalculateWS|Record|Rect|ReDraw|ReDrawAll|RefreshLB|Relative|RemoveAllImagePopupItems|RemoveAllLBColumnDataItems|RemoveGradientSegment|RemoveGradientSliderSegment|RemoveImagePopupItem|RemoveLBColumnDataItem|RemoveListBoxTabStop|RemoveRoofEdge|RemoveRoofElement|RenameClass|ResetBBox|ResetObject|ResetOrientation3D|ResolveByClassTextureRef|ResourceListSize|ReverseWallSides|RevolveWithRail|Rewrite|RGBToColorIndex|RightBound|Rotate|Rotate3D|RotatePoint|Round|RoundWall|RRect|Run|RunLayoutDialog|SaveSheet|Scale|SecondaryUnits|SelChoice|SelectAll|Selected|SelectObj|SelectSS|SelField|Set3DInfo|Set3DRot|SetActSymbol|SetArc|SetBatAttributes|SetBBox|SetBeamAngle|SetBelowItem|SetBinaryConstraint|SetClass|SetClassArrow|SetClassOptions|SetClFillBack|SetClFillFore|SetClFPat|SetClLS|SetClLW|SetClPenBack|SetClPenFore|SetClTextureC|SetClTextureD|SetClTextureG|SetClTextureL|SetClTextureR|SetClTextureT|SetClUseGraphic|SetClUseTexture|SetClVectorFill|SetColorButton|SetColorChoice|SetComponentFill|SetComponentPenStyles|SetComponentPenWeights|SetComponentWidth|SetConstrain|SetConstraintValue|SetControlData|SetControlText|SetCurrentObject|SetCursor|SetCustomObjectPath|SetCustomObjectProfileGroup|SetDashStyle|SetDefaultTextureSpace|SetDimStd|SetDimText|SetDocumentDefaultSketchStyle|SetDormerAttributes|SetDormerThick|SetDrawingRect|SetDSelect|SetEdgeBinding|SetEditInteger|SetEditReal|SetField|SetFillBack|SetFillColorByClass|SetFillFore|SetFillIAxisEndPoint|SetFillJAxisEndPoint|SetFillOriginPoint|SetFirstGroupItem|SetFirstLayoutItem|SetFocusOnLB|SetFPat|SetFPatByClass|SetGableAttributes|SetGradientData|SetGradientMidpointPosition|SetGradientSliderData|SetGradientSliderSelectedMarker|SetGradientSpotColor|SetGradientSpotPosition|SetHDef|SetHelpString|SetHipAttributes|SetImagePopupSelectedItem|SetItem|SetItemEnable|SetLayerAmbientColor|SetLayerAmbientInfo|SetLayerElevation|SetLayerOptions|SetLayerRenderMode|SetLayerTransparency|SetLayoutDialogPosition|SetLayoutDialogSize|SetLayoutOption|SetLBColumnHeaderJust|SetLBColumnHeaderToolTip|SetLBColumnOwnerDrawnType|SetLBColumnWidth|SetLBControlType|SetLBDragDropColumn|SetLBEditDisplayType|SetLBItemDashStyle|SetLBItemDisplayType|SetLBItemFillBackColor|SetLBItemFillForeColor|SetLBItemGradientOrImageRefNumber|SetLBItemInfo|SetLBItemPenBackColor|SetLBItemPenForeColor|SetLBItemTextColor|SetLBItemTextJust|SetLBItemTextStyle|SetLBItemUsingColumnDataItem|SetLBMultImageIndexes|SetLBSelection|SetLBSortColumn|SetLightColorRGB|SetLightDirection|SetLightFalloff|SetLightInfo|SetLightLocation|SetLineAttributeData|SetLineStyleChoice|SetLineWeightChoice|SetLS|SetLSByClass|SetLScale|SetLW|SetLWByClass|SetMarker|SetMarkerByClass|SetMarkerChoice|SetMaximumUndoEvents|SetName|SetObjArrow|SetObjectVariableBoolean|SetObjectVariableHandle|SetObjectVariableInt|SetObjectVariableLongInt|SetObjectVariableReal|SetObjectVariableString|SetObjExpandTexture|SetOrigin|SetOriginAbsolute|SetPaletteVisibility|SetParameterVisibility|SetParent|SetPatternData|SetPenBack|SetPenColorByClass|SetPenFore|SetPolylineVertex|SetPolyPt|SetPolyPt3D|SetPref|SetPrefInt|SetPrefLongInt|SetPrefReal|SetPrefString|SetPrimaryDim|SetProportionalBinding|SetRecord|SetRField|SetRightItem|SetRoofAttributes|SetRoofEdge|SetRot3D|SetSavedSetting|SetScale|SetSecondaryDim|SetSegPt1|SetSegPt2|SetSelect|SetShedAttributes|SetSheetLayerUserOrigin|SetSingularConstraint|SetSkylight|SetSprdSortSum|SetSprdSortSumColumns|SetSpreadAngle|SetSymbolOptionsN|SetSymBrightMult|SetTexBFeatureEnd|SetTexBFeatureStart|SetTexBitFeatureSize|SetTexBitmapOrigin|SetTexBitPaintNode|SetTexBitRepHoriz|SetTexBitRepVert|SetTexSpace2DOffset|SetTexSpace2DRadius|SetTexSpace2DRot|SetTexSpace2DScale|SetTexSpaceEndCap|SetTexSpaceKind|SetTexSpaceOrientU|SetTexSpaceOrientV|SetTexSpaceOrientW|SetTexSpaceOrigin|SetTexSpacePartID|SetTexSpaceStartCap|SetText|SetTextEditable|SetTextFont|SetTextJust|SetTextLeading|SetTextOrientation|SetTextSize|SetTextSpace|SetTextStyle|SetTextureBitmap|SetTextureRef|SetTextureShader|SetTextureShininess|SetTextureSize|SetTextureTransp|SetTextVerticalAlign|SetTextWidth|SetTextWrap|SetTitle|SetTool|SetTopVisibleWS|SetTrapeziumAttributes|SetUnits|SetVCenter|SetVectorFill|SetVectorFillDefault|SetVertexVisibility|SetView|SetViewMatrix|SetViewVector|SetVPClassVisibility|SetVPCropObject|SetVPLayerVisibility|SetVSResourceFile|SetWallControlOffset|SetWallHeights|SetWallPrefStyle|SetWallThickness|SetWallWidth|SetWorkingPlane|SetWSCellAlignment|SetWSCellBorder|SetWSCellBorders|SetWSCellFill|SetWSCellFormula|SetWSCellNumberFormat|SetWSCellTextColor|SetWSCellTextFormat|SetWSCellVertAlignment|SetWSCellWrapTextFlag|SetWSColumnOperators|SetWSColumnWidth|SetWSCurrentCell|SetWSPlacement|SetWSRowHeight|SetWSSelection|SetWSTextAngle|SetZoom|SetZVals|SheetList|SheetNum|Shift|Show|ShowClass|ShowCreateImageDialog|ShowGradientEditorDialog|ShowItem|ShowLayer|ShowWS|ShowWSDialog|Sin|SingleTolerance|Smooth|SortArray|Space|SprdAlign|SprdBorder|SprdFormat|SprdSize|SprdWidth|Sqr|Sqrt|SrndArea|StdRead|StdReadLn|Str2Num|StrDialog|SubtractSolid|SurfaceArea|Symbol|SymbolToGroup|SymDefNum|SysBeep|Tab|Tan|TargetSprdSheet|TextFace|TextFlip|TextFont|TextJust|TextLeading|TextOrigin|TextRotate|TextSize|TextSpace|TextVerticalAlign|TopBound|Trunc|UndoOff|Ungroup|UnionRect|Units|UnitVec|UnLckObjs|UpdateSymbolDisplayControl|UpdateThumbnailPreview|UpdateVP|UprString|UseDefaultFileErrorHandling|ValidAngStr|ValidNumStr|VDelete|Vec2Ang|VectorFillList|VerifyLayout|VerifyLibraryRoutine|Volume|VPHasCropObject|VRestore|VSave|Wait|Wall|WallCap|WallFootPrint|WallHeight|WallPeak|WallTo|WallWidth|Width|Write|WriteLn|WriteLnMac|WriteMac|XCenter|YCenter|YNDialog))\b
|
15
|
+
- name: support.function.vectorscript.undocumented
|
16
|
+
match: \b(?i:(SetObjPropCharVS|vsoInsertAllParams|vsoGetEventInfo))\b
|
17
|
+
- name: meta.function.vectorscript
|
18
|
+
captures:
|
19
|
+
"1":
|
20
|
+
name: storage.type.function.vectorscript
|
21
|
+
"2":
|
22
|
+
name: storage.type.procedure.vectorscript
|
23
|
+
"3":
|
24
|
+
name: entity.name.function.vectorscript
|
25
|
+
match: \b(?i:(?:(function)|(procedure)))\b\s+(\w+)
|
26
|
+
- name: constant.character.parameter.vectorscript
|
27
|
+
match: \bp[A-Z_0-9]+\b
|
28
|
+
- name: variable.other.readwrite.global.vectorscript
|
29
|
+
match: \bg[A-Z_0-9]\w*\b
|
30
|
+
- name: constant.language.boolean.vectorscript
|
31
|
+
match: \b(?i:(true|false))\b
|
32
|
+
- name: comment.block.vectorscript
|
33
|
+
captures:
|
34
|
+
"0":
|
35
|
+
name: punctuation.definition.comment.vectorscript
|
36
|
+
begin: \(\*
|
37
|
+
end: \*\)
|
38
|
+
- name: comment.block.vectorscript
|
39
|
+
captures:
|
40
|
+
"0":
|
41
|
+
name: punctuation.definition.comment.vectorscript
|
42
|
+
begin: \{
|
43
|
+
end: \}
|
44
|
+
- name: string.quoted.single.vectorscript
|
45
|
+
endCaptures:
|
46
|
+
"0":
|
47
|
+
name: punctuation.definition.string.end.vectorscript
|
48
|
+
begin: "'"
|
49
|
+
beginCaptures:
|
50
|
+
"0":
|
51
|
+
name: punctuation.definition.string.begin.vectorscript
|
52
|
+
end: "'"
|
53
|
+
patterns:
|
54
|
+
- name: constant.character.escape.vectorscript
|
55
|
+
match: \\.
|
56
|
+
foldingStopMarker: ^\s*END;
|
57
|
+
comment: Vectorscript (ie. Pascal) -- Based on Chris Jacks Pascal bundle
|