textpow 0.10.1 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (193) hide show
  1. data/.travis.yml +7 -0
  2. data/Gemfile +10 -0
  3. data/Gemfile.lock +30 -0
  4. data/{History.txt → History.rdoc} +10 -0
  5. data/{README.txt → MIT-LICENSE.txt} +0 -30
  6. data/README.rdoc +82 -0
  7. data/Rakefile +42 -49
  8. data/bin/plist2syntax +0 -0
  9. data/bin/plist2yaml +0 -0
  10. data/examples/benchmark_js.rb +13 -0
  11. data/examples/jquery.js +9046 -0
  12. data/lib/textpow.rb +43 -3
  13. data/lib/textpow/debug_processor.rb +35 -35
  14. data/lib/textpow/recording_processor.rb +13 -0
  15. data/lib/textpow/score_manager.rb +60 -60
  16. data/lib/textpow/syntax.rb +303 -262
  17. data/lib/textpow/syntax/broken/markdown.syntax +519 -0
  18. data/lib/textpow/syntax/broken/php.syntax +1253 -0
  19. data/lib/textpow/syntax/buggy/nemerle.syntax +74 -0
  20. data/lib/textpow/syntax/old/YAML.yaml +160 -0
  21. data/lib/textpow/syntax/old/txt2tags.yaml +139 -0
  22. data/lib/textpow/syntax/source.actionscript.syntax +97 -0
  23. data/lib/textpow/syntax/source.active4d.library.syntax +21 -0
  24. data/lib/textpow/syntax/source.active4d.syntax +276 -0
  25. data/lib/textpow/syntax/source.ada.syntax +33 -0
  26. data/lib/textpow/syntax/source.antlr.syntax +151 -0
  27. data/lib/textpow/syntax/source.apache-config.mod_perl.syntax +50 -0
  28. data/lib/textpow/syntax/source.apache-config.syntax +191 -0
  29. data/lib/textpow/syntax/source.applescript.syntax +384 -0
  30. data/lib/textpow/syntax/source.asp.syntax +70 -0
  31. data/lib/textpow/syntax/source.asp.vb.net.syntax +129 -0
  32. data/lib/textpow/syntax/source.c++.qt.syntax +26 -0
  33. data/lib/textpow/syntax/source.c++.syntax +186 -0
  34. data/lib/textpow/syntax/source.c-sharp.syntax +59 -0
  35. data/lib/textpow/syntax/source.c.ragel.syntax +201 -0
  36. data/lib/textpow/syntax/source.c.syntax +414 -0
  37. data/lib/textpow/syntax/source.camlp4.ocaml.syntax +36 -0
  38. data/lib/textpow/syntax/source.cm.syntax +32 -0
  39. data/lib/textpow/syntax/source.coffee.syntax +216 -0
  40. data/lib/textpow/syntax/source.context-free.syntax +176 -0
  41. data/lib/textpow/syntax/source.css.beta.syntax +1925 -0
  42. data/lib/textpow/syntax/source.css.syntax +195 -0
  43. data/lib/textpow/syntax/source.d.syntax +142 -0
  44. data/lib/textpow/syntax/source.diff.syntax +81 -0
  45. data/lib/textpow/syntax/source.dot.syntax +47 -0
  46. data/lib/textpow/syntax/source.dylan.syntax +62 -0
  47. data/lib/textpow/syntax/source.eiffel.syntax +78 -0
  48. data/lib/textpow/syntax/source.erlang.syntax +922 -0
  49. data/lib/textpow/syntax/source.fortran.syntax +141 -0
  50. data/lib/textpow/syntax/source.fscript.syntax +80 -0
  51. data/lib/textpow/syntax/source.fxscript.syntax +142 -0
  52. data/lib/textpow/syntax/source.gri.syntax +83 -0
  53. data/lib/textpow/syntax/source.groovy.groovy.syntax +191 -0
  54. data/lib/textpow/syntax/source.haskell.syntax +88 -0
  55. data/lib/textpow/syntax/source.icalendar.syntax +32 -0
  56. data/lib/textpow/syntax/source.inform.syntax +48 -0
  57. data/lib/textpow/syntax/source.ini.syntax +55 -0
  58. data/lib/textpow/syntax/source.io.syntax +81 -0
  59. data/lib/textpow/syntax/source.java-props.syntax +20 -0
  60. data/lib/textpow/syntax/source.java.syntax +211 -0
  61. data/lib/textpow/syntax/source.js.greasemonkey.syntax +34 -0
  62. data/lib/textpow/syntax/source.js.jquery.syntax +114 -0
  63. data/lib/textpow/syntax/source.js.mootools.syntax +572 -0
  64. data/lib/textpow/syntax/source.js.prototype.bracketed.syntax +140 -0
  65. data/lib/textpow/syntax/source.js.prototype.syntax +72 -0
  66. data/lib/textpow/syntax/source.js.syntax +256 -0
  67. data/lib/textpow/syntax/source.js.yui.syntax +176 -0
  68. data/lib/textpow/syntax/source.json.syntax +136 -0
  69. data/lib/textpow/syntax/source.lex.syntax +219 -0
  70. data/lib/textpow/syntax/source.lighttpd-config.syntax +54 -0
  71. data/lib/textpow/syntax/source.lilypond.syntax +492 -0
  72. data/lib/textpow/syntax/source.lisp.syntax +61 -0
  73. data/lib/textpow/syntax/source.logo.syntax +29 -0
  74. data/lib/textpow/syntax/source.logtalk.syntax +152 -0
  75. data/lib/textpow/syntax/source.lua.syntax +86 -0
  76. data/lib/textpow/syntax/source.makefile.syntax +36 -0
  77. data/lib/textpow/syntax/source.matlab.syntax +142 -0
  78. data/lib/textpow/syntax/source.mel.syntax +92 -0
  79. data/lib/textpow/syntax/source.mips.syntax +66 -0
  80. data/lib/textpow/syntax/source.ml.syntax +121 -0
  81. data/lib/textpow/syntax/source.modula-3.syntax +47 -0
  82. data/lib/textpow/syntax/source.nant-build.syntax +53 -0
  83. data/lib/textpow/syntax/source.objc++.syntax +18 -0
  84. data/lib/textpow/syntax/source.objc.syntax +233 -0
  85. data/lib/textpow/syntax/source.ocaml.syntax +764 -0
  86. data/lib/textpow/syntax/source.ocamllex.syntax +167 -0
  87. data/lib/textpow/syntax/source.ocamlyacc.syntax +184 -0
  88. data/lib/textpow/syntax/source.open-gl.syntax +14 -0
  89. data/lib/textpow/syntax/source.pascal.syntax +77 -0
  90. data/lib/textpow/syntax/source.pascal.vectorscript.syntax +57 -0
  91. data/lib/textpow/syntax/source.perl.syntax +1113 -0
  92. data/lib/textpow/syntax/source.php.cake.syntax +55 -0
  93. data/lib/textpow/syntax/source.plist.tm-grammar.syntax +708 -0
  94. data/lib/textpow/syntax/source.postscript.syntax +114 -0
  95. data/lib/textpow/syntax/source.processing.syntax +106 -0
  96. data/lib/textpow/syntax/source.prolog.syntax +40 -0
  97. data/lib/textpow/syntax/source.python.django.syntax +21 -0
  98. data/lib/textpow/syntax/source.python.syntax +868 -0
  99. data/lib/textpow/syntax/source.qmake.syntax +114 -0
  100. data/lib/textpow/syntax/source.quake-config.syntax +32 -0
  101. data/lib/textpow/syntax/source.r-console.syntax +16 -0
  102. data/lib/textpow/syntax/source.r.syntax +81 -0
  103. data/lib/textpow/syntax/source.regexp.oniguruma.syntax +107 -0
  104. data/lib/textpow/syntax/source.regexp.python.syntax +109 -0
  105. data/lib/textpow/syntax/source.regexp.syntax +50 -0
  106. data/lib/textpow/syntax/source.remind.syntax +253 -0
  107. data/lib/textpow/syntax/source.rez.syntax +80 -0
  108. data/lib/textpow/syntax/source.ruby.experimental.syntax +145 -0
  109. data/lib/textpow/syntax/source.ruby.rails.syntax +88 -0
  110. data/lib/textpow/syntax/source.ruby.syntax +1035 -0
  111. data/lib/textpow/syntax/source.s5.syntax +69 -0
  112. data/lib/textpow/syntax/source.sass.syntax +45 -0
  113. data/lib/textpow/syntax/source.scheme.syntax +347 -0
  114. data/lib/textpow/syntax/source.scilab.syntax +41 -0
  115. data/lib/textpow/syntax/source.scss.syntax +527 -0
  116. data/lib/textpow/syntax/source.shell.syntax +384 -0
  117. data/lib/textpow/syntax/source.slate.syntax +149 -0
  118. data/lib/textpow/syntax/source.smarty.syntax +63 -0
  119. data/lib/textpow/syntax/source.sql.ruby.syntax +18 -0
  120. data/lib/textpow/syntax/source.sql.syntax +237 -0
  121. data/lib/textpow/syntax/source.ssh-config.syntax +33 -0
  122. data/lib/textpow/syntax/source.strings.syntax +39 -0
  123. data/lib/textpow/syntax/source.swig.syntax +57 -0
  124. data/lib/textpow/syntax/source.tcl.macports.syntax +163 -0
  125. data/lib/textpow/syntax/source.tcl.syntax +152 -0
  126. data/lib/textpow/syntax/source.yaml.syntax +160 -0
  127. data/lib/textpow/syntax/text.active4d-ini.syntax +50 -0
  128. data/lib/textpow/syntax/text.bbcode.syntax +287 -0
  129. data/lib/textpow/syntax/text.bibtex.syntax +151 -0
  130. data/lib/textpow/syntax/text.blog.html.syntax +41 -0
  131. data/lib/textpow/syntax/text.blog.markdown.syntax +42 -0
  132. data/lib/textpow/syntax/text.blog.syntax +27 -0
  133. data/lib/textpow/syntax/text.blog.textile.syntax +27 -0
  134. data/lib/textpow/syntax/text.gtdalt.syntax +143 -0
  135. data/lib/textpow/syntax/text.haml.syntax +88 -0
  136. data/lib/textpow/syntax/text.html.asp.net.syntax +424 -0
  137. data/lib/textpow/syntax/text.html.asp.syntax +27 -0
  138. data/lib/textpow/syntax/text.html.basic.syntax +362 -0
  139. data/lib/textpow/syntax/text.html.cfm.syntax +119 -0
  140. data/lib/textpow/syntax/text.html.django.syntax +36 -0
  141. data/lib/textpow/syntax/text.html.dokuwiki.syntax +204 -0
  142. data/lib/textpow/syntax/text.html.doxygen.syntax +43 -0
  143. data/lib/textpow/syntax/text.html.markdown.multimarkdown.syntax +39 -0
  144. data/lib/textpow/syntax/text.html.mason.syntax +119 -0
  145. data/lib/textpow/syntax/text.html.mediawiki.syntax +567 -0
  146. data/lib/textpow/syntax/text.html.mt.syntax +162 -0
  147. data/lib/textpow/syntax/text.html.ruby.syntax +40 -0
  148. data/lib/textpow/syntax/text.html.strict.active4d.syntax +311 -0
  149. data/lib/textpow/syntax/text.html.tcl.syntax +26 -0
  150. data/lib/textpow/syntax/text.html.textile.syntax +215 -0
  151. data/lib/textpow/syntax/text.html.tt.syntax +121 -0
  152. data/lib/textpow/syntax/text.html.twiki.syntax +241 -0
  153. data/lib/textpow/syntax/text.html.xhtml.1-strict.syntax +4027 -0
  154. data/lib/textpow/syntax/text.log.latex.syntax +50 -0
  155. data/lib/textpow/syntax/text.mail.markdown.syntax +118 -0
  156. data/lib/textpow/syntax/text.man.syntax +17 -0
  157. data/lib/textpow/syntax/text.moinmoin.syntax +189 -0
  158. data/lib/textpow/syntax/text.plain.gtd.syntax +22 -0
  159. data/lib/textpow/syntax/text.plain.release-notes.syntax +46 -0
  160. data/lib/textpow/syntax/text.plain.syntax +32 -0
  161. data/lib/textpow/syntax/text.plist.syntax +635 -0
  162. data/lib/textpow/syntax/text.pmwiki.syntax +113 -0
  163. data/lib/textpow/syntax/text.restructuredtext.syntax +250 -0
  164. data/lib/textpow/syntax/text.setext.syntax +147 -0
  165. data/lib/textpow/syntax/text.subversion-commit.syntax +36 -0
  166. data/lib/textpow/syntax/text.tabular.csv.syntax +68 -0
  167. data/lib/textpow/syntax/text.tabular.tsv.syntax +50 -0
  168. data/lib/textpow/syntax/text.tex.latex.beamer.syntax +41 -0
  169. data/lib/textpow/syntax/text.tex.latex.haskell.syntax +24 -0
  170. data/lib/textpow/syntax/text.tex.latex.memoir.syntax +64 -0
  171. data/lib/textpow/syntax/text.tex.latex.rd.syntax +91 -0
  172. data/lib/textpow/syntax/text.tex.latex.sweave.syntax +84 -0
  173. data/lib/textpow/syntax/text.tex.latex.syntax +566 -0
  174. data/lib/textpow/syntax/text.tex.math.syntax +49 -0
  175. data/lib/textpow/syntax/text.tex.syntax +86 -0
  176. data/lib/textpow/syntax/text.txt2tags.syntax +79 -0
  177. data/lib/textpow/syntax/text.xml.apple-dist.syntax +77 -0
  178. data/lib/textpow/syntax/text.xml.strict.syntax +92 -0
  179. data/lib/textpow/syntax/text.xml.syntax +180 -0
  180. data/lib/textpow/syntax/text.xml.xsl.syntax +60 -0
  181. data/lib/textpow/version.rb +3 -0
  182. data/spec/fixtures/objeck.plist +107 -0
  183. data/spec/fixtures/utf8.txt +1 -0
  184. data/spec/spec_helper.rb +2 -0
  185. data/spec/textpow/score_manager_spec.rb +20 -0
  186. data/spec/textpow/syntax_files_spec.rb +26 -0
  187. data/spec/textpow/syntax_spec.rb +225 -0
  188. data/spec/textpow_spec.rb +57 -0
  189. data/textpow.gemspec +19 -0
  190. metadata +246 -68
  191. data/Manifest.txt +0 -13
  192. data/mm/manual.mm +0 -266
  193. data/test/test_textpow.rb +0 -25
@@ -0,0 +1,167 @@
1
+ ---
2
+ name: OCamllex
3
+ fileTypes:
4
+ - mll
5
+ scopeName: source.ocamllex
6
+ repository:
7
+ actions:
8
+ patterns:
9
+ - name: meta.action.ocamllex
10
+ endCaptures:
11
+ "1":
12
+ name: punctuation.definition.action.end.ocamllex
13
+ begin: "[^\\']({)"
14
+ beginCaptures:
15
+ "1":
16
+ name: punctuation.definition.action.begin.ocamllex
17
+ end: (})
18
+ patterns:
19
+ - include: source.ocaml
20
+ comments:
21
+ patterns:
22
+ - name: comment.block.ocaml
23
+ captures:
24
+ "1":
25
+ name: comment.block.empty.ocaml
26
+ "2":
27
+ name: comment.block.empty.ocaml
28
+ match: \(\*(?:(\*)| ( )\*)\)
29
+ - name: comment.block.ocaml
30
+ begin: \(\*
31
+ end: \*\)
32
+ patterns:
33
+ - include: "#comments"
34
+ - name: comment.block.string.quoted.double.ocaml
35
+ begin: (?=[^\\])(")
36
+ end: "\""
37
+ patterns:
38
+ - name: comment.block.string.constant.character.escape.ocaml
39
+ match: \\(x[a-fA-F0-9][a-fA-F0-9]|[0-2]\d\d|[bnrt'"\\])
40
+ match-patterns:
41
+ patterns:
42
+ - name: meta.pattern.sub-pattern.ocamllex
43
+ endCaptures:
44
+ "1":
45
+ name: punctuation.definition.sub-pattern.end.ocamllex
46
+ begin: (\()
47
+ beginCaptures:
48
+ "1":
49
+ name: punctuation.definition.sub-pattern.begin.ocamllex
50
+ end: (\))
51
+ patterns:
52
+ - include: "#match-patterns"
53
+ - name: entity.name.type.pattern.reference.stupid-goddamn-hack.ocamllex
54
+ match: "[a-z][a-zA-Z0-9'_]"
55
+ - name: keyword.other.pattern.ocamllex
56
+ match: \bas\b
57
+ - name: constant.language.eof.ocamllex
58
+ match: eof
59
+ - name: constant.language.universal-match.ocamllex
60
+ match: _
61
+ - name: meta.pattern.character-class.ocamllex
62
+ endCaptures:
63
+ "1":
64
+ name: punctuation.definition.character-class.end.ocamllex
65
+ begin: (\[)(\^?)
66
+ beginCaptures:
67
+ "1":
68
+ name: punctuation.definition.character-class.begin.ocamllex
69
+ "2":
70
+ name: punctuation.definition.character-class.negation.ocamllex
71
+ end: (])(?!\')
72
+ patterns:
73
+ - name: punctuation.separator.character-class.range.ocamllex
74
+ match: "-"
75
+ - include: "#chars"
76
+ - name: keyword.operator.pattern.modifier.ocamllex
77
+ match: \*|\+|\?
78
+ - name: keyword.operator.pattern.alternation.ocamllex
79
+ match: \|
80
+ - include: "#chars"
81
+ - include: "#strings"
82
+ strings:
83
+ patterns:
84
+ - name: string.quoted.double.ocamllex
85
+ endCaptures:
86
+ "1":
87
+ name: punctuation.definition.string.end.ocaml
88
+ begin: (?=[^\\])(")
89
+ beginCaptures:
90
+ "1":
91
+ name: punctuation.definition.string.begin.ocaml
92
+ end: (")
93
+ patterns:
94
+ - name: punctuation.separator.string.ignore-eol.ocaml
95
+ match: \\$[ \t]*
96
+ - name: constant.character.string.escape.ocaml
97
+ match: \\(x[a-fA-F0-9][a-fA-F0-9]|[0-2]\d\d|[bnrt'"\\])
98
+ - name: constant.character.regexp.escape.ocaml
99
+ match: \\[\|\(\)1-9$^.*+?\[\]]
100
+ - name: invalid.illegal.character.string.escape
101
+ match: \\(?!(x[a-fA-F0-9][a-fA-F0-9]|[0-2]\d\d|[bnrt'"\\]|[\|\(\)1-9$^.*+?\[\]]|$[ \t]*))(?:.)
102
+ chars:
103
+ patterns:
104
+ - name: constant.character.ocamllex
105
+ captures:
106
+ "1":
107
+ name: punctuation.definition.char.begin.ocamllex
108
+ "4":
109
+ name: punctuation.definition.char.end.ocamllex
110
+ match: (')([^\\]|\\(x[a-fA-F0-9][a-fA-F0-9]|[0-2]\d\d|[bnrt'"\\]))(')
111
+ uuid: 007E5263-8E0D-4BEF-B0E1-F01AE32590E8
112
+ foldingStartMarker: "{"
113
+ patterns:
114
+ - name: meta.embedded.ocaml
115
+ endCaptures:
116
+ "1":
117
+ name: punctuation.section.embedded.ocaml.end.ocamllex
118
+ begin: ^\s*({)
119
+ beginCaptures:
120
+ "1":
121
+ name: punctuation.section.embedded.ocaml.begin.ocamllex
122
+ end: ^\s*(})
123
+ patterns:
124
+ - include: source.ocaml
125
+ - name: meta.pattern-definition.ocaml
126
+ begin: \b(let)\s+([a-z][a-zA-Z0-9'_]*)\s+=
127
+ beginCaptures:
128
+ "1":
129
+ name: keyword.other.pattern-definition.ocamllex
130
+ "2":
131
+ name: entity.name.type.pattern.stupid-goddamn-hack.ocamllex
132
+ end: ^(?:\s*let)|(?:\s*(rule|$))
133
+ patterns:
134
+ - include: "#match-patterns"
135
+ - name: meta.pattern-match.ocaml
136
+ endCaptures:
137
+ "3":
138
+ name: keyword.other.entry-definition.ocamllex
139
+ begin: (rule|and)\s+([a-z][a-zA-Z0-9_]*)\s+(=)\s+(parse)(?=\s*$)|((?<!\|)(\|)(?!\|))
140
+ beginCaptures:
141
+ "1":
142
+ name: keyword.other.ocamllex
143
+ "2":
144
+ name: entity.name.function.entrypoint.ocamllex
145
+ "3":
146
+ name: keyword.operator.ocamllex
147
+ "4":
148
+ name: keyword.other.ocamllex
149
+ "5":
150
+ name: punctuation.separator.match-pattern.ocamllex
151
+ end: (?:^\s*((and)\b|(?=\|)|$))
152
+ patterns:
153
+ - include: "#match-patterns"
154
+ - include: "#actions"
155
+ - include: "#strings"
156
+ - include: "#comments"
157
+ - name: keyword.operator.symbol.ocamllex
158
+ match: "="
159
+ - name: meta.paren-group.ocamllex
160
+ begin: \(
161
+ end: \)
162
+ patterns:
163
+ - include: $self
164
+ - name: invalid.illegal.unrecognized-character.ocamllex
165
+ match: "(\xE2\x80\x99|\xE2\x80\x98|\xE2\x80\x9C|\xE2\x80\x9D)"
166
+ foldingStopMarker: "}"
167
+ keyEquivalent: ^~O
@@ -0,0 +1,184 @@
1
+ ---
2
+ name: OCamlyacc
3
+ fileTypes:
4
+ - mly
5
+ scopeName: source.ocamlyacc
6
+ repository:
7
+ declaration-matches:
8
+ patterns:
9
+ - name: meta.token.declaration.ocamlyacc
10
+ begin: (%)(token)
11
+ beginCaptures:
12
+ "1":
13
+ name: keyword.other.decorator.token.ocamlyacc
14
+ "2":
15
+ name: keyword.other.token.ocamlyacc
16
+ end: ^\s*($|(^\s*(?=%)))
17
+ patterns:
18
+ - include: "#symbol-types"
19
+ - name: entity.name.type.token.ocamlyacc
20
+ match: "[A-Z][A-Za-z0-9_]*"
21
+ - include: "#comments"
22
+ - name: meta.token.associativity.ocamlyacc
23
+ begin: (%)(left|right|nonassoc)
24
+ beginCaptures:
25
+ "1":
26
+ name: keyword.other.decorator.token.associativity.ocamlyacc
27
+ "2":
28
+ name: keyword.other.token.associativity.ocamlyacc
29
+ end: (^\s*$)|(^\s*(?=%))
30
+ patterns:
31
+ - name: entity.name.type.token.ocamlyacc
32
+ match: "[A-Z][A-Za-z0-9_]*"
33
+ - name: entity.name.function.non-terminal.reference.ocamlyacc
34
+ match: "[a-z][A-Za-z0-9_]*"
35
+ - include: "#comments"
36
+ - name: meta.start-symbol.ocamlyacc
37
+ begin: (%)(start)
38
+ beginCaptures:
39
+ "1":
40
+ name: keyword.other.decorator.start-symbol.ocamlyacc
41
+ "2":
42
+ name: keyword.other.start-symbol.ocamlyacc
43
+ end: (^\s*$)|(^\s*(?=%))
44
+ patterns:
45
+ - name: entity.name.function.non-terminal.reference.ocamlyacc
46
+ match: "[a-z][A-Za-z0-9_]*"
47
+ - include: "#comments"
48
+ - name: meta.symbol-type.ocamlyacc
49
+ begin: (%)(type)
50
+ beginCaptures:
51
+ "1":
52
+ name: keyword.other.decorator.symbol-type.ocamlyacc
53
+ "2":
54
+ name: keyword.other.symbol-type.ocamlyacc
55
+ end: $\s*(?!%)
56
+ patterns:
57
+ - include: "#symbol-types"
58
+ - name: entity.name.type.token.reference.ocamlyacc
59
+ match: "[A-Z][A-Za-z0-9_]*"
60
+ - name: entity.name.function.non-terminal.reference.ocamlyacc
61
+ match: "[a-z][A-Za-z0-9_]*"
62
+ - include: "#comments"
63
+ references:
64
+ patterns:
65
+ - name: entity.name.function.non-terminal.reference.ocamlyacc
66
+ match: "[a-z][a-zA-Z0-9_]*"
67
+ - name: entity.name.type.token.reference.ocamlyacc
68
+ match: "[A-Z][a-zA-Z0-9_]*"
69
+ precs:
70
+ patterns:
71
+ - name: meta.precidence.declaration
72
+ captures:
73
+ "1":
74
+ name: keyword.other.decorator.precedence.ocamlyacc
75
+ "2":
76
+ name: keyword.other.precedence.ocamlyacc
77
+ "4":
78
+ name: entity.name.function.non-terminal.reference.ocamlyacc
79
+ "5":
80
+ name: entity.name.type.token.reference.ocamlyacc
81
+ match: (%)(prec)\s+(([a-z][a-zA-Z0-9_]*)|(([A-Z][a-zA-Z0-9_]*)))
82
+ comments:
83
+ patterns:
84
+ - name: comment.block.ocamlyacc
85
+ begin: /\*
86
+ end: \*/
87
+ patterns:
88
+ - include: "#comments"
89
+ - name: comment.block.string.quoted.double.ocamlyacc
90
+ begin: (?=[^\\])(")
91
+ end: "\""
92
+ patterns:
93
+ - name: comment.block.string.constant.character.escape.ocamlyacc
94
+ match: \\(x[a-fA-F0-9][a-fA-F0-9]|[0-2]\d\d|[bnrt'"\\])
95
+ semantic-actions:
96
+ patterns:
97
+ - name: meta.action.semantic.ocamlyacc
98
+ endCaptures:
99
+ "1":
100
+ name: punctuation.definition.action.semantic.ocamlyacc
101
+ begin: "[^\\']({)"
102
+ beginCaptures:
103
+ "1":
104
+ name: punctuation.definition.action.semantic.ocamlyacc
105
+ end: (})
106
+ patterns:
107
+ - include: source.ocaml
108
+ rules:
109
+ patterns:
110
+ - name: meta.non-terminal.ocamlyacc
111
+ endCaptures:
112
+ "0":
113
+ name: punctuation.separator.rule.ocamlyacc
114
+ begin: "[a-z][a-zA-Z_]*"
115
+ beginCaptures:
116
+ "0":
117
+ name: entity.name.function.non-terminal.ocamlyacc
118
+ end: ;
119
+ patterns:
120
+ - include: "#rule-patterns"
121
+ symbol-types:
122
+ patterns:
123
+ - name: meta.token.type-declaration.ocamlyacc
124
+ endCaptures:
125
+ "0":
126
+ name: punctuation.definition.type-declaration.end.ocamlyacc
127
+ begin: <
128
+ beginCaptures:
129
+ "0":
130
+ name: punctuation.definition.type-declaration.begin.ocamlyacc
131
+ end: ">"
132
+ patterns:
133
+ - include: source.ocaml
134
+ rule-patterns:
135
+ patterns:
136
+ - name: meta.rule-match.ocaml
137
+ begin: ((?<!\||:)(\||:)(?!\||:))
138
+ beginCaptures:
139
+ "0":
140
+ name: punctuation.separator.rule.ocamlyacc
141
+ end: \s*(?=\||;)
142
+ patterns:
143
+ - include: "#precs"
144
+ - include: "#semantic-actions"
145
+ - include: "#references"
146
+ - include: "#comments"
147
+ uuid: 1B59327E-9B82-4B78-9411-BC02067DBDF9
148
+ foldingStartMarker: "%{|%%"
149
+ patterns:
150
+ - name: meta.header.ocamlyacc
151
+ endCaptures:
152
+ "1":
153
+ name: punctuation.section.header.end.ocamlyacc
154
+ begin: (%{)\s*$
155
+ beginCaptures:
156
+ "1":
157
+ name: punctuation.section.header.begin.ocamlyacc
158
+ end: ^\s*(%})
159
+ patterns:
160
+ - include: source.ocaml
161
+ - name: meta.declarations.ocamlyacc
162
+ begin: (?<=%})\s*$
163
+ end: (?:^)(?=%%)
164
+ patterns:
165
+ - include: "#comments"
166
+ - include: "#declaration-matches"
167
+ - name: meta.rules.ocamlyacc
168
+ endCaptures:
169
+ "1":
170
+ name: punctuation.section.rules.end.ocamlyacc
171
+ begin: (%%)\s*$
172
+ beginCaptures:
173
+ "1":
174
+ name: punctuation.section.rules.begin.ocamlyacc
175
+ end: ^\s*(%%)
176
+ patterns:
177
+ - include: "#comments"
178
+ - include: "#rules"
179
+ - include: source.ocaml
180
+ - include: "#comments"
181
+ - name: invalid.illegal.unrecognized-character.ocaml
182
+ match: "(\xE2\x80\x99|\xE2\x80\x98|\xE2\x80\x9C|\xE2\x80\x9D)"
183
+ foldingStopMarker: "%}|%%"
184
+ keyEquivalent: ^~O
@@ -0,0 +1,14 @@
1
+ ---
2
+ name: OpenGL
3
+ scopeName: source.open-gl
4
+ uuid: D5C78F2A-43D6-4598-BB92-1761EDF2C768
5
+ patterns:
6
+ - name: support.type.open-gl
7
+ match: \b(GL(u?int(ptr)?|float|enum|boolean|bitfield|u?byte|u?short|sizei(ptr)?|clamp[fd]|double|void|char))\b
8
+ - name: support.constant.open-gl
9
+ match: \b(GL(_(R(GB(_SCALE(_(EXT|ARB))?|A(_(MODE|UNSIGNED_DOT_PRODUCT_MAPPING_NV))?)?|IGHT|E(GISTER_COMBINERS_NV|S(CALE_NORMAL(_EXT)?|TART_SUN|AMPLE_(REPLICATE_SGIX|ZERO_FILL_SGIX|DECIMATE_SGIX))|NDER(_MODE|ER)?|CLAIM_MEMORY_HINT_PGI|TURN|D(_(M(IN_CLAMP_INGR|AX_CLAMP_INGR)|BI(T(S|_EXT)|AS)|SCALE)|UCE(_EXT)?)?|P(EAT|L(ICATE_BORDER(_HP)?|ACE(MENT_CODE_(SUN|ARRAY_(S(TRIDE_SUN|UN)|TYPE_SUN|POINTER_SUN))|_(MIDDLE_SUN|OLDEST_SUN|EXT))?))|F(ERENCE_PLANE_(SGIX|EQUATION_SGIX)|LECTION_MAP(_(NV|EXT|ARB))?)|AD_(BUFFER|ONLY(_ARB)?|WRITE(_ARB)?))|ASTER_POSITION_UNCLIPPED_IBM)?|G(RE(EN(_(M(IN_CLAMP_INGR|AX_CLAMP_INGR)|BI(T(S|_EXT)|AS)|SCALE))?|ATER)|E(NERATE_MIPMAP(_(SGIS|HINT(_SGIS)?))?|OMETRY_DEFORMATION_SGIX|QUAL)|L(OBAL_ALPHA_(SUN|FACTOR_SUN)|EXT_(VERSION|FUNCTION_POINTERS|LEGACY)))|X(_EXT|OR)|M(I(RROR(_CLAMP_(TO_(BORDER_EXT|EDGE_(EXT|ATI))|EXT|ATI)|ED_REPEAT(_ARB)?)|N(MAX(_(SINK(_EXT)?|EXT|FORMAT(_EXT)?))?|_(PBUFFER_VIEWPORT_DIMS_APPLE|EXT|WEIGHTED_ATI))?)|O(D(ULATE(_(S(IGNED_ADD_ATI|UBTRACT_ATI)|ADD_ATI))?|ELVIEW(_(MATRIX|STACK_DEPTH|PROJECTION_NV))?)|V_EXT)|UL(_EXT|T(ISAMPLE(_(BIT(_ARB)?|SGIS|EXT|FILTER_HINT_NV|ARB))?)?)|VP_MATRIX_EXT|A(GNITUDE_(BIAS_NV|SCALE_NV)|X(_(RECTANGLE_TEXTURE_SIZE_(EXT|ARB)|GENERAL_COMBINERS_NV|MODELVIEW_STACK_DEPTH|S(HININESS_NV|POT_EXPONENT_NV)|NAME_STACK_DEPTH|C(O(MBINED_TEXTURE_IMAGE_UNITS(_ARB)?|NVOLUTION_(HEIGHT(_EXT)?|WIDTH(_EXT)?)|LOR_MATRIX_STACK_DEPTH(_SGI)?)|UBE_MAP_TEXTURE_SIZE(_(EXT|ARB))?|LI(P(MAP_(DEPTH_SGIX|VIRTUAL_DEPTH_SGIX)|_PLANES)|ENT_ATTRIB_STACK_DEPTH))|T(RACK_MATRI(X_STACK_DEPTH_NV|CES_NV)|EXTURE_(MAX_ANISOTROPY_EXT|S(TACK_DEPTH|IZE)|COORDS(_ARB)?|IMAGE_UNITS(_ARB)?|UNITS(_ARB)?|LOD_BIAS(_EXT)?))|OPTIMIZED_VERTEX_SHADER_(IN(STRUCTIONS_EXT|VARIANTS_EXT)|VARIANTS_EXT|LOCAL(S_EXT|_CONSTANTS_EXT))|D(RAW_BUFFERS(_ARB)?|EFORMATION_ORDER_SGIX)|P(RO(GRAM_(MATRI(X_STACK_DEPTH_ARB|CES_ARB)|NATIVE_(TE(X_IN(STRUCTIONS_ARB|DIRECTIONS_ARB)|MPORARIES_ARB)|INSTRUCTIONS_ARB|PARAMETERS_ARB|A(TTRIBS_ARB|DDRESS_REGISTERS_ARB|LU_INSTRUCTIONS_ARB))|TE(X_IN(STRUCTIONS_ARB|DIRECTIONS_ARB)|MPORARIES_ARB)|INSTRUCTIONS_ARB|PARAMETERS_ARB|ENV_PARAMETERS_ARB|LOCAL_PARAMETERS_ARB|A(TTRIBS_ARB|DDRESS_REGISTERS_ARB|LU_INSTRUCTIONS_ARB))|JECTION_STACK_DEPTH)|N_TRIANGLES_TESSELATION_LEVEL_ATI(X)?|IXEL_MAP_TABLE)|E(XT|VAL_ORDER|LEMENTS_(INDICES(_EXT)?|VERTICES(_EXT)?))|V(IEWPORT_DIMS|ERTEX_(SHADER_(IN(STRUCTIONS_EXT|VARIANTS_EXT)|VARIANTS_EXT|LOCAL(S_EXT|_CONSTANTS_EXT))|HINT_PGI|TEXTURE_IMAGE_UNITS(_ARB)?|UNI(TS_ARB|FORM_COMPONENTS(_ARB)?)|A(RRAY_RANGE_ELEMENT_(NV|APPLE)|TTRIBS(_ARB)?))|ARYING_FLOATS(_ARB)?)|F(RA(GMENT_(UNIFORM_COMPONENTS(_ARB)?|LIGHTS_SGIX)|MEZOOM_FACTOR_SGIX)|OG_FUNC_POINTS_SGIS)|WEIGHTED_ATI|LI(GHTS|ST_NESTING)|A(SYNC_(READ_PIXELS_SGIX|HISTOGRAM_SGIX|TEX_IMAGE_SGIX|DRAW_PIXELS_SGIX)|CTIVE_LIGHTS_SGIX|TTRIB_STACK_DEPTH)))?|T(RIX_(MODE|EXT)|_(S(HININESS_BIT_PGI|PECULAR_BIT_PGI)|COLOR_INDEXES_BIT_PGI|DIFFUSE_BIT_PGI|EMISSION_BIT_PGI|AMBIENT_(BIT_PGI|AND_DIFFUSE_BIT_PGI))|ERIAL_SIDE_HINT_PGI)|D_EXT|P_(STENCIL|COLOR)))|B(GR(_EXT|A(_EXT)?)?|YTE|I(NORMAL_ARRAY_(STRIDE_EXT|TYPE_EXT|POINTER_EXT|EXT)|TMAP(_TOKEN)?|AS_B(Y_NEGATIVE_ONE_HALF_NV|IT_EXT))|OOL(_ARB)?|UFFER_(MAP(_POINTER(_ARB)?|PED(_ARB)?)|SIZE(_ARB)?|OBJECT_APPLE|USAGE(_ARB)?|ACCESS(_ARB)?)|L(UE(_(M(IN_CLAMP_INGR|AX_CLAMP_INGR)|BI(T(S|_EXT)|AS)|SCALE))?|END(_(SRC(_(RGB(_EXT)?|ALPHA(_EXT)?))?|COLOR(_EXT)?|DST(_(RGB(_EXT)?|ALPHA(_EXT)?))?|EQUATION(_(RGB_EXT|EXT|ALPHA_EXT))?))?)|ACK(_(RIGHT|NORMALS_HINT_PGI|LEFT))?)|S(RC_(COLOR|ALPHA(_SATURATE)?)|MOOTH(_(POINT_SIZE_(RANGE|GRANULARITY)|LINE_WIDTH_(RANGE|GRANULARITY)))?|H(ININESS|ORT|A(R(PEN_TEXTURE_FUNC_POINTS_SGIS|ED_TEXTURE_PALETTE_EXT)|D(ING_LANGUAGE_VERSION|OW_ATTENUATION_EXT|E(R_(SOURCE_LENGTH|CONSISTENT_NV|TYPE|O(BJECT_ARB|PERATION_NV))|_MODEL))))|C(REEN_COORDINATES_REND|ISSOR_(B(IT|OX)|TEST)|AL(E_BY_(TWO_NV|ONE_HALF_NV|FOUR_NV)|AR_EXT))|T(R(ICT_(SCISSOR_HINT_PGI|DEPTHFUNC_HINT_PGI|LIGHTING_HINT_PGI)|EAM_(READ(_ARB)?|COPY(_ARB)?|DRAW(_ARB)?))|ORAGE_(SHARED_APPLE|C(LIENT_APPLE|ACHED_APPLE)|PRIVATE_APPLE)|E(REO|NCIL(_(REF|B(ITS|UFFER_BIT|ACK_(REF|PASS_DEPTH_(PASS(_ATI)?|FAIL(_ATI)?)|VALUE_MASK|F(UNC(_ATI)?|AIL(_ATI)?)|WRITEMASK))|CLEAR_VALUE|TEST(_TWO_SIDE_EXT)?|INDEX|PASS_DEPTH_(PASS|FAIL)|VALUE_MASK|F(UNC|AIL)|WRITEMASK))?)|A(CK_(OVERFLOW|UNDERFLOW)|TIC_(READ(_ARB)?|COPY(_ARB)?|DRAW(_ARB)?)))|I(GNED_(RGB(_(NV|UNSIGNED_ALPHA_NV)|A_NV)|HILO_NV|NEGATE_NV|I(NTENSITY_NV|DENTITY_NV)|LUMINANCE_(NV|ALPHA_NV)|ALPHA_NV)|NGLE_COLOR(_EXT)?)|UB(_EXT|TRACT(_ARB)?|PIXEL_BITS)|P(RITE_(MODE_SGIX|SGIX|TRANSLATION_SGIX|OBJECT_ALIGNED_SGIX|EYE_ALIGNED_SGIX|AXI(S_SGIX|AL_SGIX))|HERE_MAP|OT_(CUTOFF|DIRECTION|EXPONENT)|ECULAR)|E(CONDARY_(COLOR_(NV|ARRAY(_(BUFFER_BINDING(_ARB)?|S(TRIDE(_EXT)?|IZE(_EXT)?)|TYPE(_EXT)?|POINTER(_EXT)?|EXT|LIST_(STRIDE_IBM|IBM)))?)|INTERPOLATOR_EXT)|T|PARATE_SPECULAR_COLOR(_EXT)?|LECT(ION_BUFFER_(SIZE|POINTER))?)|WIZZLE_ST(R(_(DR_EXT|EXT)|Q_(DQ_EXT|EXT))|Q_(DQ_EXT|EXT))|A(MPLE(R_CUBE(_ARB)?|S(_(SGIS|PASSED(_ARB)?|EXT|ARB))?|_(MASK_(SGIS|INVERT_(SGIS|EXT)|EXT|VALUE_(SGIS|EXT))|BUFFERS(_(SGIS|EXT|ARB))?|COVERAGE(_(INVERT(_ARB)?|VALUE(_ARB)?|ARB))?|PATTERN_(SGIS|EXT)|ALPHA_TO_(MASK_(SGIS|EXT)|COVERAGE(_ARB)?|ONE(_(SGIS|EXT|ARB))?)))|TURATE_BIT_EXT))?|H(I(STOGRAM(_(RED_SIZE(_EXT)?|GREEN_SIZE(_EXT)?|BLUE_SIZE(_EXT)?|SINK(_EXT)?|EXT|FORMAT(_EXT)?|WIDTH(_EXT)?|LUMINANCE_SIZE(_EXT)?|ALPHA_SIZE(_EXT)?))?|NT_BIT|_(BIAS_NV|SCALE_NV)|LO_NV)|ALF_(BI(T_EXT|AS_N(ORMAL_NV|EGATE_NV))|APPLE))|Y(CRCB(_SGIX|A_SGIX)|_EXT)|N(ICEST|O(R(MAL(_(MAP(_(NV|EXT|ARB))?|BIT_PGI|ARRAY(_(BUFFER_BINDING(_ARB)?|STRIDE(_EXT)?|COUNT_EXT|TYPE(_EXT)?|P(OINTER(_EXT)?|ARALLEL_POINTERS_INTEL)|EXT|LIST_(STRIDE_IBM|IBM)))?)|IZE(D_RANGE_EXT)?))?|NE|_ERROR|TEQUAL|OP)|UM_(GENERAL_COMBINERS_NV|COMPRESSED_TEXTURE_FORMATS(_ARB)?|IN(STRUCTIONS_(TOTAL_EXT|PER_PASS_EXT)|PUT_INTERPOLATOR_COMPONENTS_EXT)|PASSES_EXT|FRAGMENT_(REGISTERS_EXT|CONSTANTS_EXT)|LOOPBACK_COMPONENTS_EXT)|E(GAT(IVE_(X_EXT|Y_EXT|Z_EXT|ONE_EXT|W_EXT)|E_BIT_EXT)|VER|AREST(_(MIPMAP_(NEAREST|LINEAR)|CLIPMAP_(NEAREST_SGIX|LINEAR_SGIX)))?)|A(ME_STACK_DEPTH|ND|TIVE_GRAPHICS_(BEGIN_HINT_PGI|HANDLE_PGI|END_HINT_PGI)))|C(MYK(_EXT|A_EXT)|ND_EXT|CW|O(M(BINE(R_(M(UX_SUM_NV|APPING_NV)|BIAS_NV|S(CALE_NV|UM_OUTPUT_NV)|C(OMPONENT_USAGE_NV|D_(OUTPUT_NV|DOT_PRODUCT_NV))|INPUT_NV|AB_(OUTPUT_NV|DOT_PRODUCT_NV))|_(RGB(_(EXT|ARB))?|EXT|A(RB|LPHA(_(EXT|ARB))?)))?|P(RESSED_(RGB(_ARB|A(_ARB)?)?|TEXTURE_FORMATS(_ARB)?|INTENSITY(_ARB)?|LUMINANCE(_A(RB|LPHA(_ARB)?))?|ALPHA(_ARB)?)|_BIT_EXT|ILE(_(STATUS|AND_EXECUTE))?|ARE_R_TO_TEXTURE(_ARB)?))|N(S(T(_EYE_NV|ANT(_(BORDER(_HP)?|COLOR(_EXT)?|EXT|A(RB|TTENUATION|LPHA(_EXT)?)))?)|ERVE_MEMORY_HINT_PGI)|VOLUTION_(BORDER_(MODE(_EXT)?|COLOR(_HP)?)|H(INT_SGIX|EIGHT(_EXT)?)|F(ILTER_(BIAS(_EXT)?|SCALE(_EXT)?)|ORMAT(_EXT)?)|WIDTH(_EXT)?))|ORD_REPLACE(_(NV|ARB))?|PY(_(INVERTED|PIXEL_TOKEN))?|EFF|LOR(_(MAT(RIX(_S(GI|TACK_DEPTH(_SGI)?))?|ERIAL(_(PARAMETER|FACE))?)|BUFFER_BIT|SUM(_(CLAMP_NV|EXT|ARB))?|CLEAR_VALUE|TABLE(_(RED_SIZE(_SGI)?|GREEN_SIZE(_SGI)?|B(IAS(_SGI)?|LUE_SIZE(_SGI)?)|S(GI|CALE(_SGI)?)|INTENSITY_SIZE(_SGI)?|FORMAT(_SGI)?|WIDTH(_SGI)?|LUMINANCE_SIZE(_SGI)?|ALPHA_SIZE(_SGI)?))?|INDEX(ES)?|FLOAT_APPLE|WRITEMASK|LOGIC_OP|A(RRAY(_(BUFFER_BINDING(_ARB)?|S(TRIDE(_EXT)?|IZE(_EXT)?)|COUNT_EXT|TYPE(_EXT)?|P(OINTER(_EXT)?|ARALLEL_POINTERS_INTEL)|EXT|LIST_(STRIDE_IBM|IBM)))?|LPHA_PAIRING_EXT)))?)|U(RRENT_(RASTER_(NORMAL_SGIX|COLOR|TEXTURE_COORDS|INDEX|DISTANCE|POSITION(_VALID)?)|MATRIX_(STACK_DEPTH_(NV|ARB)|NV|ARB)|BI(NORMAL_EXT|T)|SECONDARY_COLOR(_EXT)?|NORMAL|COLOR|T(EXTURE_COORDS|ANGENT_EXT)|INDEX|PROGRAM|VERTEX_(EXT|WEIGHT_EXT|ATTRIB(_ARB)?)|QUERY(_ARB)?|FOG_COORD(INATE(_EXT)?)?|WEIGHT_ARB|ATTRIB_NV)|BIC_(HP|EXT)|LL_(MODES_NV|VERTEX_(IBM|OBJECT_POSITION_EXT|E(XT|YE_POSITION_EXT))|F(RAGMENT_NV|ACE(_MODE)?)))|W|L(I(P_(NEAR_HINT_PGI|VOLUME_CLIPPING_HINT_EXT|FAR_HINT_PGI)|ENT_(PIXEL_STORE_BIT|VERTEX_ARRAY_BIT|A(CTIVE_TEXTURE(_ARB)?|TTRIB_STACK_DEPTH|LL_ATTRIB_BITS)))|EAR|AMP(_TO_(BORDER(_(SGIS|ARB))?|EDGE(_SGIS)?))?)|ALLIGRAPHIC_FRAGMENT_SGIX)|T(R(IANGLE(S|_(STRIP|FAN|LIST_SUN))|UE|A(NS(POSE_(MODELVIEW_MATRIX(_ARB)?|NV|C(OLOR_MATRIX(_ARB)?|URRENT_MATRIX_ARB)|TEXTURE_MATRIX(_ARB)?|PROJECTION_MATRIX(_ARB)?)|FORM_(BIT|HINT_APPLE))|CK_MATRIX_(NV|TRANSFORM_NV)))|EXT(_FRAGMENT_SHADER_ATI|URE(_(R(E(SIDENT(_EXT)?|CTANGLE_(EXT|ARB)|D_SIZE(_EXT)?)|ANGE_(POINTER_APPLE|LENGTH_APPLE))|G(REEN_SIZE(_EXT)?|E(N_(R|MODE|S|T|Q)|QUAL_R_SGIX))|M(IN(_(FILTER|LOD(_SGIS)?)|IMIZE_STORAGE_APPLE)|ULTI_BUFFER_HINT_SGIX|A(G_(SIZE_NV|FILTER)|X_(L(OD(_SGIS)?|EVEL(_SGIS)?)|ANISOTROPY_EXT)|T(RIX|ERIAL_(PARAMETER_EXT|FACE_EXT))))|B(I(NDING_(RECTANGLE_(EXT|ARB)|CUBE_MAP(_(EXT|ARB))?)|T)|ORDER(_(COLOR|VALUES_NV))?|LUE_SIZE(_EXT)?|ASE_LEVEL(_SGIS)?)|S(HADER_NV|T(ORAGE_HINT_APPLE|ACK_DEPTH))|H(I_SIZE_NV|EIGHT)|NORMAL_EXT|C(O(MP(RESS(ION_HINT(_ARB)?|ED(_(IMAGE_SIZE(_ARB)?|ARB))?)|ONENTS|ARE_(MODE(_ARB)?|SGIX|OPERATOR_SGIX|F(UNC(_ARB)?|AIL_VALUE_ARB)))|NSTANT_DATA_SUNX|ORD_ARRAY(_(BUFFER_BINDING(_ARB)?|S(TRIDE(_EXT)?|IZE(_EXT)?)|COUNT_EXT|TYPE(_EXT)?|P(OINTER(_EXT)?|ARALLEL_POINTERS_INTEL)|EXT|LIST_(STRIDE_IBM|IBM)))?|LOR_(TABLE_SGI|WRITEMASK_SGIS))|UBE_MAP(_(NEGATIVE_(X(_(EXT|ARB))?|Y(_(EXT|ARB))?|Z(_(EXT|ARB))?)|POSITIVE_(X(_(EXT|ARB))?|Y(_(EXT|ARB))?|Z(_(EXT|ARB))?)|EXT|ARB))?|LIPMAP_(CENTER_SGIX|OFFSET_SGIX|DEPTH_SGIX|VIRTUAL_DEPTH_SGIX|FRAME_SGIX|LOD_OFFSET_SGIX))|TOO_LARGE_EXT|IN(TE(RNAL_FORMAT|NSITY_SIZE(_EXT)?)|DEX_SIZE_EXT)|D(S_SIZE_NV|T_SIZE_NV|E(PTH(_(SIZE(_ARB)?|EXT))?|FORMATION_SGIX))|P(R(IORITY(_EXT)?|E_SPECULAR_HP)|OST_SPECULAR_HP)|ENV(_(MODE|BIAS_SGIX|COLOR))?|FILTER_CONTROL(_EXT)?|W(RAP_(R(_EXT)?|S|T|Q_SGIS)|IDTH)|L(IGHT(_EXT|ING_MODE_HP)|O(_SIZE_NV|D_BIAS(_(R_SGIX|S_SGIX|T_SGIX|EXT))?)|UMINANCE_SIZE(_EXT)?|EQUAL_R_SGIX)|A(PPLICATION_MODE_EXT|LPHA_SIZE(_EXT)?)))?)|A(BLE_TOO_LARGE(_EXT)?|NGENT_ARRAY_(STRIDE_EXT|TYPE_EXT|POINTER_EXT|EXT)))?|I(GNORE_BORDER(_HP)?|MAGE_(ROTATE_(ORIGIN_(X_HP|Y_HP)|ANGLE_HP)|M(IN_FILTER_HP|AG_FILTER_HP)|SCALE_(X_HP|Y_HP)|CUBIC_WEIGHT_HP|TRANSLATE_(X_HP|Y_HP))|N(STRUMENT_(MEASUREMENTS_SGIX|BUFFER_POINTER_SGIX)|CR(_WRAP(_EXT)?)?|T(E(R(POLATE(_(EXT|ARB))?|LACE_(READ_INGR|SGIX))|NSITY(_EXT)?))?|DEX_(M(ODE|ATERIAL_(PARAMETER_EXT|EXT|FACE_EXT))|BIT(S|_PGI)|SHIFT|CLEAR_VALUE|TEST_(REF_EXT|EXT|FUNC_EXT)|OFFSET|WRITEMASK|LOGIC_OP|ARRAY(_(BUFFER_BINDING(_ARB)?|STRIDE(_EXT)?|COUNT_EXT|TYPE(_EXT)?|POINTER(_EXT)?|EXT|LIST_(STRIDE_IBM|IBM)))?)|V(ER(SE_(NV|TRANSPOSE_NV)|T(ED_SCREEN_W_REND)?)|A(RIANT_(DATATYPE_EXT|EXT|VALUE_EXT)|LID_(OPERATION|ENUM|VALUE)))|FO_LOG_LENGTH)|DENTITY_NV)|Z(_EXT|OOM_(X|Y)|ERO)|O(R(_(REVERSE|INVERTED)|DER)?|BJECT_(S(HADER_SOURCE_LENGTH_ARB|UBTYPE_ARB)|COMPILE_STATUS_ARB|TYPE_ARB|INFO_LOG_LENGTH_ARB|D(ISTANCE_TO_(POINT_SGIS|LINE_SGIS)|ELETE_STATUS_ARB)|P(OINT_SGIS|LANE)|VALIDATE_STATUS_ARB|LIN(E(_SGIS|AR)|K_STATUS_ARB)|A(CTIVE_(UNIFORM(S_ARB|_MAX_LENGTH_ARB)|ATTRIBUTE(S_ARB|_MAX_LENGTH_ARB))|TTACHED_OBJECTS_ARB))|NE(_MINUS_(SRC_(COLOR|ALPHA)|CONSTANT_(COLOR(_EXT)?|ALPHA(_EXT)?)|DST_(COLOR|ALPHA)))?|CCLUSION_TEST_(RESULT_HP|HP)|UT(_OF_MEMORY|PUT_(VERTEX_EXT|FOG_EXT))|P_(R(OUND_EXT|ECIP_(SQRT_EXT|EXT))|M(IN_EXT|OV_EXT|UL(_EXT|TIPLY_MATRIX_EXT)|A(X_EXT|DD_EXT))|S(UB_EXT|ET_(GE_EXT|LT_EXT))|NEGATE_EXT|C(ROSS_PRODUCT_EXT|LAMP_EXT)|INDEX_EXT|POWER_EXT|F(RAC_EXT|LOOR_EXT)|ADD_EXT)|FFSET_(HILO_(TEXTURE_RECTANGLE_NV|PROJECTIVE_TEXTURE_RECTANGLE_NV)|TEXTURE_(RECTANGLE_(SCALE_NV|NV)|MATRIX_NV|BIAS_NV|SCALE_NV)|PROJECTIVE_TEXTURE_RECTANGLE_(SCALE_NV|NV)))|D(RAW_(BUFFER|PIXEL(S_APPLE|_TOKEN))|S(_(BIAS_NV|SCALE_NV)|T_(COLOR|ALPHA)|DT_(MAG_(NV|INTENSITY_NV|VIB_NV)|NV))|YNAMIC_(READ(_ARB)?|COPY(_ARB)?|DRAW(_ARB)?)|T_(BIAS_NV|SCALE_NV)|I(S(CARD_NV|TANCE_ATTENUATION_(SGIS|EXT))|THER|FFUSE)|O(MAIN|NT_CARE|T_PRODUCT_(REFLECT_CUBE_MAP_NV|NV|CONST_EYE_REFLECT_CUBE_MAP_NV|TEXTURE_(RECTANGLE_NV|CUBE_MAP_NV)|D(IFFUSE_CUBE_MAP_NV|EPTH_REPLACE_NV)|PASS_THROUGH_NV|AFFINE_DEPTH_REPLACE_NV)|UBLE(BUFFER)?)|UAL_TEXTURE_SELECT_SGIS|E(C(R(_WRAP(_EXT)?)?|AL)|TAIL_TEXTURE_(MODE_SGIS|FUNC_POINTS_SGIS|LEVEL_SGIS)|P(TH(_(RANGE|B(I(TS|AS)|OUNDS_(TEST_EXT|EXT)|UFFER_BIT)|SCALE|C(OMPONENT|L(EAR_VALUE|AMP_NV))|TE(XTURE_MODE(_ARB)?|ST)|PASS_INSTRUMENT_(MAX_SGIX|SGIX|COUNTERS_SGIX)|FUNC|WRITEMASK))?|ENDENT_RGB_TEXTURE_CUBE_MAP_NV)|FORMATIONS_MASK_SGIX|LETE_STATUS))|U(N(SIGNED_(BYTE|SHORT|I(N(T|VERT_NV)|DENTITY_NV))|PACK_(R(OW_LENGTH|ESAMPLE_SGIX)|S(UBSAMPLE_RATE_SGIX|KIP_(ROWS|IMAGES(_EXT)?|PIXELS|VOLUMES_SGIS)|WAP_BYTES)|C(MYK_HINT_EXT|ONSTANT_DATA_SUNX|LIENT_STORAGE_APPLE)|IMAGE_(HEIGHT(_EXT)?|DEPTH_SGIS)|LSB_FIRST|ALIGNMENT))|PPER_LEFT)|P(R(IMARY_COLOR(_(NV|EXT|ARB))?|O(GRAM_(RESIDENT_NV|BINDING_ARB|STRING_(NV|ARB)|NA(ME_ARB|TIVE_(TE(X_IN(STRUCTIONS_ARB|DIRECTIONS_ARB)|MPORARIES_ARB)|INSTRUCTIONS_ARB|PARAMETERS_ARB|A(TTRIBS_ARB|DDRESS_REGISTERS_ARB|LU_INSTRUCTIONS_ARB)))|T(E(X_IN(STRUCTIONS_ARB|DIRECTIONS_ARB)|MPORARIES_ARB)|ARGET_NV)|INSTRUCTIONS_ARB|OBJECT_ARB|UNDER_NATIVE_LIMITS_ARB|PARAMETER(S_ARB|_NV)|ERROR_(STRING_ARB|POSITION_(NV|ARB))|FORMAT_A(RB|SCII_ARB)|LENGTH_(NV|ARB)|A(TTRIBS_ARB|DDRESS_REGISTERS_ARB|LU_INSTRUCTIONS_ARB))|XY_(HISTOGRAM(_EXT)?|COLOR_TABLE(_SGI)?|TEXTURE_(RECTANGLE_(EXT|ARB)|C(OLOR_TABLE_SGI|UBE_MAP(_(EXT|ARB))?))|POST_(CO(NVOLUTION_COLOR_TABLE(_SGI)?|LOR_MATRIX_COLOR_TABLE(_SGI)?)|IMAGE_TRANSFORM_COLOR_TABLE_HP))|JECTION(_(MATRIX|STACK_DEPTH))?)|E(VIOUS(_(TEXTURE_INPUT_NV|EXT|ARB))?|FER_DOUBLEBUFFER_HINT_PGI))|HONG_(HINT_WIN|WIN)|N_TRIANGLES_(NORMAL_MODE_(QUADRATIC_ATI(X)?|LINEAR_ATI(X)?|ATI(X)?)|TESSELATION_LEVEL_ATI(X)?|POINT_MODE_(CUBIC_ATI(X)?|LINEAR_ATI(X)?|ATI(X)?)|ATI(X)?)|IXEL_(GROUP_COLOR_SGIS|M(IN_FILTER_EXT|ODE_BIT|A(G_FILTER_EXT|P_(R_TO_R(_SIZE)?|G_TO_G(_SIZE)?|B_TO_B(_SIZE)?|S_TO_S(_SIZE)?|I_TO_(R(_SIZE)?|G(_SIZE)?|B(_SIZE)?|I(_SIZE)?|A(_SIZE)?)|A_TO_A(_SIZE)?)))|CUBIC_WEIGHT_EXT|T(ILE_(GRID_(HEIGHT_SGIX|DEPTH_SGIX|WIDTH_SGIX)|BEST_ALIGNMENT_SGIX|HEIGHT_SGIX|CACHE_(SIZE_SGIX|INCREMENT_SGIX)|WIDTH_SGIX)|EX(_GEN_(MODE_SGIX|SGIX)|TURE_SGIS))|FRAGMENT_(RGB_SOURCE_SGIS|ALPHA_SOURCE_SGIS))|O(S(T_(CO(NVOLUTION_(RED_(BIAS(_EXT)?|SCALE(_EXT)?)|GREEN_(BIAS(_EXT)?|SCALE(_EXT)?)|BLUE_(BIAS(_EXT)?|SCALE(_EXT)?)|COLOR_TABLE(_SGI)?|ALPHA_(BIAS(_EXT)?|SCALE(_EXT)?))|LOR_MATRIX_(RED_(BIAS(_SGI)?|SCALE(_SGI)?)|GREEN_(BIAS(_SGI)?|SCALE(_SGI)?)|BLUE_(BIAS(_SGI)?|SCALE(_SGI)?)|COLOR_TABLE(_SGI)?|ALPHA_(BIAS(_SGI)?|SCALE(_SGI)?)))|TEXTURE_FILTER_(BIAS_(RANGE_SGIX|SGIX)|SCALE_(RANGE_SGIX|SGIX))|IMAGE_TRANSFORM_COLOR_TABLE_HP)|ITION)|INT(S|_(BIT|S(MOOTH(_HINT)?|IZE(_(RANGE|GRANULARITY|M(IN(_(SGIS|EXT|ARB))?|AX(_(SGIS|EXT|ARB))?)))?|PRITE(_(R_MODE_NV|NV|COORD_ORIGIN|ARB))?)|CULL_(MODE_ATI|C(ENTER_ATI|LIP_ATI))|TOKEN|DISTANCE_ATTENUATION(_ARB)?|FADE_THRESHOLD_SIZE(_(SGIS|EXT|ARB))?))?|LYGON(_(MODE|BIT|S(MOOTH(_HINT)?|TIPPLE(_BIT)?)|TOKEN|OFFSET_(BIAS_EXT|UNITS|POINT|EXT|F(ILL|ACTOR(_EXT)?)|LINE)))?)|ER(SPECTIVE_CORRECTION_HINT|_STAGE_CONSTANTS_NV|TURB_EXT)|A(RALLEL_ARRAYS_INTEL|SS_THROUGH_(NV|TOKEN)|CK_(R(OW_LENGTH|ESAMPLE_SGIX)|S(UBSAMPLE_RATE_SGIX|KIP_(ROWS|IMAGES(_EXT)?|PIXELS|VOLUMES_SGIS)|WAP_BYTES)|CMYK_HINT_EXT|IMAGE_(HEIGHT(_EXT)?|DEPTH_SGIS)|LSB_FIRST|ALIGNMENT)))|E(X(TENSIONS|P(AND_N(ORMAL_NV|EGATE_NV))?)|M(BOSS_(MAP_NV|CONSTANT_NV|LIGHT_NV)|ISSION)|YE_(RADIAL_NV|DISTANCE_TO_(POINT_SGIS|LINE_SGIS)|P(OINT_SGIS|LANE(_ABSOLUTE_NV)?)|LINE(_SGIS|AR))|NABLE_BIT|_TIMES_F_NV|IGHTH_BIT_EXT|DGE(_FLAG(_ARRAY(_(BUFFER_BINDING(_ARB)?|STRIDE(_EXT)?|COUNT_EXT|POINTER(_EXT)?|EXT|LIST_(STRIDE_IBM|IBM)))?)?|FLAG_BIT_PGI)|VAL_BIT|QU(IV|AL)|LEMENT_(BUFFER_BINDING_APPLE|ARRAY_(BUFFER(_(BINDING(_ARB)?|ARB))?|TYPE_APPLE|POINTER_APPLE|APPLE)))|V(I(BRANCE_(BIAS_NV|SCALE_NV)|EWPORT(_BIT)?)|E(R(SION|TEX_(BLEND_ARB|S(HADER(_(BINDING_EXT|IN(STRUCTIONS_EXT|VARIANTS_EXT)|OPTIMIZED_EXT|EXT|VARIANTS_EXT|LOCAL(S_EXT|_CONSTANTS_EXT)|ARB))?|TATE_PROGRAM_NV)|CONSISTENT_HINT_PGI|DATA_HINT_PGI|PR(OGRAM_(BINDING_NV|NV|TWO_SIDE(_(NV|ARB))?|POINT_SIZE(_(NV|ARB))?|ARB)|ECLIP_(SGIX|HINT_SGIX))|WEIGHT(_ARRAY_(S(TRIDE_EXT|IZE_EXT)|TYPE_EXT|POINTER_EXT|EXT)|ING_EXT)|A(RRAY(_(RANGE_(NV|POINTER_(NV|APPLE)|VALID_NV|WITHOUT_FLUSH_NV|LENGTH_(NV|APPLE)|APPLE)|B(INDING_APPLE|UFFER_BINDING(_ARB)?)|S(T(RIDE(_EXT)?|ORAGE_HINT_APPLE)|IZE(_EXT)?)|COUNT_EXT|TYPE(_EXT)?|P(OINTER(_EXT)?|ARALLEL_POINTERS_INTEL)|EXT|LIST_(STRIDE_IBM|IBM)))?|TTRIB_ARRAY_(BUFFER_BINDING(_ARB)?|S(TRIDE(_ARB)?|IZE(_ARB)?)|NORMALIZED(_ARB)?|TYPE(_ARB)?|POINTER(_ARB)?|ENABLED(_ARB)?))))|NDOR|CTOR_EXT)|A(RIA(BLE_(G_NV|B_NV|C_NV|D_NV|E_NV|F_NV|A_NV)|NT_(DATATYPE_EXT|EXT|VALUE_EXT|ARRAY_(STRIDE_EXT|TYPE_EXT|POINTER_EXT|EXT)))|LIDATE_STATUS))|KEEP|Q(U(ERY_(RESULT(_A(RB|VAILABLE(_ARB)?))?|COUNTER_BITS(_ARB)?)|A(RTER_BIT_EXT|D(RATIC_ATTENUATION|S|_(STRIP|TEXTURE_SELECT_SGIS)))))?|F(R(ONT(_(RIGHT|FACE|LEFT|AND_BACK))?|A(GMENT_(MATERIAL_EXT|SHADER(_(DERIVATIVE_HINT|EXT|ARB))?|NORMAL_EXT|COLOR_(MATERIAL_(SGIX|PARAMETER_SGIX|FACE_SGIX)|EXT)|DEPTH(_EXT)?|PROGRAM_ARB|LIGHT(_MODEL_(NORMAL_INTERPOLATION_SGIX|TWO_SIDE_SGIX|LOCAL_VIEWER_SGIX|AMBIENT_SGIX)|ING_SGIX))|MEZOOM_(SGIX|FACTOR_SGIX)))|ILL|O(RCE_BLUE_TO_ONE_NV|G(_(MODE|BIT|S(CALE_(SGIX|VALUE_SGIX)|TART|PECULAR_TEXTURE_WIN)|HINT|CO(ORD(_(SRC|ARRAY(_(BUFFER_BINDING(_ARB)?|STRIDE|TYPE|POINTER))?)|INATE(_(SOURCE(_EXT)?|EXT|ARRAY(_(BUFFER_BINDING(_ARB)?|STRIDE(_EXT)?|TYPE(_EXT)?|POINTER(_EXT)?|EXT|LIST_(STRIDE_IBM|IBM)))?))?)?|LOR)|INDEX|OFFSET_(SGIX|VALUE_SGIX)|D(ISTANCE_MODE_NV|ENSITY)|END|FUNC_(SGIS|POINTS_SGIS)))?)|U(NC_(REVERSE_SUBTRACT(_EXT)?|SUBTRACT(_EXT)?|ADD(_EXT)?)|LL_(RANGE_EXT|STIPPLE_HINT_PGI))|E(NCE_APPLE|EDBACK(_BUFFER_(SIZE|TYPE|POINTER))?)|L(OAT|AT)|A(STEST|LSE))|W(R(ITE_ONLY(_ARB)?|AP_BORDER_SUN)|_EXT|IDE_LINE_HINT_PGI|EIGHT_(SUM_UNITY_ARB|ARRAY_(BUFFER_BINDING(_ARB)?|S(TRIDE_ARB|IZE_ARB)|TYPE_ARB|POINTER_ARB|ARB)))|L(I(GHT(_(MODEL_(SPECULAR_VECTOR_APPLE|COLOR_CONTROL(_EXT)?|TWO_SIDE|LOCAL_VIEWER|AMBIENT)|ENV_MODE_SGIX)|ING(_BIT)?)|ST_(MODE|B(IT|ASE)|INDEX|PRIORITY_SGIX)|N(E(S|_(RESET_TOKEN|BIT|S(MOOTH(_HINT)?|T(RIP|IPPLE(_(REPEAT|PATTERN))?))|TOKEN|WIDTH(_(RANGE|GRANULARITY))?|LOOP)|AR(_(MIPMAP_(NEAREST|LINEAR)|SHARPEN_(SGIS|COLOR_SGIS|ALPHA_SGIS)|CLIPMAP_(NEAREST_SGIX|LINEAR_SGIX)|DETAIL_(SGIS|COLOR_SGIS|ALPHA_SGIS)|ATTENUATION))?)?|K_STATUS))|O(GIC_OP(_MODE)?|CAL_(CONSTANT_(DATATYPE_EXT|EXT|VALUE_EXT)|EXT)|_(BIAS_NV|SCALE_NV)|WER_LEFT|AD)|UMINANCE(_ALPHA)?|E(RP_EXT|SS|QUAL|FT))|A(RRAY_(BUFFER(_(BINDING(_ARB)?|ARB))?|ELEMENT_LOCK_(COUNT_EXT|FIRST_EXT))|MBIENT(_AND_DIFFUSE)?|BGR(_EXT)?|SYNC_(READ_PIXELS_SGIX|MARKER_SGIX|HISTOGRAM_SGIX|TEX_IMAGE_SGIX|DRAW_PIXELS_SGIX)|ND(_(REVERSE|INVERTED))?|C(CUM(_(RED_BITS|GREEN_BITS|B(UFFER_BIT|LUE_BITS)|CLEAR_VALUE|ALPHA_BITS))?|TIVE_(STENCIL_FACE_EXT|TEXTURE(_ARB)?|UNIFORM(S|_MAX_LENGTH)|VERTEX_UNITS_ARB|ATTRIBUTE(S|_MAX_LENGTH)))|TT(RIB(_(STACK_DEPTH|ARRAY_(S(TRIDE_NV|IZE_NV)|TYPE_NV))|UTE_ARRAY_POINTER_NV)|ENUATION_EXT|ACHED_SHADERS)|DD(_(SIGNED(_(EXT|ARB))?|EXT))?|U(X_BUFFERS|TO_NORMAL)|VERAGE_(HP|EXT)|L(IASED_(POINT_SIZE_RANGE|LINE_WIDTH_RANGE)|PHA(_(M(IN_(SGIX|CLAMP_INGR)|AX_(SGIX|CLAMP_INGR))|B(I(TS|AS)|LEND_EQUATION_ATI)|SCALE|TEST(_(REF|FUNC))?))?|WAYS(_(SOFT_HINT_PGI|FAST_HINT_PGI))?|L(_ATTRIB_BITS|OW_DRAW_(MEM_HINT_PGI|OBJ_HINT_PGI|FRG_HINT_PGI|WIN_HINT_PGI)))))|UT_(R(GB(A)?|IGHT_BUTTON|ED)|G(REEN|AME_MODE_(REFRESH_RATE|HEIGHT|DISPLAY_CHANGED|P(IXEL_DEPTH|OSSIBLE)|WIDTH|ACTIVE))|XLIB_IMPLEMENTATION|M(IDDLE_BUTTON|ULTISAMPLE|ENU_(N(OT_IN_USE|UM_ITEMS)|IN_USE)|ACOSX_IMPLEMENTATION)|BLUE|S(CREEN_(HEIGHT(_MM)?|WIDTH(_MM)?)|T(ROKE_(ROMAN|MONO_ROMAN)|E(REO|NCIL))|INGLE)|H(IDDEN|AS_(MOUSE|SPACEBALL|TABLET|OVERLAY|DIAL_AND_BUTTON_BOX|JOYSTICK|KEYBOARD))|N(O(RMAL(_DAMAGED)?|T_VISIBLE)|UM_(MOUSE_BUTTONS|BUTTON_BOX_BUTTONS|SPACEBALL_BUTTONS|TABLET_BUTTONS|DIALS))|CURSOR_(RIGHT_(SIDE|ARROW)|BOTTOM_(RIGHT_CORNER|SIDE|LEFT_CORNER)|SPRAY|HELP|NONE|C(ROSSHAIR|YCLE)|T(OP_(RIGHT_CORNER|SIDE|LEFT_CORNER)|EXT)|IN(HERIT|FO)|DESTROY|UP_DOWN|FULL_CROSSHAIR|WAIT|LEFT_(RIGHT|SIDE|ARROW))|TRANSPARENT_INDEX|IN(IT_(DISPLAY_MODE|WINDOW_(X|HEIGHT|Y|WIDTH))|DEX)|O(VERLAY(_(DAMAGED|POSSIBLE))?|WNS_JOYSTICK)|D(ISPLAY_MODE_POSSIBLE|O(UBLE|WN)|E(PTH|VICE_(IGNORE_KEY_REPEAT|KEY_REPEAT)))|UP|JOYSTICK_(BUTTON(S|_(B|C|D|A))|POLL_RATE|AXES)|PARTIALLY_RETAINED|E(NTERED|LAPSED_TIME)|VI(SIBLE|DEO_RESIZE_(X(_DELTA)?|HEIGHT(_DELTA)?|Y(_DELTA)?|IN_USE|POSSIBLE|WIDTH(_DELTA)?))|KEY_(R(IGHT|EPEAT_(O(N|FF)|DEFAULT))|HOME|INSERT|DOWN|UP|PAGE_(DOWN|UP)|END|LEFT)|FULLY_(RETAINED|COVERED)|WIN(GDIAPI_DEFINED|DOW_(R(GBA|ED_SIZE)|GREEN_SIZE|X|B(UFFER_SIZE|LUE_SIZE)|STE(REO|NCIL_SIZE)|HEIGHT|Y|NUM_(SAMPLES|CHILDREN)|C(OLORMAP_SIZE|URSOR)|D(OUBLEBUFFER|EPTH_SIZE)|PARENT|FORMAT_ID|WIDTH|A(CCUM_(RED_SIZE|GREEN_SIZE|BLUE_SIZE|ALPHA_SIZE)|LPHA_SIZE)))|L(UMINANCE|EFT(_BUTTON)?|AYER_IN_USE)|A(C(CUM|TIVE_(SHIFT|CTRL|ALT))|PI(_VERSION|ENTRY_DEFINED)|LPHA))))\b
10
+ - name: support.function.open-gl
11
+ match: \b(gl(R(otate(d|f)|e(s(izeBuffersMESA|et(Minmax(EXT)?|Histogram(EXT)?))|nderMode|ct(s(v)?|i(v)?|d(v)?|f(v)?)|placementCode(u(s(SUN|vSUN)|i(SUN|Normal3fVertex3f(SUN|vSUN)|Color(3fVertex3f(SUN|vSUN)|4(ubVertex3f(SUN|vSUN)|fNormal3fVertex3f(SUN|vSUN)))|TexCoord2f(Normal3fVertex3f(SUN|vSUN)|Color4fNormal3fVertex3f(SUN|vSUN)|Vertex3f(SUN|vSUN))|vSUN|Vertex3f(SUN|vSUN))|b(SUN|vSUN))|PointerSUN)|questResidentProgramsNV|ferencePlaneSGIX|ad(Buffer|InstrumentsSGIX|Pixels))|asterPos(2(s(v)?|i(v)?|d(v)?|f(v)?)|3(s(v)?|i(v)?|d(v)?|f(v)?)|4(s(v)?|i(v)?|d(v)?|f(v)?)))|G(e(n(Buffers(ARB)?|SymbolsEXT|Textures(EXT)?|Programs(NV|ARB)|Vertex(ShadersEXT|ArraysAPPLE)|Queries(ARB)?|F(encesAPPLE|ragmentShadersEXT)|Lists|AsyncMarkersSGIX)|t(M(inmax(Parameter(iv(EXT)?|fv(EXT)?)|EXT)?|a(terial(iv|fv)|p(iv|dv|fv)))|B(ooleanv|uffer(SubData(ARB)?|P(ointerv(ARB)?|arameteriv(ARB)?)))|S(ha(der(iv|Source(ARB)?|InfoLog)|rpenTexFuncSGIS)|tring|eparableFilter(EXT)?)|H(istogram(Parameter(iv(EXT)?|fv(EXT)?)|EXT)?|andleARB)|C(o(nvolution(Parameter(iv(EXT)?|fv(EXT)?)|Filter(EXT)?)|lorTable(SGI|Parameter(iv(SGI|EXT)?|fv(SGI|EXT)?)|EXT)?|m(pressedTexImage(ARB)?|biner(StageParameterfvNV|InputParameter(ivNV|fvNV)|OutputParameter(ivNV|fvNV))))|lipPlane)|T(ex(Gen(iv|dv|fv)|Image|Parameter(iv|fv|PointervAPPLE)|Env(iv|fv)|FilterFuncSGIS|LevelParameter(iv|fv))|rackMatrixivNV)|I(n(strumentsSGIX|tegerv|variant(BooleanvEXT|IntegervEXT|FloatvEXT)|foLogARB)|mageTransformParameter(ivHP|fvHP))|ObjectParameter(ivARB|fvARB)|D(oublev|etailTexFuncSGIS)|Uniform(iv(ARB)?|fv(ARB)?|Location(ARB)?)|P(ixel(Map(u(sv|iv)|fv)|TexGenParameter(ivSGIS|fvSGIS))|o(interv(EXT)?|lygonStipple)|rogram(iv(NV|ARB)?|String(NV|ARB)|InfoLog|Parameter(dvNV|fvNV)|EnvParameter(dvARB|fvARB)|LocalParameter(dvARB|fvARB)))|Error|V(ertexAttrib(iv(NV|ARB)?|dv(NV|ARB)?|fv(NV|ARB)?|Pointerv(NV|ARB)?)|ariant(BooleanvEXT|IntegervEXT|PointervEXT|FloatvEXT))|Query(iv(ARB)?|Object(iv(ARB)?|uiv(ARB)?))|F(inalCombinerInputParameter(ivNV|fvNV)|ogFuncSGIS|loatv|ragment(Material(ivSGIX|fvSGIX)|Light(ivSGIX|fvSGIX)))|L(i(stParameter(ivSGIX|fvSGIX)|ght(iv|fv))|ocalConstant(BooleanvEXT|IntegervEXT|FloatvEXT))|A(ctive(Uniform(ARB)?|Attrib(ARB)?)|tt(ached(Shaders|ObjectsARB)|ribLocation(ARB)?))))|lobalAlphaFactor(sSUN|iSUN|dSUN|u(sSUN|iSUN|bSUN)|fSUN|bSUN))|M(inmax(EXT)?|ult(Matrix(d|f)|i(ModeDraw(ElementsIBM|ArraysIBM)|TexCoord(1(s(v(ARB)?|ARB)?|i(v(ARB)?|ARB)?|d(v(ARB)?|ARB)?|f(v(ARB)?|ARB)?)|2(s(v(ARB)?|ARB)?|i(v(ARB)?|ARB)?|d(v(ARB)?|ARB)?|f(v(ARB)?|ARB)?)|3(s(v(ARB)?|ARB)?|i(v(ARB)?|ARB)?|d(v(ARB)?|ARB)?|f(v(ARB)?|ARB)?)|4(s(v(ARB)?|ARB)?|i(v(ARB)?|ARB)?|d(v(ARB)?|ARB)?|f(v(ARB)?|ARB)?))|Draw(RangeElementArrayAPPLE|Element(s(EXT)?|ArrayAPPLE)|Arrays(EXT)?))|TransposeMatrix(d(ARB)?|f(ARB)?))|a(t(erial(i(v)?|f(v)?)|rixMode)|p(Grid(1(d|f)|2(d|f))|1(d|f)|Buffer(ARB)?|2(d|f)|VertexAttrib(1(dAPPLE|fAPPLE)|2(dAPPLE|fAPPLE)))))|B(i(n(ormal(3(s(vEXT|EXT)|i(vEXT|EXT)|d(vEXT|EXT)|f(vEXT|EXT)|b(vEXT|EXT))|PointerEXT)|d(MaterialParameterEXT|Buffer(ARB)?|Tex(GenParameterEXT|ture(UnitParameterEXT|EXT)?)|P(arameterEXT|rogram(NV|ARB))|Vertex(ShaderEXT|ArrayAPPLE)|FragmentShaderEXT|LightParameterEXT|AttribLocation(ARB)?))|tmap)|uffer(SubData(ARB)?|Data(ARB)?)|egin(VertexShaderEXT|Query(ARB)?|FragmentShaderEXT)?|lend(Color(EXT)?|Equation(Separate(EXT|ATI)|EXT)?|Func(Separate(EXT)?)?))|S(ha(de(Model|r(Source(ARB)?|Op(1EXT|2EXT|3EXT)))|rpenTexFuncSGIS)|c(issor|ale(d|f))|t(opInstrumentsSGIX|encil(Mask(Separate)?|Op(Separate(ATI)?)?|Func(Separate(ATI)?)?)|artInstrumentsSGIX)|priteParameter(i(SGIX|vSGIX)|f(SGIX|vSGIX))|e(condaryColor(3(s(v(EXT)?|EXT)?|i(v(EXT)?|EXT)?|d(v(EXT)?|EXT)?|u(s(v(EXT)?|EXT)?|i(v(EXT)?|EXT)?|b(v(EXT)?|EXT)?)|f(v(EXT)?|EXT)?|b(v(EXT)?|EXT)?)|Pointer(EXT|ListIBM)?)|t(InvariantEXT|F(enceAPPLE|ragmentShaderConstantEXT)|LocalConstantEXT)|parableFilter2D(EXT)?|lectBuffer)|w(izzleEXT|apAPPLE)|ample(Ma(sk(SGIS|EXT)|pEXT)|Coverage(ARB)?|Pa(ss(ARB)?|ttern(SGIS|EXT))))|Hi(stogram(EXT)?|nt(PGI)?)|N(ormal(3(s(v)?|i(v)?|d(v)?|f(v|Vertex3f(SUN|vSUN))?|b(v)?)|Pointer(vINTEL|EXT|ListIBM)?)|ewList)|C(o(nvolution(Parameter(i(v(EXT)?|EXT)?|f(v(EXT)?|EXT)?)|Filter(1D(EXT)?|2D(EXT)?))|py(Co(nvolutionFilter(1D(EXT)?|2D(EXT)?)|lor(SubTable(EXT)?|Table(SGI)?))|Tex(SubImage(1D(EXT)?|2D(EXT)?|3D(EXT)?)|Image(1D(EXT)?|2D(EXT)?))|Pixels)|lor(Ma(sk|terial)|SubTable(EXT)?|Table(SGI|Parameter(iv(SGI)?|fv(SGI)?)|EXT)?|3(s(v)?|i(v)?|d(v)?|u(s(v)?|i(v)?|b(v)?)|f(v|Vertex3f(SUN|vSUN))?|b(v)?)|4(s(v)?|i(v)?|d(v)?|u(s(v)?|i(v)?|b(v|Vertex(2f(SUN|vSUN)|3f(SUN|vSUN)))?)|f(Normal3fVertex3f(SUN|vSUN)|v)?|b(v)?)|Pointer(vINTEL|EXT|ListIBM)?|FragmentOp(1EXT|2EXT|3EXT))|m(p(ileShader(ARB)?|ressedTex(SubImage(1D(ARB)?|2D(ARB)?|3D(ARB)?)|Image(1D(ARB)?|2D(ARB)?|3D(ARB)?)))|biner(StageParameterfvNV|InputNV|OutputNV|Parameter(i(NV|vNV)|f(NV|vNV)))))|ull(Parameter(dvEXT|fvEXT)|Face)|l(i(pPlane|entActiveTexture(ARB)?)|ear(Stencil|Color|Index|Depth|Accum)?)|allList(s)?|reate(Shader(ObjectARB)?|Program(ObjectARB)?))|u(Get(String|NurbsProperty|TessProperty)|B(uild(1DMipmap(s(CTX)?|Levels(CTX)?)|2DMipmap(s(CTX)?|Levels(CTX)?)|3DMipmap(s(CTX)?|Levels(CTX)?))|egin(Surface|Curve|Trim|Polygon))|t(Re(shape(Func|Window)|portErrors|move(MenuItem|Overlay))|G(et(M(odifiers|enu)|Color|ProcAddress|Window)?|ameMode(Get|String))|M(o(tionFunc|useFunc)|enuStat(usFunc|eFunc)|ainLoop)|B(itmap(Character|Width|Length)|uttonBoxFunc)|S(how(Overlay|Window)|t(opVideoResizing|roke(Character|Width|Length))|olid(Sphere|C(one|ube)|T(orus|e(trahedron|apot))|Icosahedron|Octahedron|Dodecahedron)|urfaceTexture|p(ecial(UpFunc|Func)|aceball(RotateFunc|MotionFunc|ButtonFunc))|et(Menu|C(olor|ursor)|upVideoResizing|IconTitle|KeyRepeat|Window(Title)?)|wapBuffers)|Hide(Overlay|Window)|C(h(eckLoop|angeTo(MenuEntry|SubMenu))|opyColormap|reate(Menu|SubWindow|Window))|T(imerFunc|ablet(MotionFunc|ButtonFunc))|I(nit(Display(Mode|String)|Window(Size|Position))?|conifyWindow|dleFunc|gnoreKeyRepeat)|OverlayDisplayFunc|D(i(splayFunc|alsFunc)|e(stroy(Menu|Window)|tachMenu|viceGet))|UseLayer|JoystickFunc|P(o(s(t(Redisplay|OverlayRedisplay|Window(Redisplay|OverlayRedisplay))|itionWindow)|pWindow)|ushWindow|assiveMotionFunc)|E(stablishOverlay|nt(erGameMode|ryFunc)|xtensionSupported)|Vi(sibilityFunc|deo(Resize(Get)?|Pan))|Keyboard(UpFunc|Func)|F(orceJoystickFunc|ullScreen)|W(MCloseFunc|i(ndowStatusFunc|re(Sphere|C(one|ube)|T(orus|e(trahedron|apot))|Icosahedron|Octahedron|Dodecahedron))|arpPointer)|L(eaveGameMode|ayerGet)|A(ttachMenu|dd(MenuEntry|SubMenu)))|S(caleImage(CTX)?|phere)|N(urbs(Surface|C(urve|allback(Data(EXT)?)?)|Property)|e(w(NurbsRenderer(CTX)?|Tess(CTX)?|Quadric(CTX)?)|xtContour))|C(heckExtension|ylinder)|Tess(Begin(Contour|Polygon)|Normal|Callback|Property|End(Contour|Polygon)|Vertex)|Ortho2D(CTX)?|D(isk|elete(NurbsRenderer|Tess|Quadric))|UnProject(4)?|P(ickMatrix(CTX)?|erspective(CTX)?|wlCurve|artialDisk|roject)|E(nd(Surface|Curve|Trim|Polygon)|rrorString)|Quadric(Normals|Callback|Texture|Orientation|DrawStyle)|Lo(okAt(CTX)?|adSamplingMatrices))|T(e(st(ObjectAPPLE|FenceAPPLE)|x(Gen(i(v)?|d(v)?|f(v)?)|ture(RangeAPPLE|MaterialEXT|NormalEXT|ColorMaskSGIS|LightEXT)|SubImage(1D(EXT)?|2D(EXT)?|3D(EXT)?|4DSGIS)|Coord(1(s(v)?|i(v)?|d(v)?|f(v)?)|2(s(v)?|i(v)?|d(v)?|f(Normal3fVertex3f(SUN|vSUN)|Color(3fVertex3f(SUN|vSUN)|4(ubVertex3f(SUN|vSUN)|fNormal3fVertex3f(SUN|vSUN)))|v|Vertex3f(SUN|vSUN))?)|3(s(v)?|i(v)?|d(v)?|f(v)?)|4(s(v)?|i(v)?|d(v)?|f(Color4fNormal3fVertex4f(SUN|vSUN)|v|Vertex4f(SUN|vSUN))?)|Pointer(vINTEL|EXT|ListIBM)?)|Image(1D|2D|3D(EXT)?|4DSGIS)|Parameter(i(v)?|f(v)?)|Env(i(v)?|f(v)?)|FilterFuncSGIS))|a(ngent(3(s(vEXT|EXT)|i(vEXT|EXT)|d(vEXT|EXT)|f(vEXT|EXT)|b(vEXT|EXT))|PointerEXT)|gSampleBufferSGIX)|ra(nslate(d|f)|ckMatrixNV)|bufferMask3DFX)|I(s(Buffer(ARB)?|Shader|Texture(EXT)?|Program(NV|ARB)?|Enabled|V(ertexA(ttribEnabledAPPLE|rrayAPPLE)|ariantEnabledEXT)|Query(ARB)?|FenceAPPLE|List|AsyncMarkerSGIX)|n(s(trumentsBufferSGIX|ertComponentEXT)|terleavedArrays|itNames|dex(s(v)?|Ma(sk|terialEXT)|i(v)?|d(v)?|ub(v)?|f(v)?|Pointer(EXT|ListIBM)?|FuncEXT))|glooInterfaceSGIX|mageTransformParameter(i(HP|vHP)|f(HP|vHP)))|Ortho|D(isable(ClientState|V(ertexAttribA(PPLE|rray(ARB)?)|ariantClientStateEXT))?|e(ta(ch(Shader|ObjectARB)|ilTexFuncSGIS)|pth(Range|Mask|BoundsEXT|Func)|form(SGIX|ationMap3(dSGIX|fSGIX))|lete(Buffers(ARB)?|Shader|Textures(EXT)?|ObjectARB|Program(s(NV|ARB))?|Vertex(ShaderEXT|ArraysAPPLE)|Queries(ARB)?|F(encesAPPLE|ragmentShaderEXT)|Lists|AsyncMarkersSGIX))|raw(RangeElement(s(EXT)?|ArrayAPPLE)|Buffer(s(ARB)?)?|Pixels|Element(s|ArrayAPPLE)|Arrays(EXT)?))|U(seProgram(ObjectARB)?|n(iform(1(i(v(ARB)?|ARB)?|f(v(ARB)?|ARB)?)|Matrix(2fv(ARB)?|3fv(ARB)?|4fv(ARB)?)|2(i(v(ARB)?|ARB)?|f(v(ARB)?|ARB)?)|3(i(v(ARB)?|ARB)?|f(v(ARB)?|ARB)?)|4(i(v(ARB)?|ARB)?|f(v(ARB)?|ARB)?))|lockArraysEXT|mapBuffer(ARB)?))|P(ixel(Map(u(sv|iv)|fv)|Store(i|f)|T(exGen(SGIX|Parameter(i(SGIS|vSGIS)|f(SGIS|vSGIS)))|ransf(ormParameter(i(vEXT|EXT)|f(vEXT|EXT))|er(i|f)))|Zoom)|o(int(Size|Parameter(i(NV|v(NV)?)?|f(v(ARB)?|ARB)?))|p(Matrix|Name|ClientAttrib|Attrib)|l(ygon(Mode|Stipple|Offset(EXT)?)|l(InstrumentsSGIX|AsyncSGIX)))|NTriangles(iATI(X)?|fATI(X)?)|ush(Matrix|Name|ClientAttrib|Attrib)|assT(hrough|exCoordEXT)|r(ioritizeTextures(EXT)?|ogram(StringARB|Parameter(s4(dvNV|fvNV)|4(d(NV|vNV)|f(NV|vNV)))|EnvParameter4(d(vARB|ARB)|f(vARB|ARB))|LocalParameter4(d(vARB|ARB)|f(vARB|ARB)))))|E(n(d(VertexShaderEXT|Query(ARB)?|FragmentShaderEXT|List)?|able(ClientState|V(ertexAttribA(PPLE|rray(ARB)?)|ariantClientStateEXT))?)|dgeFlag(v|Pointer(EXT|ListIBM)?)?|val(Mesh(1|2)|Coord(1(d(v)?|f(v)?)|2(d(v)?|f(v)?))|Point(1|2))|lementPointerAPPLE|x(tractComponentEXT|ecuteProgramNV))|V(iewport|ertex(BlendARB|2(s(v)?|i(v)?|d(v)?|f(v)?)|3(s(v)?|i(v)?|d(v)?|f(v)?)|4(s(v)?|i(v)?|d(v)?|f(v)?)|Pointer(vINTEL|EXT|ListIBM)?|Weight(f(vEXT|EXT)|PointerEXT)|A(ttrib(s(1(svNV|dvNV|fvNV)|2(svNV|dvNV|fvNV)|3(svNV|dvNV|fvNV)|4(svNV|dvNV|ubvNV|fvNV))|1(s(NV|v(NV|ARB)?|ARB)?|d(NV|v(NV|ARB)?|ARB)?|f(NV|v(NV|ARB)?|ARB)?)|2(s(NV|v(NV|ARB)?|ARB)?|d(NV|v(NV|ARB)?|ARB)?|f(NV|v(NV|ARB)?|ARB)?)|3(s(NV|v(NV|ARB)?|ARB)?|d(NV|v(NV|ARB)?|ARB)?|f(NV|v(NV|ARB)?|ARB)?)|4(s(NV|v(NV|ARB)?|ARB)?|iv(ARB)?|d(NV|v(NV|ARB)?|ARB)?|N(sv(ARB)?|iv(ARB)?|u(sv(ARB)?|iv(ARB)?|b(v(ARB)?|ARB)?)|bv(ARB)?)|u(sv(ARB)?|iv(ARB)?|b(NV|v(NV|ARB)?))|f(NV|v(NV|ARB)?|ARB)?|bv(ARB)?)|Pointer(NV|ARB)?)|rray(Range(NV|APPLE)|ParameteriAPPLE)))|a(lidateProgram(ARB)?|riant(svEXT|ivEXT|dvEXT|u(svEXT|ivEXT|bvEXT)|fvEXT|PointerEXT|bvEXT)))|F(in(ish(RenderAPPLE|TextureSUNX|ObjectAPPLE|FenceAPPLE|AsyncSGIX)?|alCombinerInputNV)|og(i(v)?|Coord(d(v(EXT)?|EXT)?|f(v(EXT)?|EXT)?|Pointer(EXT|ListIBM)?)|f(v)?|FuncSGIS)|eedbackBuffer|lush(R(enderAPPLE|asterSGIX)|VertexArrayRange(NV|APPLE))?|r(ontFace|ustum|a(gment(Material(i(SGIX|vSGIX)|f(SGIX|vSGIX))|ColorMaterialSGIX|Light(Model(i(SGIX|vSGIX)|f(SGIX|vSGIX))|i(SGIX|vSGIX)|f(SGIX|vSGIX)))|meZoomSGIX)))|W(indowPos(2(s(v(ARB)?|ARB)?|i(v(ARB)?|ARB)?|d(v(ARB)?|ARB)?|f(v(ARB)?|ARB)?)|3(s(v(ARB)?|ARB)?|i(v(ARB)?|ARB)?|d(v(ARB)?|ARB)?|f(v(ARB)?|ARB)?))|eight(svARB|ivARB|dvARB|u(svARB|ivARB|bvARB)|fvARB|PointerARB|bvARB)|riteMaskEXT)|L(i(st(Base|Parameter(i(SGIX|vSGIX)|f(SGIX|vSGIX)))|n(e(Stipple|Width)|kProgram(ARB)?)|ght(Model(i(v)?|f(v)?)|i(v)?|f(v)?|EnviSGIX))|o(ckArraysEXT|ad(Matrix(d|f)|Name|TransposeMatrix(d(ARB)?|f(ARB)?)|Identity(DeformationMapSGIX)?|ProgramNV)|gicOp))|A(syncMarkerSGIX|c(cum|tive(StencilFaceEXT|Texture(ARB)?))|ttach(Shader|ObjectARB)|pplyTextureEXT|lphaF(unc|ragmentOp(1EXT|2EXT|3EXT))|r(e(TexturesResident(EXT)?|ProgramsResidentNV)|rayElement(EXT)?))))\b
12
+ - name: meta.open-gl
13
+ match: \b(gl|GL)\w+
14
+ comment: for completions -- robbo
@@ -0,0 +1,77 @@
1
+ ---
2
+ name: Pascal
3
+ fileTypes:
4
+ - pas
5
+ - p
6
+ scopeName: source.pascal
7
+ uuid: F42FA544-6B1C-11D9-9517-000D93589AF6
8
+ foldingStartMarker: \b(?i:(function|package|procedure|try|type))\b
9
+ patterns:
10
+ - name: keyword.control.pascal
11
+ match: \b(?i:(absolute|abstract|all|and|and_then|array|as|asm|attribute|begin|bindable|case|class|const|constructor|destructor|div|do|do|else|end|except|export|exports|external|far|file|finalization|finally|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|try|type|unit|until|uses|value|var|view|virtual|while|with|xor))\b
12
+ - name: meta.function.prototype.pascal
13
+ captures:
14
+ "1":
15
+ name: storage.type.prototype.pascal
16
+ "2":
17
+ name: entity.name.function.prototype.pascal
18
+ match: \b(?i:(function|procedure))\b\s+(\w+(\.\w+)?)(\(.*?\))?;\s*(?=(?i:attribute|forward|external))
19
+ - name: meta.function.pascal
20
+ captures:
21
+ "1":
22
+ name: storage.type.function.pascal
23
+ "2":
24
+ name: entity.name.function.pascal
25
+ match: \b(?i:(function|procedure))\b\s+(\w+(\.\w+)?)
26
+ - name: constant.numeric.pascal
27
+ 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|ll|LL|ull|ULL)?\b
28
+ - name: comment.line.double-dash.pascal.one
29
+ captures:
30
+ "1":
31
+ name: punctuation.definition.comment.pascal
32
+ match: (--).*$\n?
33
+ - name: comment.line.double-slash.pascal.two
34
+ captures:
35
+ "1":
36
+ name: punctuation.definition.comment.pascal
37
+ match: (//).*$\n?
38
+ - name: comment.block.pascal.one
39
+ captures:
40
+ "0":
41
+ name: punctuation.definition.comment.pascal
42
+ begin: \(\*
43
+ end: \*\)
44
+ - name: comment.block.pascal.two
45
+ captures:
46
+ "0":
47
+ name: punctuation.definition.comment.pascal
48
+ begin: \{
49
+ end: \}
50
+ - name: string.quoted.double.pascal
51
+ endCaptures:
52
+ "0":
53
+ name: punctuation.definition.string.end.pascal
54
+ begin: "\""
55
+ beginCaptures:
56
+ "0":
57
+ name: punctuation.definition.string.begin.pascal
58
+ end: "\""
59
+ patterns:
60
+ - name: constant.character.escape.pascal
61
+ match: \\.
62
+ comment: Double quoted strings are an extension and (generally) support C-style escape sequences.
63
+ - name: string.quoted.single.pascal
64
+ endCaptures:
65
+ "0":
66
+ name: punctuation.definition.string.end.pascal
67
+ begin: "'"
68
+ applyEndPatternLast: 1
69
+ beginCaptures:
70
+ "0":
71
+ name: punctuation.definition.string.begin.pascal
72
+ end: "'"
73
+ patterns:
74
+ - name: constant.character.escape.apostrophe.pascal
75
+ match: "''"
76
+ foldingStopMarker: \b(?i:(end))\b
77
+ keyEquivalent: ^~P
@@ -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