ace-oqc 1.4.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (401) hide show
  1. package/package.json +7 -0
  2. package/src-noconflict/ace.js +21402 -0
  3. package/src-noconflict/ext-beautify.js +331 -0
  4. package/src-noconflict/ext-elastic_tabstops_lite.js +277 -0
  5. package/src-noconflict/ext-emmet.js +1331 -0
  6. package/src-noconflict/ext-error_marker.js +9 -0
  7. package/src-noconflict/ext-keybinding_menu.js +193 -0
  8. package/src-noconflict/ext-language_tools.js +2166 -0
  9. package/src-noconflict/ext-linking.js +64 -0
  10. package/src-noconflict/ext-modelist.js +248 -0
  11. package/src-noconflict/ext-options.js +799 -0
  12. package/src-noconflict/ext-prompt.js +2806 -0
  13. package/src-noconflict/ext-rtl.js +122 -0
  14. package/src-noconflict/ext-searchbox.js +514 -0
  15. package/src-noconflict/ext-settings_menu.js +820 -0
  16. package/src-noconflict/ext-spellcheck.js +73 -0
  17. package/src-noconflict/ext-split.js +207 -0
  18. package/src-noconflict/ext-static_highlight.js +229 -0
  19. package/src-noconflict/ext-statusbar.js +56 -0
  20. package/src-noconflict/ext-textarea.js +430 -0
  21. package/src-noconflict/ext-themelist.js +67 -0
  22. package/src-noconflict/ext-whitespace.js +213 -0
  23. package/src-noconflict/keybinding-emacs.js +1169 -0
  24. package/src-noconflict/keybinding-sublime.js +422 -0
  25. package/src-noconflict/keybinding-vim.js +6198 -0
  26. package/src-noconflict/mode-abap.js +221 -0
  27. package/src-noconflict/mode-abc.js +271 -0
  28. package/src-noconflict/mode-actionscript.js +275 -0
  29. package/src-noconflict/mode-ada.js +137 -0
  30. package/src-noconflict/mode-apache_conf.js +363 -0
  31. package/src-noconflict/mode-apex.js +457 -0
  32. package/src-noconflict/mode-applescript.js +278 -0
  33. package/src-noconflict/mode-aql.js +102 -0
  34. package/src-noconflict/mode-asciidoc.js +349 -0
  35. package/src-noconflict/mode-asl.js +422 -0
  36. package/src-noconflict/mode-assembly_x86.js +193 -0
  37. package/src-noconflict/mode-autohotkey.js +244 -0
  38. package/src-noconflict/mode-batchfile.js +230 -0
  39. package/src-noconflict/mode-c9search.js +293 -0
  40. package/src-noconflict/mode-c_cpp.js +503 -0
  41. package/src-noconflict/mode-cirru.js +210 -0
  42. package/src-noconflict/mode-clojure.js +315 -0
  43. package/src-noconflict/mode-cobol.js +101 -0
  44. package/src-noconflict/mode-coffee.js +400 -0
  45. package/src-noconflict/mode-coldfusion.js +2596 -0
  46. package/src-noconflict/mode-crystal.js +642 -0
  47. package/src-noconflict/mode-csharp.js +502 -0
  48. package/src-noconflict/mode-csound_document.js +4105 -0
  49. package/src-noconflict/mode-csound_orchestra.js +3035 -0
  50. package/src-noconflict/mode-csound_score.js +462 -0
  51. package/src-noconflict/mode-csp.js +59 -0
  52. package/src-noconflict/mode-css.js +720 -0
  53. package/src-noconflict/mode-curly.js +2564 -0
  54. package/src-noconflict/mode-d.js +520 -0
  55. package/src-noconflict/mode-dart.js +715 -0
  56. package/src-noconflict/mode-diff.js +147 -0
  57. package/src-noconflict/mode-django.js +2595 -0
  58. package/src-noconflict/mode-dockerfile.js +500 -0
  59. package/src-noconflict/mode-dot.js +417 -0
  60. package/src-noconflict/mode-drools.js +498 -0
  61. package/src-noconflict/mode-edifact.js +166 -0
  62. package/src-noconflict/mode-eiffel.js +135 -0
  63. package/src-noconflict/mode-ejs.js +3533 -0
  64. package/src-noconflict/mode-elixir.js +501 -0
  65. package/src-noconflict/mode-elm.js +306 -0
  66. package/src-noconflict/mode-erlang.js +1010 -0
  67. package/src-noconflict/mode-forth.js +297 -0
  68. package/src-noconflict/mode-fortran.js +430 -0
  69. package/src-noconflict/mode-fsharp.js +316 -0
  70. package/src-noconflict/mode-fsl.js +259 -0
  71. package/src-noconflict/mode-ftl.js +1193 -0
  72. package/src-noconflict/mode-gcode.js +93 -0
  73. package/src-noconflict/mode-gherkin.js +168 -0
  74. package/src-noconflict/mode-gitignore.js +59 -0
  75. package/src-noconflict/mode-glsl.js +580 -0
  76. package/src-noconflict/mode-gobstones.js +1090 -0
  77. package/src-noconflict/mode-golang.js +413 -0
  78. package/src-noconflict/mode-graphqlschema.js +214 -0
  79. package/src-noconflict/mode-groovy.js +989 -0
  80. package/src-noconflict/mode-haml.js +1873 -0
  81. package/src-noconflict/mode-handlebars.js +2622 -0
  82. package/src-noconflict/mode-haskell.js +380 -0
  83. package/src-noconflict/mode-haskell_cabal.js +141 -0
  84. package/src-noconflict/mode-haxe.js +386 -0
  85. package/src-noconflict/mode-hjson.js +353 -0
  86. package/src-noconflict/mode-html.js +2509 -0
  87. package/src-noconflict/mode-html_elixir.js +3088 -0
  88. package/src-noconflict/mode-html_ruby.js +3550 -0
  89. package/src-noconflict/mode-ini.js +162 -0
  90. package/src-noconflict/mode-io.js +248 -0
  91. package/src-noconflict/mode-jack.js +346 -0
  92. package/src-noconflict/mode-jade.js +2025 -0
  93. package/src-noconflict/mode-java.js +1038 -0
  94. package/src-noconflict/mode-javascript.js +798 -0
  95. package/src-noconflict/mode-json.js +329 -0
  96. package/src-noconflict/mode-jsoniq.js +2632 -0
  97. package/src-noconflict/mode-jsp.js +1433 -0
  98. package/src-noconflict/mode-jssm.js +325 -0
  99. package/src-noconflict/mode-jsx.js +411 -0
  100. package/src-noconflict/mode-julia.js +303 -0
  101. package/src-noconflict/mode-kotlin.js +797 -0
  102. package/src-noconflict/mode-latex.js +296 -0
  103. package/src-noconflict/mode-less.js +839 -0
  104. package/src-noconflict/mode-liquid.js +2742 -0
  105. package/src-noconflict/mode-lisp.js +112 -0
  106. package/src-noconflict/mode-livescript.js +279 -0
  107. package/src-noconflict/mode-logiql.js +317 -0
  108. package/src-noconflict/mode-logtalk.js +352 -0
  109. package/src-noconflict/mode-lsl.js +343 -0
  110. package/src-noconflict/mode-lua.js +452 -0
  111. package/src-noconflict/mode-luapage.js +3028 -0
  112. package/src-noconflict/mode-lucene.js +154 -0
  113. package/src-noconflict/mode-makefile.js +412 -0
  114. package/src-noconflict/mode-markdown.js +3194 -0
  115. package/src-noconflict/mode-mask.js +1803 -0
  116. package/src-noconflict/mode-matlab.js +263 -0
  117. package/src-noconflict/mode-maze.js +292 -0
  118. package/src-noconflict/mode-mel.js +263 -0
  119. package/src-noconflict/mode-mixal.js +122 -0
  120. package/src-noconflict/mode-mushcode.js +681 -0
  121. package/src-noconflict/mode-mysql.js +167 -0
  122. package/src-noconflict/mode-nginx.js +298 -0
  123. package/src-noconflict/mode-nim.js +363 -0
  124. package/src-noconflict/mode-nix.js +647 -0
  125. package/src-noconflict/mode-nsis.js +312 -0
  126. package/src-noconflict/mode-objectivec.js +740 -0
  127. package/src-noconflict/mode-ocaml.js +421 -0
  128. package/src-noconflict/mode-pascal.js +223 -0
  129. package/src-noconflict/mode-perl.js +381 -0
  130. package/src-noconflict/mode-pgsql.js +1743 -0
  131. package/src-noconflict/mode-php.js +13110 -0
  132. package/src-noconflict/mode-php_laravel_blade.js +13311 -0
  133. package/src-noconflict/mode-pig.js +310 -0
  134. package/src-noconflict/mode-plain_text.js +32 -0
  135. package/src-noconflict/mode-powershell.js +418 -0
  136. package/src-noconflict/mode-praat.js +478 -0
  137. package/src-noconflict/mode-prolog.js +371 -0
  138. package/src-noconflict/mode-properties.js +80 -0
  139. package/src-noconflict/mode-protobuf.js +593 -0
  140. package/src-noconflict/mode-puppet.js +368 -0
  141. package/src-noconflict/mode-python.js +508 -0
  142. package/src-noconflict/mode-r.js +312 -0
  143. package/src-noconflict/mode-razor.js +2875 -0
  144. package/src-noconflict/mode-rdoc.js +243 -0
  145. package/src-noconflict/mode-red.js +450 -0
  146. package/src-noconflict/mode-redshift.js +360 -0
  147. package/src-noconflict/mode-rhtml.js +2808 -0
  148. package/src-noconflict/mode-rst.js +257 -0
  149. package/src-noconflict/mode-ruby.js +1003 -0
  150. package/src-noconflict/mode-rust.js +282 -0
  151. package/src-noconflict/mode-sass.js +529 -0
  152. package/src-noconflict/mode-scad.js +414 -0
  153. package/src-noconflict/mode-scala.js +984 -0
  154. package/src-noconflict/mode-scheme.js +232 -0
  155. package/src-noconflict/mode-scss.js +873 -0
  156. package/src-noconflict/mode-sh.js +449 -0
  157. package/src-noconflict/mode-sjs.js +1015 -0
  158. package/src-noconflict/mode-slim.js +5240 -0
  159. package/src-noconflict/mode-smarty.js +2635 -0
  160. package/src-noconflict/mode-snippets.js +207 -0
  161. package/src-noconflict/mode-soy_template.js +2848 -0
  162. package/src-noconflict/mode-space.js +167 -0
  163. package/src-noconflict/mode-sparql.js +320 -0
  164. package/src-noconflict/mode-sql.js +271 -0
  165. package/src-noconflict/mode-sqlserver.js +445 -0
  166. package/src-noconflict/mode-stylus.js +472 -0
  167. package/src-noconflict/mode-svg.js +1582 -0
  168. package/src-noconflict/mode-swift.js +395 -0
  169. package/src-noconflict/mode-tcl.js +387 -0
  170. package/src-noconflict/mode-terraform.js +400 -0
  171. package/src-noconflict/mode-tex.js +160 -0
  172. package/src-noconflict/mode-text.js +9 -0
  173. package/src-noconflict/mode-textile.js +150 -0
  174. package/src-noconflict/mode-toml.js +153 -0
  175. package/src-noconflict/mode-tsx.js +888 -0
  176. package/src-noconflict/mode-turtle.js +296 -0
  177. package/src-noconflict/mode-twig.js +2693 -0
  178. package/src-noconflict/mode-typescript.js +869 -0
  179. package/src-noconflict/mode-vala.js +677 -0
  180. package/src-noconflict/mode-vbscript.js +635 -0
  181. package/src-noconflict/mode-velocity.js +2792 -0
  182. package/src-noconflict/mode-verilog.js +118 -0
  183. package/src-noconflict/mode-vhdl.js +116 -0
  184. package/src-noconflict/mode-visualforce.js +2640 -0
  185. package/src-noconflict/mode-wollok.js +914 -0
  186. package/src-noconflict/mode-xml.js +676 -0
  187. package/src-noconflict/mode-xquery.js +2644 -0
  188. package/src-noconflict/mode-yaml.js +330 -0
  189. package/src-noconflict/mode-zeek.js +539 -0
  190. package/src-noconflict/qurator-mode.js +120 -0
  191. package/src-noconflict/qurator-worker.js +91 -0
  192. package/src-noconflict/snippets/abap.js +9 -0
  193. package/src-noconflict/snippets/abc.js +45 -0
  194. package/src-noconflict/snippets/actionscript.js +171 -0
  195. package/src-noconflict/snippets/ada.js +9 -0
  196. package/src-noconflict/snippets/apache_conf.js +9 -0
  197. package/src-noconflict/snippets/apex.js +9 -0
  198. package/src-noconflict/snippets/applescript.js +9 -0
  199. package/src-noconflict/snippets/aql.js +9 -0
  200. package/src-noconflict/snippets/asciidoc.js +9 -0
  201. package/src-noconflict/snippets/asl.js +9 -0
  202. package/src-noconflict/snippets/assembly_x86.js +9 -0
  203. package/src-noconflict/snippets/autohotkey.js +9 -0
  204. package/src-noconflict/snippets/batchfile.js +9 -0
  205. package/src-noconflict/snippets/c9search.js +9 -0
  206. package/src-noconflict/snippets/c_cpp.js +145 -0
  207. package/src-noconflict/snippets/cirru.js +9 -0
  208. package/src-noconflict/snippets/clojure.js +104 -0
  209. package/src-noconflict/snippets/cobol.js +9 -0
  210. package/src-noconflict/snippets/coffee.js +109 -0
  211. package/src-noconflict/snippets/coldfusion.js +9 -0
  212. package/src-noconflict/snippets/crystal.js +9 -0
  213. package/src-noconflict/snippets/csharp.js +9 -0
  214. package/src-noconflict/snippets/csound_document.js +24 -0
  215. package/src-noconflict/snippets/csound_orchestra.js +61 -0
  216. package/src-noconflict/snippets/csound_score.js +9 -0
  217. package/src-noconflict/snippets/csp.js +9 -0
  218. package/src-noconflict/snippets/css.js +981 -0
  219. package/src-noconflict/snippets/curly.js +9 -0
  220. package/src-noconflict/snippets/d.js +9 -0
  221. package/src-noconflict/snippets/dart.js +97 -0
  222. package/src-noconflict/snippets/diff.js +25 -0
  223. package/src-noconflict/snippets/django.js +122 -0
  224. package/src-noconflict/snippets/dockerfile.js +9 -0
  225. package/src-noconflict/snippets/dot.js +9 -0
  226. package/src-noconflict/snippets/drools.js +33 -0
  227. package/src-noconflict/snippets/edifact.js +254 -0
  228. package/src-noconflict/snippets/eiffel.js +9 -0
  229. package/src-noconflict/snippets/ejs.js +9 -0
  230. package/src-noconflict/snippets/elixir.js +9 -0
  231. package/src-noconflict/snippets/elm.js +9 -0
  232. package/src-noconflict/snippets/erlang.js +174 -0
  233. package/src-noconflict/snippets/forth.js +9 -0
  234. package/src-noconflict/snippets/fortran.js +9 -0
  235. package/src-noconflict/snippets/fsharp.js +9 -0
  236. package/src-noconflict/snippets/fsl.js +14 -0
  237. package/src-noconflict/snippets/ftl.js +9 -0
  238. package/src-noconflict/snippets/gcode.js +9 -0
  239. package/src-noconflict/snippets/gherkin.js +9 -0
  240. package/src-noconflict/snippets/gitignore.js +9 -0
  241. package/src-noconflict/snippets/glsl.js +9 -0
  242. package/src-noconflict/snippets/gobstones.js +1718 -0
  243. package/src-noconflict/snippets/golang.js +9 -0
  244. package/src-noconflict/snippets/graphqlschema.js +46 -0
  245. package/src-noconflict/snippets/groovy.js +9 -0
  246. package/src-noconflict/snippets/haml.js +34 -0
  247. package/src-noconflict/snippets/handlebars.js +9 -0
  248. package/src-noconflict/snippets/haskell.js +96 -0
  249. package/src-noconflict/snippets/haskell_cabal.js +9 -0
  250. package/src-noconflict/snippets/haxe.js +9 -0
  251. package/src-noconflict/snippets/hjson.js +9 -0
  252. package/src-noconflict/snippets/html.js +867 -0
  253. package/src-noconflict/snippets/html_elixir.js +9 -0
  254. package/src-noconflict/snippets/html_ruby.js +9 -0
  255. package/src-noconflict/snippets/ini.js +9 -0
  256. package/src-noconflict/snippets/io.js +76 -0
  257. package/src-noconflict/snippets/jack.js +9 -0
  258. package/src-noconflict/snippets/jade.js +9 -0
  259. package/src-noconflict/snippets/java.js +254 -0
  260. package/src-noconflict/snippets/javascript.js +209 -0
  261. package/src-noconflict/snippets/json.js +9 -0
  262. package/src-noconflict/snippets/jsoniq.js +75 -0
  263. package/src-noconflict/snippets/jsp.js +113 -0
  264. package/src-noconflict/snippets/jssm.js +9 -0
  265. package/src-noconflict/snippets/jsx.js +9 -0
  266. package/src-noconflict/snippets/julia.js +9 -0
  267. package/src-noconflict/snippets/kotlin.js +9 -0
  268. package/src-noconflict/snippets/latex.js +9 -0
  269. package/src-noconflict/snippets/less.js +9 -0
  270. package/src-noconflict/snippets/liquid.js +895 -0
  271. package/src-noconflict/snippets/lisp.js +9 -0
  272. package/src-noconflict/snippets/livescript.js +9 -0
  273. package/src-noconflict/snippets/logiql.js +9 -0
  274. package/src-noconflict/snippets/logtalk.js +9 -0
  275. package/src-noconflict/snippets/lsl.js +1246 -0
  276. package/src-noconflict/snippets/lua.js +35 -0
  277. package/src-noconflict/snippets/luapage.js +9 -0
  278. package/src-noconflict/snippets/lucene.js +9 -0
  279. package/src-noconflict/snippets/makefile.js +18 -0
  280. package/src-noconflict/snippets/markdown.js +102 -0
  281. package/src-noconflict/snippets/mask.js +9 -0
  282. package/src-noconflict/snippets/matlab.js +9 -0
  283. package/src-noconflict/snippets/maze.js +23 -0
  284. package/src-noconflict/snippets/mel.js +9 -0
  285. package/src-noconflict/snippets/mixal.js +9 -0
  286. package/src-noconflict/snippets/mushcode.js +9 -0
  287. package/src-noconflict/snippets/mysql.js +9 -0
  288. package/src-noconflict/snippets/nginx.js +9 -0
  289. package/src-noconflict/snippets/nim.js +9 -0
  290. package/src-noconflict/snippets/nix.js +9 -0
  291. package/src-noconflict/snippets/nsis.js +9 -0
  292. package/src-noconflict/snippets/objectivec.js +9 -0
  293. package/src-noconflict/snippets/ocaml.js +9 -0
  294. package/src-noconflict/snippets/pascal.js +9 -0
  295. package/src-noconflict/snippets/perl.js +361 -0
  296. package/src-noconflict/snippets/pgsql.js +9 -0
  297. package/src-noconflict/snippets/php.js +397 -0
  298. package/src-noconflict/snippets/php_laravel_blade.js +9 -0
  299. package/src-noconflict/snippets/pig.js +9 -0
  300. package/src-noconflict/snippets/plain_text.js +9 -0
  301. package/src-noconflict/snippets/powershell.js +9 -0
  302. package/src-noconflict/snippets/praat.js +9 -0
  303. package/src-noconflict/snippets/prolog.js +9 -0
  304. package/src-noconflict/snippets/properties.js +9 -0
  305. package/src-noconflict/snippets/protobuf.js +9 -0
  306. package/src-noconflict/snippets/puppet.js +9 -0
  307. package/src-noconflict/snippets/python.js +172 -0
  308. package/src-noconflict/snippets/r.js +135 -0
  309. package/src-noconflict/snippets/razor.js +17 -0
  310. package/src-noconflict/snippets/rdoc.js +9 -0
  311. package/src-noconflict/snippets/red.js +9 -0
  312. package/src-noconflict/snippets/redshift.js +9 -0
  313. package/src-noconflict/snippets/rhtml.js +9 -0
  314. package/src-noconflict/snippets/rst.js +36 -0
  315. package/src-noconflict/snippets/ruby.js +942 -0
  316. package/src-noconflict/snippets/rust.js +9 -0
  317. package/src-noconflict/snippets/sass.js +9 -0
  318. package/src-noconflict/snippets/scad.js +9 -0
  319. package/src-noconflict/snippets/scala.js +9 -0
  320. package/src-noconflict/snippets/scheme.js +9 -0
  321. package/src-noconflict/snippets/scss.js +9 -0
  322. package/src-noconflict/snippets/sh.js +97 -0
  323. package/src-noconflict/snippets/sjs.js +9 -0
  324. package/src-noconflict/snippets/slim.js +9 -0
  325. package/src-noconflict/snippets/smarty.js +9 -0
  326. package/src-noconflict/snippets/snippets.js +23 -0
  327. package/src-noconflict/snippets/soy_template.js +9 -0
  328. package/src-noconflict/snippets/space.js +9 -0
  329. package/src-noconflict/snippets/sparql.js +9 -0
  330. package/src-noconflict/snippets/sql.js +40 -0
  331. package/src-noconflict/snippets/sqlserver.js +83 -0
  332. package/src-noconflict/snippets/stylus.js +9 -0
  333. package/src-noconflict/snippets/svg.js +9 -0
  334. package/src-noconflict/snippets/swift.js +9 -0
  335. package/src-noconflict/snippets/tcl.js +106 -0
  336. package/src-noconflict/snippets/terraform.js +9 -0
  337. package/src-noconflict/snippets/tex.js +204 -0
  338. package/src-noconflict/snippets/text.js +9 -0
  339. package/src-noconflict/snippets/textile.js +44 -0
  340. package/src-noconflict/snippets/toml.js +9 -0
  341. package/src-noconflict/snippets/tsx.js +9 -0
  342. package/src-noconflict/snippets/turtle.js +9 -0
  343. package/src-noconflict/snippets/twig.js +9 -0
  344. package/src-noconflict/snippets/typescript.js +9 -0
  345. package/src-noconflict/snippets/vala.js +200 -0
  346. package/src-noconflict/snippets/vbscript.js +9 -0
  347. package/src-noconflict/snippets/velocity.js +43 -0
  348. package/src-noconflict/snippets/verilog.js +9 -0
  349. package/src-noconflict/snippets/vhdl.js +9 -0
  350. package/src-noconflict/snippets/visualforce.js +9 -0
  351. package/src-noconflict/snippets/wollok.js +98 -0
  352. package/src-noconflict/snippets/xml.js +9 -0
  353. package/src-noconflict/snippets/xquery.js +75 -0
  354. package/src-noconflict/snippets/yaml.js +9 -0
  355. package/src-noconflict/snippets/zeek.js +9 -0
  356. package/src-noconflict/theme-ambiance.js +185 -0
  357. package/src-noconflict/theme-chaos.js +163 -0
  358. package/src-noconflict/theme-chrome.js +135 -0
  359. package/src-noconflict/theme-clouds.js +102 -0
  360. package/src-noconflict/theme-clouds_midnight.js +103 -0
  361. package/src-noconflict/theme-cobalt.js +120 -0
  362. package/src-noconflict/theme-crimson_editor.js +125 -0
  363. package/src-noconflict/theme-dawn.js +115 -0
  364. package/src-noconflict/theme-dracula.js +135 -0
  365. package/src-noconflict/theme-dreamweaver.js +148 -0
  366. package/src-noconflict/theme-eclipse.js +105 -0
  367. package/src-noconflict/theme-github.js +110 -0
  368. package/src-noconflict/theme-gob.js +119 -0
  369. package/src-noconflict/theme-gruvbox.js +89 -0
  370. package/src-noconflict/theme-idle_fingers.js +103 -0
  371. package/src-noconflict/theme-iplastic.js +128 -0
  372. package/src-noconflict/theme-katzenmilch.js +128 -0
  373. package/src-noconflict/theme-kr_theme.js +111 -0
  374. package/src-noconflict/theme-kuroir.js +68 -0
  375. package/src-noconflict/theme-merbivore.js +102 -0
  376. package/src-noconflict/theme-merbivore_soft.js +103 -0
  377. package/src-noconflict/theme-mono_industrial.js +114 -0
  378. package/src-noconflict/theme-monokai.js +112 -0
  379. package/src-noconflict/theme-pastel_on_dark.js +115 -0
  380. package/src-noconflict/theme-solarized_dark.js +95 -0
  381. package/src-noconflict/theme-solarized_light.js +98 -0
  382. package/src-noconflict/theme-sqlserver.js +145 -0
  383. package/src-noconflict/theme-terminal.js +121 -0
  384. package/src-noconflict/theme-textmate.js +137 -0
  385. package/src-noconflict/theme-tomorrow.js +115 -0
  386. package/src-noconflict/theme-tomorrow_night.js +115 -0
  387. package/src-noconflict/theme-tomorrow_night_blue.js +113 -0
  388. package/src-noconflict/theme-tomorrow_night_bright.js +128 -0
  389. package/src-noconflict/theme-tomorrow_night_eighties.js +115 -0
  390. package/src-noconflict/theme-twilight.js +116 -0
  391. package/src-noconflict/theme-vibrant_ink.js +101 -0
  392. package/src-noconflict/theme-xcode.js +95 -0
  393. package/src-noconflict/worker-coffee.js +1470 -0
  394. package/src-noconflict/worker-css.js +9000 -0
  395. package/src-noconflict/worker-html.js +10922 -0
  396. package/src-noconflict/worker-javascript.js +15001 -0
  397. package/src-noconflict/worker-json.js +1715 -0
  398. package/src-noconflict/worker-lua.js +3608 -0
  399. package/src-noconflict/worker-php.js +3687 -0
  400. package/src-noconflict/worker-xml.js +3208 -0
  401. package/src-noconflict/worker-xquery.js +57668 -0
@@ -0,0 +1,4105 @@
1
+ ace.define("ace/mode/csound_preprocessor_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function(require, exports, module) {
2
+ "use strict";
3
+
4
+ var oop = require("../lib/oop");
5
+
6
+ var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
7
+
8
+ var CsoundPreprocessorHighlightRules = function(embeddedRulePrefix) {
9
+
10
+ this.embeddedRulePrefix = embeddedRulePrefix === undefined ? "" : embeddedRulePrefix;
11
+
12
+ this.semicolonComments = {
13
+ token : "comment.line.semicolon.csound",
14
+ regex : ";.*$"
15
+ };
16
+
17
+ this.comments = [
18
+ {
19
+ token : "punctuation.definition.comment.begin.csound",
20
+ regex : "/\\*",
21
+ push : [
22
+ {
23
+ token : "punctuation.definition.comment.end.csound",
24
+ regex : "\\*/",
25
+ next : "pop"
26
+ }, {
27
+ defaultToken: "comment.block.csound"
28
+ }
29
+ ]
30
+ }, {
31
+ token : "comment.line.double-slash.csound",
32
+ regex : "//.*$"
33
+ },
34
+ this.semicolonComments
35
+ ];
36
+
37
+ this.macroUses = [
38
+ {
39
+ token : ["entity.name.function.preprocessor.csound", "punctuation.definition.macro-parameter-value-list.begin.csound"],
40
+ regex : /(\$[A-Z_a-z]\w*\.?)(\()/,
41
+ next : "macro parameter value list"
42
+ }, {
43
+ token : "entity.name.function.preprocessor.csound",
44
+ regex : /\$[A-Z_a-z]\w*(?:\.|\b)/
45
+ }
46
+ ];
47
+
48
+ this.numbers = [
49
+ {
50
+ token : "constant.numeric.float.csound",
51
+ regex : /(?:\d+[Ee][+-]?\d+)|(?:\d+\.\d*|\d*\.\d+)(?:[Ee][+-]?\d+)?/
52
+ }, {
53
+ token : ["storage.type.number.csound", "constant.numeric.integer.hexadecimal.csound"],
54
+ regex : /(0[Xx])([0-9A-Fa-f]+)/
55
+ }, {
56
+ token : "constant.numeric.integer.decimal.csound",
57
+ regex : /\d+/
58
+ }
59
+ ];
60
+
61
+ this.bracedStringContents = [
62
+ {
63
+ token : "constant.character.escape.csound",
64
+ regex : /\\(?:[\\abnrt"]|[0-7]{1,3})/
65
+ },
66
+ {
67
+ token : "constant.character.placeholder.csound",
68
+ regex : /%[#0\- +]*\d*(?:\.\d+)?[diuoxXfFeEgGaAcs]/
69
+ }, {
70
+ token : "constant.character.escape.csound",
71
+ regex : /%%/
72
+ }
73
+ ];
74
+
75
+ this.quotedStringContents = [
76
+ this.macroUses,
77
+ this.bracedStringContents
78
+ ];
79
+
80
+ var start = [
81
+ this.comments,
82
+
83
+ {
84
+ token : "keyword.preprocessor.csound",
85
+ regex : /#(?:e(?:nd(?:if)?|lse)\b|##)|@@?[ \t]*\d+/
86
+ }, {
87
+ token : "keyword.preprocessor.csound",
88
+ regex : /#include/,
89
+ push : [
90
+ this.comments,
91
+ {
92
+ token : "string.csound",
93
+ regex : /([^ \t])(?:.*?\1)/,
94
+ next : "pop"
95
+ }
96
+ ]
97
+ }, {
98
+ token : "keyword.preprocessor.csound",
99
+ regex : /#includestr/,
100
+ push : [
101
+ this.comments,
102
+ {
103
+ token : "string.csound",
104
+ regex : /([^ \t])(?:.*?\1)/,
105
+ next : "pop"
106
+ }
107
+ ]
108
+ }, {
109
+ token : "keyword.preprocessor.csound",
110
+ regex : /#[ \t]*define/,
111
+ next : "define directive"
112
+ }, {
113
+ token : "keyword.preprocessor.csound",
114
+ regex : /#(?:ifn?def|undef)\b/,
115
+ next : "macro directive"
116
+ },
117
+
118
+ this.macroUses
119
+ ];
120
+
121
+ this.$rules = {
122
+ "start": start,
123
+
124
+ "define directive": [
125
+ this.comments,
126
+ {
127
+ token : "entity.name.function.preprocessor.csound",
128
+ regex : /[A-Z_a-z]\w*/
129
+ }, {
130
+ token : "punctuation.definition.macro-parameter-name-list.begin.csound",
131
+ regex : /\(/,
132
+ next : "macro parameter name list"
133
+ }, {
134
+ token : "punctuation.definition.macro.begin.csound",
135
+ regex : /#/,
136
+ next : "macro body"
137
+ }
138
+ ],
139
+ "macro parameter name list": [
140
+ {
141
+ token : "variable.parameter.preprocessor.csound",
142
+ regex : /[A-Z_a-z]\w*/
143
+ }, {
144
+ token : "punctuation.definition.macro-parameter-name-list.end.csound",
145
+ regex : /\)/,
146
+ next : "define directive"
147
+ }
148
+ ],
149
+ "macro body": [
150
+ {
151
+ token : "constant.character.escape.csound",
152
+ regex : /\\#/
153
+ }, {
154
+ token : "punctuation.definition.macro.end.csound",
155
+ regex : /#/,
156
+ next : "start"
157
+ },
158
+ start
159
+ ],
160
+
161
+ "macro directive": [
162
+ this.comments,
163
+ {
164
+ token : "entity.name.function.preprocessor.csound",
165
+ regex : /[A-Z_a-z]\w*/,
166
+ next : "start"
167
+ }
168
+ ],
169
+
170
+ "macro parameter value list": [
171
+ {
172
+ token : "punctuation.definition.macro-parameter-value-list.end.csound",
173
+ regex : /\)/,
174
+ next : "start"
175
+ }, {
176
+ token : "punctuation.definition.string.begin.csound",
177
+ regex : /"/,
178
+ next : "macro parameter value quoted string"
179
+ }, this.pushRule({
180
+ token : "punctuation.macro-parameter-value-parenthetical.begin.csound",
181
+ regex : /\(/,
182
+ next : "macro parameter value parenthetical"
183
+ }), {
184
+ token : "punctuation.macro-parameter-value-separator.csound",
185
+ regex : "[#']"
186
+ }
187
+ ],
188
+ "macro parameter value quoted string": [
189
+ {
190
+ token : "constant.character.escape.csound",
191
+ regex : /\\[#'()]/
192
+ }, {
193
+ token : "invalid.illegal.csound",
194
+ regex : /[#'()]/
195
+ }, {
196
+ token : "punctuation.definition.string.end.csound",
197
+ regex : /"/,
198
+ next : "macro parameter value list"
199
+ },
200
+ this.quotedStringContents,
201
+ {
202
+ defaultToken: "string.quoted.csound"
203
+ }
204
+ ],
205
+ "macro parameter value parenthetical": [
206
+ {
207
+ token : "constant.character.escape.csound",
208
+ regex : /\\\)/
209
+ }, this.popRule({
210
+ token : "punctuation.macro-parameter-value-parenthetical.end.csound",
211
+ regex : /\)/
212
+ }), this.pushRule({
213
+ token : "punctuation.macro-parameter-value-parenthetical.begin.csound",
214
+ regex : /\(/,
215
+ next : "macro parameter value parenthetical"
216
+ }),
217
+ start
218
+ ]
219
+ };
220
+ };
221
+
222
+ oop.inherits(CsoundPreprocessorHighlightRules, TextHighlightRules);
223
+
224
+ (function() {
225
+
226
+ this.pushRule = function(params) {
227
+ if (Array.isArray(params.next)) {
228
+ for (var i = 0; i < params.next.length; i++) {
229
+ params.next[i] = this.embeddedRulePrefix + params.next[i];
230
+ }
231
+ }
232
+
233
+ return {
234
+ regex : params.regex, onMatch: function(value, currentState, stack, line) {
235
+ if (stack.length === 0)
236
+ stack.push(currentState);
237
+ if (Array.isArray(params.next)) {
238
+ for (var i = 0; i < params.next.length; i++) {
239
+ stack.push(params.next[i]);
240
+ }
241
+ } else {
242
+ stack.push(params.next);
243
+ }
244
+ this.next = stack[stack.length - 1];
245
+ return params.token;
246
+ },
247
+
248
+ get next() { return Array.isArray(params.next) ? params.next[params.next.length - 1] : params.next; },
249
+ set next(next) {
250
+ if (!Array.isArray(params.next)) {
251
+ params.next = next;
252
+ }
253
+ },
254
+
255
+ get token() { return params.token; }
256
+ };
257
+ };
258
+
259
+ this.popRule = function(params) {
260
+ if (params.next) {
261
+ params.next = this.embeddedRulePrefix + params.next;
262
+ }
263
+
264
+ return {
265
+ regex : params.regex, onMatch: function(value, currentState, stack, line) {
266
+ stack.pop();
267
+ if (params.next) {
268
+ stack.push(params.next);
269
+ this.next = stack[stack.length - 1];
270
+ } else {
271
+ this.next = stack.length > 1 ? stack[stack.length - 1] : stack.pop();
272
+ }
273
+ return params.token;
274
+ }
275
+ };
276
+ };
277
+
278
+ }).call(CsoundPreprocessorHighlightRules.prototype);
279
+
280
+ exports.CsoundPreprocessorHighlightRules = CsoundPreprocessorHighlightRules;
281
+ });
282
+
283
+ ace.define("ace/mode/csound_score_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/csound_preprocessor_highlight_rules"], function(require, exports, module) {
284
+ "use strict";
285
+
286
+ var oop = require("../lib/oop");
287
+
288
+ var CsoundPreprocessorHighlightRules = require("./csound_preprocessor_highlight_rules").CsoundPreprocessorHighlightRules;
289
+
290
+ var CsoundScoreHighlightRules = function(embeddedRulePrefix) {
291
+
292
+ CsoundPreprocessorHighlightRules.call(this, embeddedRulePrefix);
293
+
294
+ this.quotedStringContents.push({
295
+ token : "invalid.illegal.csound-score",
296
+ regex : /[^"]*$/
297
+ });
298
+
299
+ var start = this.$rules.start;
300
+ start.push(
301
+ {
302
+ token : "keyword.control.csound-score",
303
+ regex : /[aBbCdefiqstvxy]/
304
+ }, {
305
+ token : "invalid.illegal.csound-score",
306
+ regex : /w/
307
+ }, {
308
+ token : "constant.numeric.language.csound-score",
309
+ regex : /z/
310
+ }, {
311
+ token : ["keyword.control.csound-score", "constant.numeric.integer.decimal.csound-score"],
312
+ regex : /([nNpP][pP])(\d+)/
313
+ }, {
314
+ token : "keyword.other.csound-score",
315
+ regex : /[mn]/,
316
+ push : [
317
+ {
318
+ token : "empty",
319
+ regex : /$/,
320
+ next : "pop"
321
+ },
322
+ this.comments,
323
+ {
324
+ token : "entity.name.label.csound-score",
325
+ regex : /[A-Z_a-z]\w*/
326
+ }
327
+ ]
328
+ }, {
329
+ token : "keyword.preprocessor.csound-score",
330
+ regex : /r\b/,
331
+ next : "repeat section"
332
+ },
333
+
334
+ this.numbers,
335
+
336
+ {
337
+ token : "keyword.operator.csound-score",
338
+ regex : "[!+\\-*/^%&|<>#~.]"
339
+ },
340
+
341
+ this.pushRule({
342
+ token : "punctuation.definition.string.begin.csound-score",
343
+ regex : /"/,
344
+ next : "quoted string"
345
+ }),
346
+
347
+ this.pushRule({
348
+ token : "punctuation.braced-loop.begin.csound-score",
349
+ regex : /{/,
350
+ next : "loop after left brace"
351
+ })
352
+ );
353
+
354
+ this.addRules({
355
+ "repeat section": [
356
+ {
357
+ token : "empty",
358
+ regex : /$/,
359
+ next : "start"
360
+ },
361
+ this.comments,
362
+ {
363
+ token : "constant.numeric.integer.decimal.csound-score",
364
+ regex : /\d+/,
365
+ next : "repeat section before label"
366
+ }
367
+ ],
368
+ "repeat section before label": [
369
+ {
370
+ token : "empty",
371
+ regex : /$/,
372
+ next : "start"
373
+ },
374
+ this.comments,
375
+ {
376
+ token : "entity.name.label.csound-score",
377
+ regex : /[A-Z_a-z]\w*/,
378
+ next : "start"
379
+ }
380
+ ],
381
+
382
+ "quoted string": [
383
+ this.popRule({
384
+ token : "punctuation.definition.string.end.csound-score",
385
+ regex : /"/
386
+ }),
387
+ this.quotedStringContents,
388
+ {
389
+ defaultToken: "string.quoted.csound-score"
390
+ }
391
+ ],
392
+
393
+ "loop after left brace": [
394
+ this.popRule({
395
+ token : "constant.numeric.integer.decimal.csound-score",
396
+ regex : /\d+/,
397
+ next : "loop after repeat count"
398
+ }),
399
+ this.comments,
400
+ {
401
+ token : "invalid.illegal.csound",
402
+ regex : /\S.*/
403
+ }
404
+ ],
405
+ "loop after repeat count": [
406
+ this.popRule({
407
+ token : "entity.name.function.preprocessor.csound-score",
408
+ regex : /[A-Z_a-z]\w*\b/,
409
+ next : "loop after macro name"
410
+ }),
411
+ this.comments,
412
+ {
413
+ token : "invalid.illegal.csound",
414
+ regex : /\S.*/
415
+ }
416
+ ],
417
+ "loop after macro name": [
418
+ start,
419
+ this.popRule({
420
+ token : "punctuation.braced-loop.end.csound-score",
421
+ regex : /}/
422
+ })
423
+ ]
424
+ });
425
+
426
+ this.normalizeRules();
427
+ };
428
+
429
+ oop.inherits(CsoundScoreHighlightRules, CsoundPreprocessorHighlightRules);
430
+
431
+ exports.CsoundScoreHighlightRules = CsoundScoreHighlightRules;
432
+ });
433
+
434
+ ace.define("ace/mode/lua_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function(require, exports, module) {
435
+ "use strict";
436
+
437
+ var oop = require("../lib/oop");
438
+ var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
439
+
440
+ var LuaHighlightRules = function() {
441
+
442
+ var keywords = (
443
+ "break|do|else|elseif|end|for|function|if|in|local|repeat|"+
444
+ "return|then|until|while|or|and|not"
445
+ );
446
+
447
+ var builtinConstants = ("true|false|nil|_G|_VERSION");
448
+
449
+ var functions = (
450
+ "string|xpcall|package|tostring|print|os|unpack|require|"+
451
+ "getfenv|setmetatable|next|assert|tonumber|io|rawequal|"+
452
+ "collectgarbage|getmetatable|module|rawset|math|debug|"+
453
+ "pcall|table|newproxy|type|coroutine|_G|select|gcinfo|"+
454
+ "pairs|rawget|loadstring|ipairs|_VERSION|dofile|setfenv|"+
455
+ "load|error|loadfile|"+
456
+
457
+ "sub|upper|len|gfind|rep|find|match|char|dump|gmatch|"+
458
+ "reverse|byte|format|gsub|lower|preload|loadlib|loaded|"+
459
+ "loaders|cpath|config|path|seeall|exit|setlocale|date|"+
460
+ "getenv|difftime|remove|time|clock|tmpname|rename|execute|"+
461
+ "lines|write|close|flush|open|output|type|read|stderr|"+
462
+ "stdin|input|stdout|popen|tmpfile|log|max|acos|huge|"+
463
+ "ldexp|pi|cos|tanh|pow|deg|tan|cosh|sinh|random|randomseed|"+
464
+ "frexp|ceil|floor|rad|abs|sqrt|modf|asin|min|mod|fmod|log10|"+
465
+ "atan2|exp|sin|atan|getupvalue|debug|sethook|getmetatable|"+
466
+ "gethook|setmetatable|setlocal|traceback|setfenv|getinfo|"+
467
+ "setupvalue|getlocal|getregistry|getfenv|setn|insert|getn|"+
468
+ "foreachi|maxn|foreach|concat|sort|remove|resume|yield|"+
469
+ "status|wrap|create|running|"+
470
+ "__add|__sub|__mod|__unm|__concat|__lt|__index|__call|__gc|__metatable|"+
471
+ "__mul|__div|__pow|__len|__eq|__le|__newindex|__tostring|__mode|__tonumber"
472
+ );
473
+
474
+ var stdLibaries = ("string|package|os|io|math|debug|table|coroutine");
475
+
476
+ var deprecatedIn5152 = ("setn|foreach|foreachi|gcinfo|log10|maxn");
477
+
478
+ var keywordMapper = this.createKeywordMapper({
479
+ "keyword": keywords,
480
+ "support.function": functions,
481
+ "keyword.deprecated": deprecatedIn5152,
482
+ "constant.library": stdLibaries,
483
+ "constant.language": builtinConstants,
484
+ "variable.language": "self"
485
+ }, "identifier");
486
+
487
+ var decimalInteger = "(?:(?:[1-9]\\d*)|(?:0))";
488
+ var hexInteger = "(?:0[xX][\\dA-Fa-f]+)";
489
+ var integer = "(?:" + decimalInteger + "|" + hexInteger + ")";
490
+
491
+ var fraction = "(?:\\.\\d+)";
492
+ var intPart = "(?:\\d+)";
493
+ var pointFloat = "(?:(?:" + intPart + "?" + fraction + ")|(?:" + intPart + "\\.))";
494
+ var floatNumber = "(?:" + pointFloat + ")";
495
+
496
+ this.$rules = {
497
+ "start" : [{
498
+ stateName: "bracketedComment",
499
+ onMatch : function(value, currentState, stack){
500
+ stack.unshift(this.next, value.length - 2, currentState);
501
+ return "comment";
502
+ },
503
+ regex : /\-\-\[=*\[/,
504
+ next : [
505
+ {
506
+ onMatch : function(value, currentState, stack) {
507
+ if (value.length == stack[1]) {
508
+ stack.shift();
509
+ stack.shift();
510
+ this.next = stack.shift();
511
+ } else {
512
+ this.next = "";
513
+ }
514
+ return "comment";
515
+ },
516
+ regex : /\]=*\]/,
517
+ next : "start"
518
+ }, {
519
+ defaultToken : "comment"
520
+ }
521
+ ]
522
+ },
523
+
524
+ {
525
+ token : "comment",
526
+ regex : "\\-\\-.*$"
527
+ },
528
+ {
529
+ stateName: "bracketedString",
530
+ onMatch : function(value, currentState, stack){
531
+ stack.unshift(this.next, value.length, currentState);
532
+ return "string.start";
533
+ },
534
+ regex : /\[=*\[/,
535
+ next : [
536
+ {
537
+ onMatch : function(value, currentState, stack) {
538
+ if (value.length == stack[1]) {
539
+ stack.shift();
540
+ stack.shift();
541
+ this.next = stack.shift();
542
+ } else {
543
+ this.next = "";
544
+ }
545
+ return "string.end";
546
+ },
547
+
548
+ regex : /\]=*\]/,
549
+ next : "start"
550
+ }, {
551
+ defaultToken : "string"
552
+ }
553
+ ]
554
+ },
555
+ {
556
+ token : "string", // " string
557
+ regex : '"(?:[^\\\\]|\\\\.)*?"'
558
+ }, {
559
+ token : "string", // ' string
560
+ regex : "'(?:[^\\\\]|\\\\.)*?'"
561
+ }, {
562
+ token : "constant.numeric", // float
563
+ regex : floatNumber
564
+ }, {
565
+ token : "constant.numeric", // integer
566
+ regex : integer + "\\b"
567
+ }, {
568
+ token : keywordMapper,
569
+ regex : "[a-zA-Z_$][a-zA-Z0-9_$]*\\b"
570
+ }, {
571
+ token : "keyword.operator",
572
+ regex : "\\+|\\-|\\*|\\/|%|\\#|\\^|~|<|>|<=|=>|==|~=|=|\\:|\\.\\.\\.|\\.\\."
573
+ }, {
574
+ token : "paren.lparen",
575
+ regex : "[\\[\\(\\{]"
576
+ }, {
577
+ token : "paren.rparen",
578
+ regex : "[\\]\\)\\}]"
579
+ }, {
580
+ token : "text",
581
+ regex : "\\s+|\\w+"
582
+ } ]
583
+ };
584
+
585
+ this.normalizeRules();
586
+ };
587
+
588
+ oop.inherits(LuaHighlightRules, TextHighlightRules);
589
+
590
+ exports.LuaHighlightRules = LuaHighlightRules;
591
+ });
592
+
593
+ ace.define("ace/mode/python_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function(require, exports, module) {
594
+ "use strict";
595
+
596
+ var oop = require("../lib/oop");
597
+ var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
598
+
599
+ var PythonHighlightRules = function() {
600
+
601
+ var keywords = (
602
+ "and|as|assert|break|class|continue|def|del|elif|else|except|exec|" +
603
+ "finally|for|from|global|if|import|in|is|lambda|not|or|pass|print|" +
604
+ "raise|return|try|while|with|yield|async|await|nonlocal"
605
+ );
606
+
607
+ var builtinConstants = (
608
+ "True|False|None|NotImplemented|Ellipsis|__debug__"
609
+ );
610
+
611
+ var builtinFunctions = (
612
+ "abs|divmod|input|open|staticmethod|all|enumerate|int|ord|str|any|" +
613
+ "eval|isinstance|pow|sum|basestring|execfile|issubclass|print|super|" +
614
+ "binfile|bin|iter|property|tuple|bool|filter|len|range|type|bytearray|" +
615
+ "float|list|raw_input|unichr|callable|format|locals|reduce|unicode|" +
616
+ "chr|frozenset|long|reload|vars|classmethod|getattr|map|repr|xrange|" +
617
+ "cmp|globals|max|reversed|zip|compile|hasattr|memoryview|round|" +
618
+ "__import__|complex|hash|min|apply|delattr|help|next|setattr|set|" +
619
+ "buffer|dict|hex|object|slice|coerce|dir|id|oct|sorted|intern|" +
620
+ "ascii|breakpoint|bytes"
621
+ );
622
+ var keywordMapper = this.createKeywordMapper({
623
+ "invalid.deprecated": "debugger",
624
+ "support.function": builtinFunctions,
625
+ "variable.language": "self|cls",
626
+ "constant.language": builtinConstants,
627
+ "keyword": keywords
628
+ }, "identifier");
629
+
630
+ var strPre = "[uU]?";
631
+ var strRawPre = "[rR]";
632
+ var strFormatPre = "[fF]";
633
+ var strRawFormatPre = "(?:[rR][fF]|[fF][rR])";
634
+ var decimalInteger = "(?:(?:[1-9]\\d*)|(?:0))";
635
+ var octInteger = "(?:0[oO]?[0-7]+)";
636
+ var hexInteger = "(?:0[xX][\\dA-Fa-f]+)";
637
+ var binInteger = "(?:0[bB][01]+)";
638
+ var integer = "(?:" + decimalInteger + "|" + octInteger + "|" + hexInteger + "|" + binInteger + ")";
639
+
640
+ var exponent = "(?:[eE][+-]?\\d+)";
641
+ var fraction = "(?:\\.\\d+)";
642
+ var intPart = "(?:\\d+)";
643
+ var pointFloat = "(?:(?:" + intPart + "?" + fraction + ")|(?:" + intPart + "\\.))";
644
+ var exponentFloat = "(?:(?:" + pointFloat + "|" + intPart + ")" + exponent + ")";
645
+ var floatNumber = "(?:" + exponentFloat + "|" + pointFloat + ")";
646
+
647
+ var stringEscape = "\\\\(x[0-9A-Fa-f]{2}|[0-7]{3}|[\\\\abfnrtv'\"]|U[0-9A-Fa-f]{8}|u[0-9A-Fa-f]{4})";
648
+
649
+ this.$rules = {
650
+ "start" : [ {
651
+ token : "comment",
652
+ regex : "#.*$"
653
+ }, {
654
+ token : "string", // multi line """ string start
655
+ regex : strPre + '"{3}',
656
+ next : "qqstring3"
657
+ }, {
658
+ token : "string", // " string
659
+ regex : strPre + '"(?=.)',
660
+ next : "qqstring"
661
+ }, {
662
+ token : "string", // multi line ''' string start
663
+ regex : strPre + "'{3}",
664
+ next : "qstring3"
665
+ }, {
666
+ token : "string", // ' string
667
+ regex : strPre + "'(?=.)",
668
+ next : "qstring"
669
+ }, {
670
+ token: "string",
671
+ regex: strRawPre + '"{3}',
672
+ next: "rawqqstring3"
673
+ }, {
674
+ token: "string",
675
+ regex: strRawPre + '"(?=.)',
676
+ next: "rawqqstring"
677
+ }, {
678
+ token: "string",
679
+ regex: strRawPre + "'{3}",
680
+ next: "rawqstring3"
681
+ }, {
682
+ token: "string",
683
+ regex: strRawPre + "'(?=.)",
684
+ next: "rawqstring"
685
+ }, {
686
+ token: "string",
687
+ regex: strFormatPre + '"{3}',
688
+ next: "fqqstring3"
689
+ }, {
690
+ token: "string",
691
+ regex: strFormatPre + '"(?=.)',
692
+ next: "fqqstring"
693
+ }, {
694
+ token: "string",
695
+ regex: strFormatPre + "'{3}",
696
+ next: "fqstring3"
697
+ }, {
698
+ token: "string",
699
+ regex: strFormatPre + "'(?=.)",
700
+ next: "fqstring"
701
+ },{
702
+ token: "string",
703
+ regex: strRawFormatPre + '"{3}',
704
+ next: "rfqqstring3"
705
+ }, {
706
+ token: "string",
707
+ regex: strRawFormatPre + '"(?=.)',
708
+ next: "rfqqstring"
709
+ }, {
710
+ token: "string",
711
+ regex: strRawFormatPre + "'{3}",
712
+ next: "rfqstring3"
713
+ }, {
714
+ token: "string",
715
+ regex: strRawFormatPre + "'(?=.)",
716
+ next: "rfqstring"
717
+ }, {
718
+ token: "keyword.operator",
719
+ regex: "\\+|\\-|\\*|\\*\\*|\\/|\\/\\/|%|@|<<|>>|&|\\||\\^|~|<|>|<=|=>|==|!=|<>|="
720
+ }, {
721
+ token: "punctuation",
722
+ regex: ",|:|;|\\->|\\+=|\\-=|\\*=|\\/=|\\/\\/=|%=|@=|&=|\\|=|^=|>>=|<<=|\\*\\*="
723
+ }, {
724
+ token: "paren.lparen",
725
+ regex: "[\\[\\(\\{]"
726
+ }, {
727
+ token: "paren.rparen",
728
+ regex: "[\\]\\)\\}]"
729
+ }, {
730
+ token: "text",
731
+ regex: "\\s+"
732
+ }, {
733
+ include: "constants"
734
+ }],
735
+ "qqstring3": [{
736
+ token: "constant.language.escape",
737
+ regex: stringEscape
738
+ }, {
739
+ token: "string", // multi line """ string end
740
+ regex: '"{3}',
741
+ next: "start"
742
+ }, {
743
+ defaultToken: "string"
744
+ }],
745
+ "qstring3": [{
746
+ token: "constant.language.escape",
747
+ regex: stringEscape
748
+ }, {
749
+ token: "string", // multi line ''' string end
750
+ regex: "'{3}",
751
+ next: "start"
752
+ }, {
753
+ defaultToken: "string"
754
+ }],
755
+ "qqstring": [{
756
+ token: "constant.language.escape",
757
+ regex: stringEscape
758
+ }, {
759
+ token: "string",
760
+ regex: "\\\\$",
761
+ next: "qqstring"
762
+ }, {
763
+ token: "string",
764
+ regex: '"|$',
765
+ next: "start"
766
+ }, {
767
+ defaultToken: "string"
768
+ }],
769
+ "qstring": [{
770
+ token: "constant.language.escape",
771
+ regex: stringEscape
772
+ }, {
773
+ token: "string",
774
+ regex: "\\\\$",
775
+ next: "qstring"
776
+ }, {
777
+ token: "string",
778
+ regex: "'|$",
779
+ next: "start"
780
+ }, {
781
+ defaultToken: "string"
782
+ }],
783
+ "rawqqstring3": [{
784
+ token: "string", // multi line """ string end
785
+ regex: '"{3}',
786
+ next: "start"
787
+ }, {
788
+ defaultToken: "string"
789
+ }],
790
+ "rawqstring3": [{
791
+ token: "string", // multi line ''' string end
792
+ regex: "'{3}",
793
+ next: "start"
794
+ }, {
795
+ defaultToken: "string"
796
+ }],
797
+ "rawqqstring": [{
798
+ token: "string",
799
+ regex: "\\\\$",
800
+ next: "rawqqstring"
801
+ }, {
802
+ token: "string",
803
+ regex: '"|$',
804
+ next: "start"
805
+ }, {
806
+ defaultToken: "string"
807
+ }],
808
+ "rawqstring": [{
809
+ token: "string",
810
+ regex: "\\\\$",
811
+ next: "rawqstring"
812
+ }, {
813
+ token: "string",
814
+ regex: "'|$",
815
+ next: "start"
816
+ }, {
817
+ defaultToken: "string"
818
+ }],
819
+ "fqqstring3": [{
820
+ token: "constant.language.escape",
821
+ regex: stringEscape
822
+ }, {
823
+ token: "string", // multi line """ string end
824
+ regex: '"{3}',
825
+ next: "start"
826
+ }, {
827
+ token: "paren.lparen",
828
+ regex: "{",
829
+ push: "fqstringParRules"
830
+ }, {
831
+ defaultToken: "string"
832
+ }],
833
+ "fqstring3": [{
834
+ token: "constant.language.escape",
835
+ regex: stringEscape
836
+ }, {
837
+ token: "string", // multi line ''' string end
838
+ regex: "'{3}",
839
+ next: "start"
840
+ }, {
841
+ token: "paren.lparen",
842
+ regex: "{",
843
+ push: "fqstringParRules"
844
+ }, {
845
+ defaultToken: "string"
846
+ }],
847
+ "fqqstring": [{
848
+ token: "constant.language.escape",
849
+ regex: stringEscape
850
+ }, {
851
+ token: "string",
852
+ regex: "\\\\$",
853
+ next: "fqqstring"
854
+ }, {
855
+ token: "string",
856
+ regex: '"|$',
857
+ next: "start"
858
+ }, {
859
+ token: "paren.lparen",
860
+ regex: "{",
861
+ push: "fqstringParRules"
862
+ }, {
863
+ defaultToken: "string"
864
+ }],
865
+ "fqstring": [{
866
+ token: "constant.language.escape",
867
+ regex: stringEscape
868
+ }, {
869
+ token: "string",
870
+ regex: "'|$",
871
+ next: "start"
872
+ }, {
873
+ token: "paren.lparen",
874
+ regex: "{",
875
+ push: "fqstringParRules"
876
+ }, {
877
+ defaultToken: "string"
878
+ }],
879
+ "rfqqstring3": [{
880
+ token: "string", // multi line """ string end
881
+ regex: '"{3}',
882
+ next: "start"
883
+ }, {
884
+ token: "paren.lparen",
885
+ regex: "{",
886
+ push: "fqstringParRules"
887
+ }, {
888
+ defaultToken: "string"
889
+ }],
890
+ "rfqstring3": [{
891
+ token: "string", // multi line ''' string end
892
+ regex: "'{3}",
893
+ next: "start"
894
+ }, {
895
+ token: "paren.lparen",
896
+ regex: "{",
897
+ push: "fqstringParRules"
898
+ }, {
899
+ defaultToken: "string"
900
+ }],
901
+ "rfqqstring": [{
902
+ token: "string",
903
+ regex: "\\\\$",
904
+ next: "rfqqstring"
905
+ }, {
906
+ token: "string",
907
+ regex: '"|$',
908
+ next: "start"
909
+ }, {
910
+ token: "paren.lparen",
911
+ regex: "{",
912
+ push: "fqstringParRules"
913
+ }, {
914
+ defaultToken: "string"
915
+ }],
916
+ "rfqstring": [{
917
+ token: "string",
918
+ regex: "'|$",
919
+ next: "start"
920
+ }, {
921
+ token: "paren.lparen",
922
+ regex: "{",
923
+ push: "fqstringParRules"
924
+ }, {
925
+ defaultToken: "string"
926
+ }],
927
+ "fqstringParRules": [{//TODO: nested {}
928
+ token: "paren.lparen",
929
+ regex: "[\\[\\(]"
930
+ }, {
931
+ token: "paren.rparen",
932
+ regex: "[\\]\\)]"
933
+ }, {
934
+ token: "string",
935
+ regex: "\\s+"
936
+ }, {
937
+ token: "string",
938
+ regex: "'[^']*'"
939
+ }, {
940
+ token: "string",
941
+ regex: '"[^"]*"'
942
+ }, {
943
+ token: "function.support",
944
+ regex: "(!s|!r|!a)"
945
+ }, {
946
+ include: "constants"
947
+ },{
948
+ token: 'paren.rparen',
949
+ regex: "}",
950
+ next: 'pop'
951
+ },{
952
+ token: 'paren.lparen',
953
+ regex: "{",
954
+ push: "fqstringParRules"
955
+ }],
956
+ "constants": [{
957
+ token: "constant.numeric", // imaginary
958
+ regex: "(?:" + floatNumber + "|\\d+)[jJ]\\b"
959
+ }, {
960
+ token: "constant.numeric", // float
961
+ regex: floatNumber
962
+ }, {
963
+ token: "constant.numeric", // long integer
964
+ regex: integer + "[lL]\\b"
965
+ }, {
966
+ token: "constant.numeric", // integer
967
+ regex: integer + "\\b"
968
+ }, {
969
+ token: ["punctuation", "function.support"],// method
970
+ regex: "(\\.)([a-zA-Z_]+)\\b"
971
+ }, {
972
+ token: keywordMapper,
973
+ regex: "[a-zA-Z_$][a-zA-Z0-9_$]*\\b"
974
+ }]
975
+ };
976
+ this.normalizeRules();
977
+ };
978
+
979
+ oop.inherits(PythonHighlightRules, TextHighlightRules);
980
+
981
+ exports.PythonHighlightRules = PythonHighlightRules;
982
+ });
983
+
984
+ ace.define("ace/mode/csound_orchestra_highlight_rules",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/mode/csound_preprocessor_highlight_rules","ace/mode/csound_score_highlight_rules","ace/mode/lua_highlight_rules","ace/mode/python_highlight_rules"], function(require, exports, module) {
985
+ "use strict";
986
+
987
+ var lang = require("../lib/lang");
988
+ var oop = require("../lib/oop");
989
+
990
+ var CsoundPreprocessorHighlightRules = require("./csound_preprocessor_highlight_rules").CsoundPreprocessorHighlightRules;
991
+ var CsoundScoreHighlightRules = require("./csound_score_highlight_rules").CsoundScoreHighlightRules;
992
+ var LuaHighlightRules = require("./lua_highlight_rules").LuaHighlightRules;
993
+ var PythonHighlightRules = require("./python_highlight_rules").PythonHighlightRules;
994
+
995
+ var CsoundOrchestraHighlightRules = function(embeddedRulePrefix) {
996
+
997
+ CsoundPreprocessorHighlightRules.call(this, embeddedRulePrefix);
998
+ var opcodes = [
999
+ "ATSadd",
1000
+ "ATSaddnz",
1001
+ "ATSbufread",
1002
+ "ATScross",
1003
+ "ATSinfo",
1004
+ "ATSinterpread",
1005
+ "ATSpartialtap",
1006
+ "ATSread",
1007
+ "ATSreadnz",
1008
+ "ATSsinnoi",
1009
+ "FLbox",
1010
+ "FLbutBank",
1011
+ "FLbutton",
1012
+ "FLcloseButton",
1013
+ "FLcolor",
1014
+ "FLcolor2",
1015
+ "FLcount",
1016
+ "FLexecButton",
1017
+ "FLgetsnap",
1018
+ "FLgroup",
1019
+ "FLgroupEnd",
1020
+ "FLgroup_end",
1021
+ "FLhide",
1022
+ "FLhvsBox",
1023
+ "FLhvsBoxSetValue",
1024
+ "FLjoy",
1025
+ "FLkeyIn",
1026
+ "FLknob",
1027
+ "FLlabel",
1028
+ "FLloadsnap",
1029
+ "FLmouse",
1030
+ "FLpack",
1031
+ "FLpackEnd",
1032
+ "FLpack_end",
1033
+ "FLpanel",
1034
+ "FLpanelEnd",
1035
+ "FLpanel_end",
1036
+ "FLprintk",
1037
+ "FLprintk2",
1038
+ "FLroller",
1039
+ "FLrun",
1040
+ "FLsavesnap",
1041
+ "FLscroll",
1042
+ "FLscrollEnd",
1043
+ "FLscroll_end",
1044
+ "FLsetAlign",
1045
+ "FLsetBox",
1046
+ "FLsetColor",
1047
+ "FLsetColor2",
1048
+ "FLsetFont",
1049
+ "FLsetPosition",
1050
+ "FLsetSize",
1051
+ "FLsetSnapGroup",
1052
+ "FLsetText",
1053
+ "FLsetTextColor",
1054
+ "FLsetTextSize",
1055
+ "FLsetTextType",
1056
+ "FLsetVal",
1057
+ "FLsetVal_i",
1058
+ "FLsetVali",
1059
+ "FLsetsnap",
1060
+ "FLshow",
1061
+ "FLslidBnk",
1062
+ "FLslidBnk2",
1063
+ "FLslidBnk2Set",
1064
+ "FLslidBnk2Setk",
1065
+ "FLslidBnkGetHandle",
1066
+ "FLslidBnkSet",
1067
+ "FLslidBnkSetk",
1068
+ "FLslider",
1069
+ "FLtabs",
1070
+ "FLtabsEnd",
1071
+ "FLtabs_end",
1072
+ "FLtext",
1073
+ "FLupdate",
1074
+ "FLvalue",
1075
+ "FLvkeybd",
1076
+ "FLvslidBnk",
1077
+ "FLvslidBnk2",
1078
+ "FLxyin",
1079
+ "JackoAudioIn",
1080
+ "JackoAudioInConnect",
1081
+ "JackoAudioOut",
1082
+ "JackoAudioOutConnect",
1083
+ "JackoFreewheel",
1084
+ "JackoInfo",
1085
+ "JackoInit",
1086
+ "JackoMidiInConnect",
1087
+ "JackoMidiOut",
1088
+ "JackoMidiOutConnect",
1089
+ "JackoNoteOut",
1090
+ "JackoOn",
1091
+ "JackoTransport",
1092
+ "K35_hpf",
1093
+ "K35_lpf",
1094
+ "MixerClear",
1095
+ "MixerGetLevel",
1096
+ "MixerReceive",
1097
+ "MixerSend",
1098
+ "MixerSetLevel",
1099
+ "MixerSetLevel_i",
1100
+ "OSCbundle",
1101
+ "OSCcount",
1102
+ "OSCinit",
1103
+ "OSCinitM",
1104
+ "OSClisten",
1105
+ "OSCraw",
1106
+ "OSCsend",
1107
+ "OSCsend_lo",
1108
+ "S",
1109
+ "STKBandedWG",
1110
+ "STKBeeThree",
1111
+ "STKBlowBotl",
1112
+ "STKBlowHole",
1113
+ "STKBowed",
1114
+ "STKBrass",
1115
+ "STKClarinet",
1116
+ "STKDrummer",
1117
+ "STKFMVoices",
1118
+ "STKFlute",
1119
+ "STKHevyMetl",
1120
+ "STKMandolin",
1121
+ "STKModalBar",
1122
+ "STKMoog",
1123
+ "STKPercFlut",
1124
+ "STKPlucked",
1125
+ "STKResonate",
1126
+ "STKRhodey",
1127
+ "STKSaxofony",
1128
+ "STKShakers",
1129
+ "STKSimple",
1130
+ "STKSitar",
1131
+ "STKStifKarp",
1132
+ "STKTubeBell",
1133
+ "STKVoicForm",
1134
+ "STKWhistle",
1135
+ "STKWurley",
1136
+ "a",
1137
+ "abs",
1138
+ "active",
1139
+ "adsr",
1140
+ "adsyn",
1141
+ "adsynt",
1142
+ "adsynt2",
1143
+ "aftouch",
1144
+ "allpole",
1145
+ "alpass",
1146
+ "alwayson",
1147
+ "ampdb",
1148
+ "ampdbfs",
1149
+ "ampmidi",
1150
+ "ampmidicurve",
1151
+ "ampmidid",
1152
+ "apoleparams",
1153
+ "arduinoRead",
1154
+ "arduinoReadF",
1155
+ "arduinoStart",
1156
+ "arduinoStop",
1157
+ "areson",
1158
+ "aresonk",
1159
+ "atone",
1160
+ "atonek",
1161
+ "atonex",
1162
+ "autocorr",
1163
+ "babo",
1164
+ "balance",
1165
+ "balance2",
1166
+ "bamboo",
1167
+ "barmodel",
1168
+ "bbcutm",
1169
+ "bbcuts",
1170
+ "betarand",
1171
+ "bexprnd",
1172
+ "bformdec1",
1173
+ "bformenc1",
1174
+ "binit",
1175
+ "biquad",
1176
+ "biquada",
1177
+ "birnd",
1178
+ "bob",
1179
+ "bpf",
1180
+ "bpfcos",
1181
+ "bqrez",
1182
+ "butbp",
1183
+ "butbr",
1184
+ "buthp",
1185
+ "butlp",
1186
+ "butterbp",
1187
+ "butterbr",
1188
+ "butterhp",
1189
+ "butterlp",
1190
+ "button",
1191
+ "buzz",
1192
+ "c2r",
1193
+ "cabasa",
1194
+ "cauchy",
1195
+ "cauchyi",
1196
+ "cbrt",
1197
+ "ceil",
1198
+ "cell",
1199
+ "cent",
1200
+ "centroid",
1201
+ "ceps",
1202
+ "cepsinv",
1203
+ "chanctrl",
1204
+ "changed",
1205
+ "changed2",
1206
+ "chani",
1207
+ "chano",
1208
+ "chebyshevpoly",
1209
+ "checkbox",
1210
+ "chn_S",
1211
+ "chn_a",
1212
+ "chn_k",
1213
+ "chnclear",
1214
+ "chnexport",
1215
+ "chnget",
1216
+ "chngeta",
1217
+ "chngeti",
1218
+ "chngetk",
1219
+ "chngetks",
1220
+ "chngets",
1221
+ "chnmix",
1222
+ "chnparams",
1223
+ "chnset",
1224
+ "chnseta",
1225
+ "chnseti",
1226
+ "chnsetk",
1227
+ "chnsetks",
1228
+ "chnsets",
1229
+ "chuap",
1230
+ "clear",
1231
+ "clfilt",
1232
+ "clip",
1233
+ "clockoff",
1234
+ "clockon",
1235
+ "cmp",
1236
+ "cmplxprod",
1237
+ "cntCreate",
1238
+ "cntCycles",
1239
+ "cntDelete",
1240
+ "cntDelete_i",
1241
+ "cntRead",
1242
+ "cntReset",
1243
+ "cntState",
1244
+ "comb",
1245
+ "combinv",
1246
+ "compilecsd",
1247
+ "compileorc",
1248
+ "compilestr",
1249
+ "compress",
1250
+ "compress2",
1251
+ "connect",
1252
+ "control",
1253
+ "convle",
1254
+ "convolve",
1255
+ "copya2ftab",
1256
+ "copyf2array",
1257
+ "cos",
1258
+ "cosh",
1259
+ "cosinv",
1260
+ "cosseg",
1261
+ "cossegb",
1262
+ "cossegr",
1263
+ "count",
1264
+ "count_i",
1265
+ "cps2pch",
1266
+ "cpsmidi",
1267
+ "cpsmidib",
1268
+ "cpsmidinn",
1269
+ "cpsoct",
1270
+ "cpspch",
1271
+ "cpstmid",
1272
+ "cpstun",
1273
+ "cpstuni",
1274
+ "cpsxpch",
1275
+ "cpumeter",
1276
+ "cpuprc",
1277
+ "cross2",
1278
+ "crossfm",
1279
+ "crossfmi",
1280
+ "crossfmpm",
1281
+ "crossfmpmi",
1282
+ "crosspm",
1283
+ "crosspmi",
1284
+ "crunch",
1285
+ "ctlchn",
1286
+ "ctrl14",
1287
+ "ctrl21",
1288
+ "ctrl7",
1289
+ "ctrlinit",
1290
+ "ctrlpreset",
1291
+ "ctrlprint",
1292
+ "ctrlprintpresets",
1293
+ "ctrlsave",
1294
+ "ctrlselect",
1295
+ "cuserrnd",
1296
+ "dam",
1297
+ "date",
1298
+ "dates",
1299
+ "db",
1300
+ "dbamp",
1301
+ "dbfsamp",
1302
+ "dcblock",
1303
+ "dcblock2",
1304
+ "dconv",
1305
+ "dct",
1306
+ "dctinv",
1307
+ "deinterleave",
1308
+ "delay",
1309
+ "delay1",
1310
+ "delayk",
1311
+ "delayr",
1312
+ "delayw",
1313
+ "deltap",
1314
+ "deltap3",
1315
+ "deltapi",
1316
+ "deltapn",
1317
+ "deltapx",
1318
+ "deltapxw",
1319
+ "denorm",
1320
+ "diff",
1321
+ "diode_ladder",
1322
+ "directory",
1323
+ "diskgrain",
1324
+ "diskin",
1325
+ "diskin2",
1326
+ "dispfft",
1327
+ "display",
1328
+ "distort",
1329
+ "distort1",
1330
+ "divz",
1331
+ "doppler",
1332
+ "dot",
1333
+ "downsamp",
1334
+ "dripwater",
1335
+ "dssiactivate",
1336
+ "dssiaudio",
1337
+ "dssictls",
1338
+ "dssiinit",
1339
+ "dssilist",
1340
+ "dumpk",
1341
+ "dumpk2",
1342
+ "dumpk3",
1343
+ "dumpk4",
1344
+ "duserrnd",
1345
+ "dust",
1346
+ "dust2",
1347
+ "envlpx",
1348
+ "envlpxr",
1349
+ "ephasor",
1350
+ "eqfil",
1351
+ "evalstr",
1352
+ "event",
1353
+ "event_i",
1354
+ "exciter",
1355
+ "exitnow",
1356
+ "exp",
1357
+ "expcurve",
1358
+ "expon",
1359
+ "exprand",
1360
+ "exprandi",
1361
+ "expseg",
1362
+ "expsega",
1363
+ "expsegb",
1364
+ "expsegba",
1365
+ "expsegr",
1366
+ "fareylen",
1367
+ "fareyleni",
1368
+ "faustaudio",
1369
+ "faustcompile",
1370
+ "faustctl",
1371
+ "faustdsp",
1372
+ "faustgen",
1373
+ "faustplay",
1374
+ "fft",
1375
+ "fftinv",
1376
+ "ficlose",
1377
+ "filebit",
1378
+ "filelen",
1379
+ "filenchnls",
1380
+ "filepeak",
1381
+ "filescal",
1382
+ "filesr",
1383
+ "filevalid",
1384
+ "fillarray",
1385
+ "filter2",
1386
+ "fin",
1387
+ "fini",
1388
+ "fink",
1389
+ "fiopen",
1390
+ "flanger",
1391
+ "flashtxt",
1392
+ "flooper",
1393
+ "flooper2",
1394
+ "floor",
1395
+ "fluidAllOut",
1396
+ "fluidCCi",
1397
+ "fluidCCk",
1398
+ "fluidControl",
1399
+ "fluidEngine",
1400
+ "fluidInfo",
1401
+ "fluidLoad",
1402
+ "fluidNote",
1403
+ "fluidOut",
1404
+ "fluidProgramSelect",
1405
+ "fluidSetInterpMethod",
1406
+ "fmanal",
1407
+ "fmax",
1408
+ "fmb3",
1409
+ "fmbell",
1410
+ "fmin",
1411
+ "fmmetal",
1412
+ "fmod",
1413
+ "fmpercfl",
1414
+ "fmrhode",
1415
+ "fmvoice",
1416
+ "fmwurlie",
1417
+ "fof",
1418
+ "fof2",
1419
+ "fofilter",
1420
+ "fog",
1421
+ "fold",
1422
+ "follow",
1423
+ "follow2",
1424
+ "foscil",
1425
+ "foscili",
1426
+ "fout",
1427
+ "fouti",
1428
+ "foutir",
1429
+ "foutk",
1430
+ "fprintks",
1431
+ "fprints",
1432
+ "frac",
1433
+ "fractalnoise",
1434
+ "framebuffer",
1435
+ "freeverb",
1436
+ "ftaudio",
1437
+ "ftchnls",
1438
+ "ftconv",
1439
+ "ftcps",
1440
+ "ftexists",
1441
+ "ftfree",
1442
+ "ftgen",
1443
+ "ftgenonce",
1444
+ "ftgentmp",
1445
+ "ftlen",
1446
+ "ftload",
1447
+ "ftloadk",
1448
+ "ftlptim",
1449
+ "ftmorf",
1450
+ "ftom",
1451
+ "ftprint",
1452
+ "ftresize",
1453
+ "ftresizei",
1454
+ "ftsamplebank",
1455
+ "ftsave",
1456
+ "ftsavek",
1457
+ "ftset",
1458
+ "ftslice",
1459
+ "ftslicei",
1460
+ "ftsr",
1461
+ "gain",
1462
+ "gainslider",
1463
+ "gauss",
1464
+ "gaussi",
1465
+ "gausstrig",
1466
+ "gbuzz",
1467
+ "genarray",
1468
+ "genarray_i",
1469
+ "gendy",
1470
+ "gendyc",
1471
+ "gendyx",
1472
+ "getcfg",
1473
+ "getcol",
1474
+ "getftargs",
1475
+ "getrow",
1476
+ "getseed",
1477
+ "gogobel",
1478
+ "grain",
1479
+ "grain2",
1480
+ "grain3",
1481
+ "granule",
1482
+ "gtf",
1483
+ "guiro",
1484
+ "harmon",
1485
+ "harmon2",
1486
+ "harmon3",
1487
+ "harmon4",
1488
+ "hdf5read",
1489
+ "hdf5write",
1490
+ "hilbert",
1491
+ "hilbert2",
1492
+ "hrtfearly",
1493
+ "hrtfmove",
1494
+ "hrtfmove2",
1495
+ "hrtfreverb",
1496
+ "hrtfstat",
1497
+ "hsboscil",
1498
+ "hvs1",
1499
+ "hvs2",
1500
+ "hvs3",
1501
+ "hypot",
1502
+ "i",
1503
+ "ihold",
1504
+ "imagecreate",
1505
+ "imagefree",
1506
+ "imagegetpixel",
1507
+ "imageload",
1508
+ "imagesave",
1509
+ "imagesetpixel",
1510
+ "imagesize",
1511
+ "in",
1512
+ "in32",
1513
+ "inch",
1514
+ "inh",
1515
+ "init",
1516
+ "initc14",
1517
+ "initc21",
1518
+ "initc7",
1519
+ "inleta",
1520
+ "inletf",
1521
+ "inletk",
1522
+ "inletkid",
1523
+ "inletv",
1524
+ "ino",
1525
+ "inq",
1526
+ "inrg",
1527
+ "ins",
1528
+ "insglobal",
1529
+ "insremot",
1530
+ "int",
1531
+ "integ",
1532
+ "interleave",
1533
+ "interp",
1534
+ "invalue",
1535
+ "inx",
1536
+ "inz",
1537
+ "jacktransport",
1538
+ "jitter",
1539
+ "jitter2",
1540
+ "joystick",
1541
+ "jspline",
1542
+ "k",
1543
+ "la_i_add_mc",
1544
+ "la_i_add_mr",
1545
+ "la_i_add_vc",
1546
+ "la_i_add_vr",
1547
+ "la_i_assign_mc",
1548
+ "la_i_assign_mr",
1549
+ "la_i_assign_t",
1550
+ "la_i_assign_vc",
1551
+ "la_i_assign_vr",
1552
+ "la_i_conjugate_mc",
1553
+ "la_i_conjugate_mr",
1554
+ "la_i_conjugate_vc",
1555
+ "la_i_conjugate_vr",
1556
+ "la_i_distance_vc",
1557
+ "la_i_distance_vr",
1558
+ "la_i_divide_mc",
1559
+ "la_i_divide_mr",
1560
+ "la_i_divide_vc",
1561
+ "la_i_divide_vr",
1562
+ "la_i_dot_mc",
1563
+ "la_i_dot_mc_vc",
1564
+ "la_i_dot_mr",
1565
+ "la_i_dot_mr_vr",
1566
+ "la_i_dot_vc",
1567
+ "la_i_dot_vr",
1568
+ "la_i_get_mc",
1569
+ "la_i_get_mr",
1570
+ "la_i_get_vc",
1571
+ "la_i_get_vr",
1572
+ "la_i_invert_mc",
1573
+ "la_i_invert_mr",
1574
+ "la_i_lower_solve_mc",
1575
+ "la_i_lower_solve_mr",
1576
+ "la_i_lu_det_mc",
1577
+ "la_i_lu_det_mr",
1578
+ "la_i_lu_factor_mc",
1579
+ "la_i_lu_factor_mr",
1580
+ "la_i_lu_solve_mc",
1581
+ "la_i_lu_solve_mr",
1582
+ "la_i_mc_create",
1583
+ "la_i_mc_set",
1584
+ "la_i_mr_create",
1585
+ "la_i_mr_set",
1586
+ "la_i_multiply_mc",
1587
+ "la_i_multiply_mr",
1588
+ "la_i_multiply_vc",
1589
+ "la_i_multiply_vr",
1590
+ "la_i_norm1_mc",
1591
+ "la_i_norm1_mr",
1592
+ "la_i_norm1_vc",
1593
+ "la_i_norm1_vr",
1594
+ "la_i_norm_euclid_mc",
1595
+ "la_i_norm_euclid_mr",
1596
+ "la_i_norm_euclid_vc",
1597
+ "la_i_norm_euclid_vr",
1598
+ "la_i_norm_inf_mc",
1599
+ "la_i_norm_inf_mr",
1600
+ "la_i_norm_inf_vc",
1601
+ "la_i_norm_inf_vr",
1602
+ "la_i_norm_max_mc",
1603
+ "la_i_norm_max_mr",
1604
+ "la_i_print_mc",
1605
+ "la_i_print_mr",
1606
+ "la_i_print_vc",
1607
+ "la_i_print_vr",
1608
+ "la_i_qr_eigen_mc",
1609
+ "la_i_qr_eigen_mr",
1610
+ "la_i_qr_factor_mc",
1611
+ "la_i_qr_factor_mr",
1612
+ "la_i_qr_sym_eigen_mc",
1613
+ "la_i_qr_sym_eigen_mr",
1614
+ "la_i_random_mc",
1615
+ "la_i_random_mr",
1616
+ "la_i_random_vc",
1617
+ "la_i_random_vr",
1618
+ "la_i_size_mc",
1619
+ "la_i_size_mr",
1620
+ "la_i_size_vc",
1621
+ "la_i_size_vr",
1622
+ "la_i_subtract_mc",
1623
+ "la_i_subtract_mr",
1624
+ "la_i_subtract_vc",
1625
+ "la_i_subtract_vr",
1626
+ "la_i_t_assign",
1627
+ "la_i_trace_mc",
1628
+ "la_i_trace_mr",
1629
+ "la_i_transpose_mc",
1630
+ "la_i_transpose_mr",
1631
+ "la_i_upper_solve_mc",
1632
+ "la_i_upper_solve_mr",
1633
+ "la_i_vc_create",
1634
+ "la_i_vc_set",
1635
+ "la_i_vr_create",
1636
+ "la_i_vr_set",
1637
+ "la_k_a_assign",
1638
+ "la_k_add_mc",
1639
+ "la_k_add_mr",
1640
+ "la_k_add_vc",
1641
+ "la_k_add_vr",
1642
+ "la_k_assign_a",
1643
+ "la_k_assign_f",
1644
+ "la_k_assign_mc",
1645
+ "la_k_assign_mr",
1646
+ "la_k_assign_t",
1647
+ "la_k_assign_vc",
1648
+ "la_k_assign_vr",
1649
+ "la_k_conjugate_mc",
1650
+ "la_k_conjugate_mr",
1651
+ "la_k_conjugate_vc",
1652
+ "la_k_conjugate_vr",
1653
+ "la_k_current_f",
1654
+ "la_k_current_vr",
1655
+ "la_k_distance_vc",
1656
+ "la_k_distance_vr",
1657
+ "la_k_divide_mc",
1658
+ "la_k_divide_mr",
1659
+ "la_k_divide_vc",
1660
+ "la_k_divide_vr",
1661
+ "la_k_dot_mc",
1662
+ "la_k_dot_mc_vc",
1663
+ "la_k_dot_mr",
1664
+ "la_k_dot_mr_vr",
1665
+ "la_k_dot_vc",
1666
+ "la_k_dot_vr",
1667
+ "la_k_f_assign",
1668
+ "la_k_get_mc",
1669
+ "la_k_get_mr",
1670
+ "la_k_get_vc",
1671
+ "la_k_get_vr",
1672
+ "la_k_invert_mc",
1673
+ "la_k_invert_mr",
1674
+ "la_k_lower_solve_mc",
1675
+ "la_k_lower_solve_mr",
1676
+ "la_k_lu_det_mc",
1677
+ "la_k_lu_det_mr",
1678
+ "la_k_lu_factor_mc",
1679
+ "la_k_lu_factor_mr",
1680
+ "la_k_lu_solve_mc",
1681
+ "la_k_lu_solve_mr",
1682
+ "la_k_mc_set",
1683
+ "la_k_mr_set",
1684
+ "la_k_multiply_mc",
1685
+ "la_k_multiply_mr",
1686
+ "la_k_multiply_vc",
1687
+ "la_k_multiply_vr",
1688
+ "la_k_norm1_mc",
1689
+ "la_k_norm1_mr",
1690
+ "la_k_norm1_vc",
1691
+ "la_k_norm1_vr",
1692
+ "la_k_norm_euclid_mc",
1693
+ "la_k_norm_euclid_mr",
1694
+ "la_k_norm_euclid_vc",
1695
+ "la_k_norm_euclid_vr",
1696
+ "la_k_norm_inf_mc",
1697
+ "la_k_norm_inf_mr",
1698
+ "la_k_norm_inf_vc",
1699
+ "la_k_norm_inf_vr",
1700
+ "la_k_norm_max_mc",
1701
+ "la_k_norm_max_mr",
1702
+ "la_k_qr_eigen_mc",
1703
+ "la_k_qr_eigen_mr",
1704
+ "la_k_qr_factor_mc",
1705
+ "la_k_qr_factor_mr",
1706
+ "la_k_qr_sym_eigen_mc",
1707
+ "la_k_qr_sym_eigen_mr",
1708
+ "la_k_random_mc",
1709
+ "la_k_random_mr",
1710
+ "la_k_random_vc",
1711
+ "la_k_random_vr",
1712
+ "la_k_subtract_mc",
1713
+ "la_k_subtract_mr",
1714
+ "la_k_subtract_vc",
1715
+ "la_k_subtract_vr",
1716
+ "la_k_t_assign",
1717
+ "la_k_trace_mc",
1718
+ "la_k_trace_mr",
1719
+ "la_k_upper_solve_mc",
1720
+ "la_k_upper_solve_mr",
1721
+ "la_k_vc_set",
1722
+ "la_k_vr_set",
1723
+ "lag",
1724
+ "lagud",
1725
+ "lastcycle",
1726
+ "lenarray",
1727
+ "lfo",
1728
+ "lfsr",
1729
+ "limit",
1730
+ "limit1",
1731
+ "lincos",
1732
+ "line",
1733
+ "linen",
1734
+ "linenr",
1735
+ "lineto",
1736
+ "link_beat_force",
1737
+ "link_beat_get",
1738
+ "link_beat_request",
1739
+ "link_create",
1740
+ "link_enable",
1741
+ "link_is_enabled",
1742
+ "link_metro",
1743
+ "link_peers",
1744
+ "link_tempo_get",
1745
+ "link_tempo_set",
1746
+ "linlin",
1747
+ "linrand",
1748
+ "linseg",
1749
+ "linsegb",
1750
+ "linsegr",
1751
+ "liveconv",
1752
+ "locsend",
1753
+ "locsig",
1754
+ "log",
1755
+ "log10",
1756
+ "log2",
1757
+ "logbtwo",
1758
+ "logcurve",
1759
+ "loopseg",
1760
+ "loopsegp",
1761
+ "looptseg",
1762
+ "loopxseg",
1763
+ "lorenz",
1764
+ "loscil",
1765
+ "loscil3",
1766
+ "loscil3phs",
1767
+ "loscilphs",
1768
+ "loscilx",
1769
+ "lowpass2",
1770
+ "lowres",
1771
+ "lowresx",
1772
+ "lpcanal",
1773
+ "lpcfilter",
1774
+ "lpf18",
1775
+ "lpform",
1776
+ "lpfreson",
1777
+ "lphasor",
1778
+ "lpinterp",
1779
+ "lposcil",
1780
+ "lposcil3",
1781
+ "lposcila",
1782
+ "lposcilsa",
1783
+ "lposcilsa2",
1784
+ "lpread",
1785
+ "lpreson",
1786
+ "lpshold",
1787
+ "lpsholdp",
1788
+ "lpslot",
1789
+ "lufs",
1790
+ "mac",
1791
+ "maca",
1792
+ "madsr",
1793
+ "mags",
1794
+ "mandel",
1795
+ "mandol",
1796
+ "maparray",
1797
+ "maparray_i",
1798
+ "marimba",
1799
+ "massign",
1800
+ "max",
1801
+ "max_k",
1802
+ "maxabs",
1803
+ "maxabsaccum",
1804
+ "maxaccum",
1805
+ "maxalloc",
1806
+ "maxarray",
1807
+ "mclock",
1808
+ "mdelay",
1809
+ "median",
1810
+ "mediank",
1811
+ "metro",
1812
+ "metro2",
1813
+ "mfb",
1814
+ "midglobal",
1815
+ "midiarp",
1816
+ "midic14",
1817
+ "midic21",
1818
+ "midic7",
1819
+ "midichannelaftertouch",
1820
+ "midichn",
1821
+ "midicontrolchange",
1822
+ "midictrl",
1823
+ "mididefault",
1824
+ "midifilestatus",
1825
+ "midiin",
1826
+ "midinoteoff",
1827
+ "midinoteoncps",
1828
+ "midinoteonkey",
1829
+ "midinoteonoct",
1830
+ "midinoteonpch",
1831
+ "midion",
1832
+ "midion2",
1833
+ "midiout",
1834
+ "midiout_i",
1835
+ "midipgm",
1836
+ "midipitchbend",
1837
+ "midipolyaftertouch",
1838
+ "midiprogramchange",
1839
+ "miditempo",
1840
+ "midremot",
1841
+ "min",
1842
+ "minabs",
1843
+ "minabsaccum",
1844
+ "minaccum",
1845
+ "minarray",
1846
+ "mincer",
1847
+ "mirror",
1848
+ "mode",
1849
+ "modmatrix",
1850
+ "monitor",
1851
+ "moog",
1852
+ "moogladder",
1853
+ "moogladder2",
1854
+ "moogvcf",
1855
+ "moogvcf2",
1856
+ "moscil",
1857
+ "mp3bitrate",
1858
+ "mp3in",
1859
+ "mp3len",
1860
+ "mp3nchnls",
1861
+ "mp3scal",
1862
+ "mp3sr",
1863
+ "mpulse",
1864
+ "mrtmsg",
1865
+ "ms2st",
1866
+ "mtof",
1867
+ "mton",
1868
+ "multitap",
1869
+ "mute",
1870
+ "mvchpf",
1871
+ "mvclpf1",
1872
+ "mvclpf2",
1873
+ "mvclpf3",
1874
+ "mvclpf4",
1875
+ "mvmfilter",
1876
+ "mxadsr",
1877
+ "nchnls_hw",
1878
+ "nestedap",
1879
+ "nlalp",
1880
+ "nlfilt",
1881
+ "nlfilt2",
1882
+ "noise",
1883
+ "noteoff",
1884
+ "noteon",
1885
+ "noteondur",
1886
+ "noteondur2",
1887
+ "notnum",
1888
+ "nreverb",
1889
+ "nrpn",
1890
+ "nsamp",
1891
+ "nstance",
1892
+ "nstrnum",
1893
+ "nstrstr",
1894
+ "ntof",
1895
+ "ntom",
1896
+ "ntrpol",
1897
+ "nxtpow2",
1898
+ "octave",
1899
+ "octcps",
1900
+ "octmidi",
1901
+ "octmidib",
1902
+ "octmidinn",
1903
+ "octpch",
1904
+ "olabuffer",
1905
+ "oscbnk",
1906
+ "oscil",
1907
+ "oscil1",
1908
+ "oscil1i",
1909
+ "oscil3",
1910
+ "oscili",
1911
+ "oscilikt",
1912
+ "osciliktp",
1913
+ "oscilikts",
1914
+ "osciln",
1915
+ "oscils",
1916
+ "oscilx",
1917
+ "out",
1918
+ "out32",
1919
+ "outall",
1920
+ "outc",
1921
+ "outch",
1922
+ "outh",
1923
+ "outiat",
1924
+ "outic",
1925
+ "outic14",
1926
+ "outipat",
1927
+ "outipb",
1928
+ "outipc",
1929
+ "outkat",
1930
+ "outkc",
1931
+ "outkc14",
1932
+ "outkpat",
1933
+ "outkpb",
1934
+ "outkpc",
1935
+ "outleta",
1936
+ "outletf",
1937
+ "outletk",
1938
+ "outletkid",
1939
+ "outletv",
1940
+ "outo",
1941
+ "outq",
1942
+ "outq1",
1943
+ "outq2",
1944
+ "outq3",
1945
+ "outq4",
1946
+ "outrg",
1947
+ "outs",
1948
+ "outs1",
1949
+ "outs2",
1950
+ "outvalue",
1951
+ "outx",
1952
+ "outz",
1953
+ "p",
1954
+ "p5gconnect",
1955
+ "p5gdata",
1956
+ "pan",
1957
+ "pan2",
1958
+ "pareq",
1959
+ "part2txt",
1960
+ "partials",
1961
+ "partikkel",
1962
+ "partikkelget",
1963
+ "partikkelset",
1964
+ "partikkelsync",
1965
+ "passign",
1966
+ "paulstretch",
1967
+ "pcauchy",
1968
+ "pchbend",
1969
+ "pchmidi",
1970
+ "pchmidib",
1971
+ "pchmidinn",
1972
+ "pchoct",
1973
+ "pchtom",
1974
+ "pconvolve",
1975
+ "pcount",
1976
+ "pdclip",
1977
+ "pdhalf",
1978
+ "pdhalfy",
1979
+ "peak",
1980
+ "pgmassign",
1981
+ "pgmchn",
1982
+ "phaser1",
1983
+ "phaser2",
1984
+ "phasor",
1985
+ "phasorbnk",
1986
+ "phs",
1987
+ "pindex",
1988
+ "pinker",
1989
+ "pinkish",
1990
+ "pitch",
1991
+ "pitchac",
1992
+ "pitchamdf",
1993
+ "planet",
1994
+ "platerev",
1995
+ "plltrack",
1996
+ "pluck",
1997
+ "poisson",
1998
+ "pol2rect",
1999
+ "polyaft",
2000
+ "polynomial",
2001
+ "port",
2002
+ "portk",
2003
+ "poscil",
2004
+ "poscil3",
2005
+ "pow",
2006
+ "powershape",
2007
+ "powoftwo",
2008
+ "pows",
2009
+ "prealloc",
2010
+ "prepiano",
2011
+ "print",
2012
+ "print_type",
2013
+ "printarray",
2014
+ "printf",
2015
+ "printf_i",
2016
+ "printk",
2017
+ "printk2",
2018
+ "printks",
2019
+ "printks2",
2020
+ "println",
2021
+ "prints",
2022
+ "printsk",
2023
+ "product",
2024
+ "pset",
2025
+ "ptablew",
2026
+ "ptrack",
2027
+ "puts",
2028
+ "pvadd",
2029
+ "pvbufread",
2030
+ "pvcross",
2031
+ "pvinterp",
2032
+ "pvoc",
2033
+ "pvread",
2034
+ "pvs2array",
2035
+ "pvs2tab",
2036
+ "pvsadsyn",
2037
+ "pvsanal",
2038
+ "pvsarp",
2039
+ "pvsbandp",
2040
+ "pvsbandr",
2041
+ "pvsbandwidth",
2042
+ "pvsbin",
2043
+ "pvsblur",
2044
+ "pvsbuffer",
2045
+ "pvsbufread",
2046
+ "pvsbufread2",
2047
+ "pvscale",
2048
+ "pvscent",
2049
+ "pvsceps",
2050
+ "pvscfs",
2051
+ "pvscross",
2052
+ "pvsdemix",
2053
+ "pvsdiskin",
2054
+ "pvsdisp",
2055
+ "pvsenvftw",
2056
+ "pvsfilter",
2057
+ "pvsfread",
2058
+ "pvsfreeze",
2059
+ "pvsfromarray",
2060
+ "pvsftr",
2061
+ "pvsftw",
2062
+ "pvsfwrite",
2063
+ "pvsgain",
2064
+ "pvshift",
2065
+ "pvsifd",
2066
+ "pvsin",
2067
+ "pvsinfo",
2068
+ "pvsinit",
2069
+ "pvslock",
2070
+ "pvslpc",
2071
+ "pvsmaska",
2072
+ "pvsmix",
2073
+ "pvsmooth",
2074
+ "pvsmorph",
2075
+ "pvsosc",
2076
+ "pvsout",
2077
+ "pvspitch",
2078
+ "pvstanal",
2079
+ "pvstencil",
2080
+ "pvstrace",
2081
+ "pvsvoc",
2082
+ "pvswarp",
2083
+ "pvsynth",
2084
+ "pwd",
2085
+ "pyassign",
2086
+ "pyassigni",
2087
+ "pyassignt",
2088
+ "pycall",
2089
+ "pycall1",
2090
+ "pycall1i",
2091
+ "pycall1t",
2092
+ "pycall2",
2093
+ "pycall2i",
2094
+ "pycall2t",
2095
+ "pycall3",
2096
+ "pycall3i",
2097
+ "pycall3t",
2098
+ "pycall4",
2099
+ "pycall4i",
2100
+ "pycall4t",
2101
+ "pycall5",
2102
+ "pycall5i",
2103
+ "pycall5t",
2104
+ "pycall6",
2105
+ "pycall6i",
2106
+ "pycall6t",
2107
+ "pycall7",
2108
+ "pycall7i",
2109
+ "pycall7t",
2110
+ "pycall8",
2111
+ "pycall8i",
2112
+ "pycall8t",
2113
+ "pycalli",
2114
+ "pycalln",
2115
+ "pycallni",
2116
+ "pycallt",
2117
+ "pyeval",
2118
+ "pyevali",
2119
+ "pyevalt",
2120
+ "pyexec",
2121
+ "pyexeci",
2122
+ "pyexect",
2123
+ "pyinit",
2124
+ "pylassign",
2125
+ "pylassigni",
2126
+ "pylassignt",
2127
+ "pylcall",
2128
+ "pylcall1",
2129
+ "pylcall1i",
2130
+ "pylcall1t",
2131
+ "pylcall2",
2132
+ "pylcall2i",
2133
+ "pylcall2t",
2134
+ "pylcall3",
2135
+ "pylcall3i",
2136
+ "pylcall3t",
2137
+ "pylcall4",
2138
+ "pylcall4i",
2139
+ "pylcall4t",
2140
+ "pylcall5",
2141
+ "pylcall5i",
2142
+ "pylcall5t",
2143
+ "pylcall6",
2144
+ "pylcall6i",
2145
+ "pylcall6t",
2146
+ "pylcall7",
2147
+ "pylcall7i",
2148
+ "pylcall7t",
2149
+ "pylcall8",
2150
+ "pylcall8i",
2151
+ "pylcall8t",
2152
+ "pylcalli",
2153
+ "pylcalln",
2154
+ "pylcallni",
2155
+ "pylcallt",
2156
+ "pyleval",
2157
+ "pylevali",
2158
+ "pylevalt",
2159
+ "pylexec",
2160
+ "pylexeci",
2161
+ "pylexect",
2162
+ "pylrun",
2163
+ "pylruni",
2164
+ "pylrunt",
2165
+ "pyrun",
2166
+ "pyruni",
2167
+ "pyrunt",
2168
+ "qinf",
2169
+ "qnan",
2170
+ "r2c",
2171
+ "rand",
2172
+ "randc",
2173
+ "randh",
2174
+ "randi",
2175
+ "random",
2176
+ "randomh",
2177
+ "randomi",
2178
+ "rbjeq",
2179
+ "readclock",
2180
+ "readf",
2181
+ "readfi",
2182
+ "readk",
2183
+ "readk2",
2184
+ "readk3",
2185
+ "readk4",
2186
+ "readks",
2187
+ "readscore",
2188
+ "readscratch",
2189
+ "rect2pol",
2190
+ "release",
2191
+ "remoteport",
2192
+ "remove",
2193
+ "repluck",
2194
+ "reshapearray",
2195
+ "reson",
2196
+ "resonbnk",
2197
+ "resonk",
2198
+ "resonr",
2199
+ "resonx",
2200
+ "resonxk",
2201
+ "resony",
2202
+ "resonz",
2203
+ "resyn",
2204
+ "reverb",
2205
+ "reverb2",
2206
+ "reverbsc",
2207
+ "rewindscore",
2208
+ "rezzy",
2209
+ "rfft",
2210
+ "rifft",
2211
+ "rms",
2212
+ "rnd",
2213
+ "rnd31",
2214
+ "rndseed",
2215
+ "round",
2216
+ "rspline",
2217
+ "rtclock",
2218
+ "s16b14",
2219
+ "s32b14",
2220
+ "samphold",
2221
+ "sandpaper",
2222
+ "sc_lag",
2223
+ "sc_lagud",
2224
+ "sc_phasor",
2225
+ "sc_trig",
2226
+ "scale",
2227
+ "scale2",
2228
+ "scalearray",
2229
+ "scanhammer",
2230
+ "scans",
2231
+ "scantable",
2232
+ "scanu",
2233
+ "scanu2",
2234
+ "schedkwhen",
2235
+ "schedkwhennamed",
2236
+ "schedule",
2237
+ "schedulek",
2238
+ "schedwhen",
2239
+ "scoreline",
2240
+ "scoreline_i",
2241
+ "seed",
2242
+ "sekere",
2243
+ "select",
2244
+ "semitone",
2245
+ "sense",
2246
+ "sensekey",
2247
+ "seqtime",
2248
+ "seqtime2",
2249
+ "serialBegin",
2250
+ "serialEnd",
2251
+ "serialFlush",
2252
+ "serialPrint",
2253
+ "serialRead",
2254
+ "serialWrite",
2255
+ "serialWrite_i",
2256
+ "setcol",
2257
+ "setctrl",
2258
+ "setksmps",
2259
+ "setrow",
2260
+ "setscorepos",
2261
+ "sfilist",
2262
+ "sfinstr",
2263
+ "sfinstr3",
2264
+ "sfinstr3m",
2265
+ "sfinstrm",
2266
+ "sfload",
2267
+ "sflooper",
2268
+ "sfpassign",
2269
+ "sfplay",
2270
+ "sfplay3",
2271
+ "sfplay3m",
2272
+ "sfplaym",
2273
+ "sfplist",
2274
+ "sfpreset",
2275
+ "shaker",
2276
+ "shiftin",
2277
+ "shiftout",
2278
+ "signum",
2279
+ "sin",
2280
+ "sinh",
2281
+ "sininv",
2282
+ "sinsyn",
2283
+ "skf",
2284
+ "sleighbells",
2285
+ "slicearray",
2286
+ "slicearray_i",
2287
+ "slider16",
2288
+ "slider16f",
2289
+ "slider16table",
2290
+ "slider16tablef",
2291
+ "slider32",
2292
+ "slider32f",
2293
+ "slider32table",
2294
+ "slider32tablef",
2295
+ "slider64",
2296
+ "slider64f",
2297
+ "slider64table",
2298
+ "slider64tablef",
2299
+ "slider8",
2300
+ "slider8f",
2301
+ "slider8table",
2302
+ "slider8tablef",
2303
+ "sliderKawai",
2304
+ "sndloop",
2305
+ "sndwarp",
2306
+ "sndwarpst",
2307
+ "sockrecv",
2308
+ "sockrecvs",
2309
+ "socksend",
2310
+ "socksends",
2311
+ "sorta",
2312
+ "sortd",
2313
+ "soundin",
2314
+ "space",
2315
+ "spat3d",
2316
+ "spat3di",
2317
+ "spat3dt",
2318
+ "spdist",
2319
+ "spf",
2320
+ "splitrig",
2321
+ "sprintf",
2322
+ "sprintfk",
2323
+ "spsend",
2324
+ "sqrt",
2325
+ "squinewave",
2326
+ "st2ms",
2327
+ "statevar",
2328
+ "sterrain",
2329
+ "stix",
2330
+ "strcat",
2331
+ "strcatk",
2332
+ "strchar",
2333
+ "strchark",
2334
+ "strcmp",
2335
+ "strcmpk",
2336
+ "strcpy",
2337
+ "strcpyk",
2338
+ "strecv",
2339
+ "streson",
2340
+ "strfromurl",
2341
+ "strget",
2342
+ "strindex",
2343
+ "strindexk",
2344
+ "string2array",
2345
+ "strlen",
2346
+ "strlenk",
2347
+ "strlower",
2348
+ "strlowerk",
2349
+ "strrindex",
2350
+ "strrindexk",
2351
+ "strset",
2352
+ "strstrip",
2353
+ "strsub",
2354
+ "strsubk",
2355
+ "strtod",
2356
+ "strtodk",
2357
+ "strtol",
2358
+ "strtolk",
2359
+ "strupper",
2360
+ "strupperk",
2361
+ "stsend",
2362
+ "subinstr",
2363
+ "subinstrinit",
2364
+ "sum",
2365
+ "sumarray",
2366
+ "svfilter",
2367
+ "svn",
2368
+ "syncgrain",
2369
+ "syncloop",
2370
+ "syncphasor",
2371
+ "system",
2372
+ "system_i",
2373
+ "tab",
2374
+ "tab2array",
2375
+ "tab2pvs",
2376
+ "tab_i",
2377
+ "tabifd",
2378
+ "table",
2379
+ "table3",
2380
+ "table3kt",
2381
+ "tablecopy",
2382
+ "tablefilter",
2383
+ "tablefilteri",
2384
+ "tablegpw",
2385
+ "tablei",
2386
+ "tableicopy",
2387
+ "tableigpw",
2388
+ "tableikt",
2389
+ "tableimix",
2390
+ "tablekt",
2391
+ "tablemix",
2392
+ "tableng",
2393
+ "tablera",
2394
+ "tableseg",
2395
+ "tableshuffle",
2396
+ "tableshufflei",
2397
+ "tablew",
2398
+ "tablewa",
2399
+ "tablewkt",
2400
+ "tablexkt",
2401
+ "tablexseg",
2402
+ "tabmorph",
2403
+ "tabmorpha",
2404
+ "tabmorphak",
2405
+ "tabmorphi",
2406
+ "tabplay",
2407
+ "tabrec",
2408
+ "tabsum",
2409
+ "tabw",
2410
+ "tabw_i",
2411
+ "tambourine",
2412
+ "tan",
2413
+ "tanh",
2414
+ "taninv",
2415
+ "taninv2",
2416
+ "tbvcf",
2417
+ "tempest",
2418
+ "tempo",
2419
+ "temposcal",
2420
+ "tempoval",
2421
+ "timedseq",
2422
+ "timeinstk",
2423
+ "timeinsts",
2424
+ "timek",
2425
+ "times",
2426
+ "tival",
2427
+ "tlineto",
2428
+ "tone",
2429
+ "tonek",
2430
+ "tonex",
2431
+ "tradsyn",
2432
+ "trandom",
2433
+ "transeg",
2434
+ "transegb",
2435
+ "transegr",
2436
+ "trcross",
2437
+ "trfilter",
2438
+ "trhighest",
2439
+ "trigExpseg",
2440
+ "trigLinseg",
2441
+ "trigger",
2442
+ "trighold",
2443
+ "trigphasor",
2444
+ "trigseq",
2445
+ "trim",
2446
+ "trim_i",
2447
+ "trirand",
2448
+ "trlowest",
2449
+ "trmix",
2450
+ "trscale",
2451
+ "trshift",
2452
+ "trsplit",
2453
+ "turnoff",
2454
+ "turnoff2",
2455
+ "turnoff2_i",
2456
+ "turnoff3",
2457
+ "turnon",
2458
+ "tvconv",
2459
+ "unirand",
2460
+ "unwrap",
2461
+ "upsamp",
2462
+ "urandom",
2463
+ "urd",
2464
+ "vactrol",
2465
+ "vadd",
2466
+ "vadd_i",
2467
+ "vaddv",
2468
+ "vaddv_i",
2469
+ "vaget",
2470
+ "valpass",
2471
+ "vaset",
2472
+ "vbap",
2473
+ "vbapg",
2474
+ "vbapgmove",
2475
+ "vbaplsinit",
2476
+ "vbapmove",
2477
+ "vbapz",
2478
+ "vbapzmove",
2479
+ "vcella",
2480
+ "vclpf",
2481
+ "vco",
2482
+ "vco2",
2483
+ "vco2ft",
2484
+ "vco2ift",
2485
+ "vco2init",
2486
+ "vcomb",
2487
+ "vcopy",
2488
+ "vcopy_i",
2489
+ "vdel_k",
2490
+ "vdelay",
2491
+ "vdelay3",
2492
+ "vdelayk",
2493
+ "vdelayx",
2494
+ "vdelayxq",
2495
+ "vdelayxs",
2496
+ "vdelayxw",
2497
+ "vdelayxwq",
2498
+ "vdelayxws",
2499
+ "vdivv",
2500
+ "vdivv_i",
2501
+ "vecdelay",
2502
+ "veloc",
2503
+ "vexp",
2504
+ "vexp_i",
2505
+ "vexpseg",
2506
+ "vexpv",
2507
+ "vexpv_i",
2508
+ "vibes",
2509
+ "vibr",
2510
+ "vibrato",
2511
+ "vincr",
2512
+ "vlimit",
2513
+ "vlinseg",
2514
+ "vlowres",
2515
+ "vmap",
2516
+ "vmirror",
2517
+ "vmult",
2518
+ "vmult_i",
2519
+ "vmultv",
2520
+ "vmultv_i",
2521
+ "voice",
2522
+ "vosim",
2523
+ "vphaseseg",
2524
+ "vport",
2525
+ "vpow",
2526
+ "vpow_i",
2527
+ "vpowv",
2528
+ "vpowv_i",
2529
+ "vps",
2530
+ "vpvoc",
2531
+ "vrandh",
2532
+ "vrandi",
2533
+ "vsubv",
2534
+ "vsubv_i",
2535
+ "vtaba",
2536
+ "vtabi",
2537
+ "vtabk",
2538
+ "vtable1k",
2539
+ "vtablea",
2540
+ "vtablei",
2541
+ "vtablek",
2542
+ "vtablewa",
2543
+ "vtablewi",
2544
+ "vtablewk",
2545
+ "vtabwa",
2546
+ "vtabwi",
2547
+ "vtabwk",
2548
+ "vwrap",
2549
+ "waveset",
2550
+ "websocket",
2551
+ "weibull",
2552
+ "wgbow",
2553
+ "wgbowedbar",
2554
+ "wgbrass",
2555
+ "wgclar",
2556
+ "wgflute",
2557
+ "wgpluck",
2558
+ "wgpluck2",
2559
+ "wguide1",
2560
+ "wguide2",
2561
+ "wiiconnect",
2562
+ "wiidata",
2563
+ "wiirange",
2564
+ "wiisend",
2565
+ "window",
2566
+ "wrap",
2567
+ "writescratch",
2568
+ "wterrain",
2569
+ "wterrain2",
2570
+ "xadsr",
2571
+ "xin",
2572
+ "xout",
2573
+ "xscanmap",
2574
+ "xscans",
2575
+ "xscansmap",
2576
+ "xscanu",
2577
+ "xtratim",
2578
+ "xyscale",
2579
+ "zacl",
2580
+ "zakinit",
2581
+ "zamod",
2582
+ "zar",
2583
+ "zarg",
2584
+ "zaw",
2585
+ "zawm",
2586
+ "zdf_1pole",
2587
+ "zdf_1pole_mode",
2588
+ "zdf_2pole",
2589
+ "zdf_2pole_mode",
2590
+ "zdf_ladder",
2591
+ "zfilter2",
2592
+ "zir",
2593
+ "ziw",
2594
+ "ziwm",
2595
+ "zkcl",
2596
+ "zkmod",
2597
+ "zkr",
2598
+ "zkw",
2599
+ "zkwm"
2600
+ ];
2601
+ var deprecatedOpcodes = [
2602
+ "OSCsendA",
2603
+ "array",
2604
+ "beadsynt",
2605
+ "beosc",
2606
+ "bformdec",
2607
+ "bformenc",
2608
+ "buchla",
2609
+ "copy2ftab",
2610
+ "copy2ttab",
2611
+ "getrowlin",
2612
+ "hrtfer",
2613
+ "ktableseg",
2614
+ "lentab",
2615
+ "lua_exec",
2616
+ "lua_iaopcall",
2617
+ "lua_iaopcall_off",
2618
+ "lua_ikopcall",
2619
+ "lua_ikopcall_off",
2620
+ "lua_iopcall",
2621
+ "lua_iopcall_off",
2622
+ "lua_opdef",
2623
+ "maxtab",
2624
+ "mintab",
2625
+ "mp3scal_check",
2626
+ "mp3scal_load",
2627
+ "mp3scal_load2",
2628
+ "mp3scal_play",
2629
+ "mp3scal_play2",
2630
+ "pop",
2631
+ "pop_f",
2632
+ "ptable",
2633
+ "ptable3",
2634
+ "ptablei",
2635
+ "ptableiw",
2636
+ "push",
2637
+ "push_f",
2638
+ "pvsgendy",
2639
+ "scalet",
2640
+ "signalflowgraph",
2641
+ "sndload",
2642
+ "socksend_k",
2643
+ "soundout",
2644
+ "soundouts",
2645
+ "specaddm",
2646
+ "specdiff",
2647
+ "specdisp",
2648
+ "specfilt",
2649
+ "spechist",
2650
+ "specptrk",
2651
+ "specscal",
2652
+ "specsum",
2653
+ "spectrum",
2654
+ "stack",
2655
+ "sumTableFilter",
2656
+ "sumtab",
2657
+ "systime",
2658
+ "tabgen",
2659
+ "tableiw",
2660
+ "tabmap",
2661
+ "tabmap_i",
2662
+ "tabrowlin",
2663
+ "tabslice",
2664
+ "tb0",
2665
+ "tb0_init",
2666
+ "tb1",
2667
+ "tb10",
2668
+ "tb10_init",
2669
+ "tb11",
2670
+ "tb11_init",
2671
+ "tb12",
2672
+ "tb12_init",
2673
+ "tb13",
2674
+ "tb13_init",
2675
+ "tb14",
2676
+ "tb14_init",
2677
+ "tb15",
2678
+ "tb15_init",
2679
+ "tb1_init",
2680
+ "tb2",
2681
+ "tb2_init",
2682
+ "tb3",
2683
+ "tb3_init",
2684
+ "tb4",
2685
+ "tb4_init",
2686
+ "tb5",
2687
+ "tb5_init",
2688
+ "tb6",
2689
+ "tb6_init",
2690
+ "tb7",
2691
+ "tb7_init",
2692
+ "tb8",
2693
+ "tb8_init",
2694
+ "tb9",
2695
+ "tb9_init",
2696
+ "vbap16",
2697
+ "vbap1move",
2698
+ "vbap4",
2699
+ "vbap4move",
2700
+ "vbap8",
2701
+ "vbap8move",
2702
+ "xyin"
2703
+ ];
2704
+
2705
+ opcodes = lang.arrayToMap(opcodes);
2706
+ deprecatedOpcodes = lang.arrayToMap(deprecatedOpcodes);
2707
+
2708
+ this.lineContinuations = [
2709
+ {
2710
+ token : "constant.character.escape.line-continuation.csound",
2711
+ regex : /\\$/
2712
+ }, this.pushRule({
2713
+ token : "constant.character.escape.line-continuation.csound",
2714
+ regex : /\\/,
2715
+ next : "line continuation"
2716
+ })
2717
+ ];
2718
+
2719
+ this.comments.push(this.lineContinuations);
2720
+
2721
+ this.quotedStringContents.push(
2722
+ this.lineContinuations,
2723
+ {
2724
+ token : "invalid.illegal",
2725
+ regex : /[^"\\]*$/
2726
+ }
2727
+ );
2728
+
2729
+ var start = this.$rules.start;
2730
+ start.splice(1, 0, {
2731
+ token : ["text.csound", "entity.name.label.csound", "entity.punctuation.label.csound", "text.csound"],
2732
+ regex : /^([ \t]*)(\w+)(:)([ \t]+|$)/
2733
+ });
2734
+ start.push(
2735
+ this.pushRule({
2736
+ token : "keyword.function.csound",
2737
+ regex : /\binstr\b/,
2738
+ next : "instrument numbers and identifiers"
2739
+ }), this.pushRule({
2740
+ token : "keyword.function.csound",
2741
+ regex : /\bopcode\b/,
2742
+ next : "after opcode keyword"
2743
+ }), {
2744
+ token : "keyword.other.csound",
2745
+ regex : /\bend(?:in|op)\b/
2746
+ },
2747
+
2748
+ {
2749
+ token : "variable.language.csound",
2750
+ regex : /\b(?:0dbfs|A4|k(?:r|smps)|nchnls(?:_i)?|sr)\b/
2751
+ },
2752
+
2753
+ this.numbers,
2754
+
2755
+ {
2756
+ token : "keyword.operator.csound",
2757
+ regex : "\\+=|-=|\\*=|/=|<<|>>|<=|>=|==|!=|&&|\\|\\||[~¬]|[=!+\\-*/^%&|<>#?:]"
2758
+ },
2759
+
2760
+ this.pushRule({
2761
+ token : "punctuation.definition.string.begin.csound",
2762
+ regex : /"/,
2763
+ next : "quoted string"
2764
+ }), this.pushRule({
2765
+ token : "punctuation.definition.string.begin.csound",
2766
+ regex : /{{/,
2767
+ next : "braced string"
2768
+ }),
2769
+
2770
+ {
2771
+ token : "keyword.control.csound",
2772
+ regex : /\b(?:do|else(?:if)?|end(?:if|until)|fi|i(?:f|then)|kthen|od|r(?:ir)?eturn|then|until|while)\b/
2773
+ },
2774
+
2775
+ this.pushRule({
2776
+ token : "keyword.control.csound",
2777
+ regex : /\b[ik]?goto\b/,
2778
+ next : "goto before label"
2779
+ }), this.pushRule({
2780
+ token : "keyword.control.csound",
2781
+ regex : /\b(?:r(?:einit|igoto)|tigoto)\b/,
2782
+ next : "goto before label"
2783
+ }), this.pushRule({
2784
+ token : "keyword.control.csound",
2785
+ regex : /\bc(?:g|in?|k|nk?)goto\b/,
2786
+ next : ["goto before label", "goto before argument"]
2787
+ }), this.pushRule({
2788
+ token : "keyword.control.csound",
2789
+ regex : /\btimout\b/,
2790
+ next : ["goto before label", "goto before argument", "goto before argument"]
2791
+ }), this.pushRule({
2792
+ token : "keyword.control.csound",
2793
+ regex : /\bloop_[gl][et]\b/,
2794
+ next : ["goto before label", "goto before argument", "goto before argument", "goto before argument"]
2795
+ }),
2796
+
2797
+ this.pushRule({
2798
+ token : "support.function.csound",
2799
+ regex : /\b(?:readscore|scoreline(?:_i)?)\b/,
2800
+ next : "Csound score opcode"
2801
+ }), this.pushRule({
2802
+ token : "support.function.csound",
2803
+ regex : /\bpyl?run[it]?\b(?!$)/,
2804
+ next : "Python opcode"
2805
+ }), this.pushRule({
2806
+ token : "support.function.csound",
2807
+ regex : /\blua_(?:exec|opdef)\b(?!$)/,
2808
+ next : "Lua opcode"
2809
+ }),
2810
+
2811
+ {
2812
+ token : "support.variable.csound",
2813
+ regex : /\bp\d+\b/
2814
+ }, {
2815
+ regex : /\b([A-Z_a-z]\w*)(?:(:)([A-Za-z]))?\b/, onMatch: function(value, currentState, stack, line) {
2816
+ var tokens = value.split(this.splitRegex);
2817
+ var name = tokens[1];
2818
+ var type;
2819
+ if (opcodes.hasOwnProperty(name))
2820
+ type = "support.function.csound";
2821
+ else if (deprecatedOpcodes.hasOwnProperty(name))
2822
+ type = "invalid.deprecated.csound";
2823
+ if (type) {
2824
+ if (tokens[2]) {
2825
+ return [
2826
+ {type: type, value: name},
2827
+ {type: "punctuation.type-annotation.csound", value: tokens[2]},
2828
+ {type: "type-annotation.storage.type.csound", value: tokens[3]}
2829
+ ];
2830
+ }
2831
+ return type;
2832
+ }
2833
+ return "text.csound";
2834
+ }
2835
+ }
2836
+ );
2837
+
2838
+ this.$rules["macro parameter value list"].splice(2, 0, {
2839
+ token : "punctuation.definition.string.begin.csound",
2840
+ regex : /{{/,
2841
+ next : "macro parameter value braced string"
2842
+ });
2843
+
2844
+ var scoreHighlightRules = new CsoundScoreHighlightRules("csound-score-");
2845
+
2846
+ this.addRules({
2847
+ "macro parameter value braced string": [
2848
+ {
2849
+ token : "constant.character.escape.csound",
2850
+ regex : /\\[#'()]/
2851
+ }, {
2852
+ token : "invalid.illegal.csound.csound",
2853
+ regex : /[#'()]/
2854
+ }, {
2855
+ token : "punctuation.definition.string.end.csound",
2856
+ regex : /}}/,
2857
+ next : "macro parameter value list"
2858
+ }, {
2859
+ defaultToken: "string.braced.csound"
2860
+ }
2861
+ ],
2862
+
2863
+ "instrument numbers and identifiers": [
2864
+ this.comments,
2865
+ {
2866
+ token : "entity.name.function.csound",
2867
+ regex : /\d+|[A-Z_a-z]\w*/
2868
+ }, this.popRule({
2869
+ token : "empty",
2870
+ regex : /$/
2871
+ })
2872
+ ],
2873
+
2874
+ "after opcode keyword": [
2875
+ this.comments,
2876
+ this.popRule({
2877
+ token : "empty",
2878
+ regex : /$/
2879
+ }), this.popRule({
2880
+ token : "entity.name.function.opcode.csound",
2881
+ regex : /[A-Z_a-z]\w*/,
2882
+ next : "opcode type signatures"
2883
+ })
2884
+ ],
2885
+ "opcode type signatures": [
2886
+ this.comments,
2887
+ this.popRule({
2888
+ token : "empty",
2889
+ regex : /$/
2890
+ }), {
2891
+ token : "storage.type.csound",
2892
+ regex : /\b(?:0|[afijkKoOpPStV\[\]]+)/
2893
+ }
2894
+ ],
2895
+
2896
+ "quoted string": [
2897
+ this.popRule({
2898
+ token : "punctuation.definition.string.end.csound",
2899
+ regex : /"/
2900
+ }),
2901
+ this.quotedStringContents,
2902
+ {
2903
+ defaultToken: "string.quoted.csound"
2904
+ }
2905
+ ],
2906
+ "braced string": [
2907
+ this.popRule({
2908
+ token : "punctuation.definition.string.end.csound",
2909
+ regex : /}}/
2910
+ }),
2911
+ this.bracedStringContents,
2912
+ {
2913
+ defaultToken: "string.braced.csound"
2914
+ }
2915
+ ],
2916
+
2917
+ "goto before argument": [
2918
+ this.popRule({
2919
+ token : "text.csound",
2920
+ regex : /,/
2921
+ }),
2922
+ start
2923
+ ],
2924
+ "goto before label": [
2925
+ {
2926
+ token : "text.csound",
2927
+ regex : /\s+/
2928
+ },
2929
+ this.comments,
2930
+ this.popRule({
2931
+ token : "entity.name.label.csound",
2932
+ regex : /\w+/
2933
+ }), this.popRule({
2934
+ token : "empty",
2935
+ regex : /(?!\w)/
2936
+ })
2937
+ ],
2938
+
2939
+ "Csound score opcode": [
2940
+ this.comments,
2941
+ {
2942
+ token : "punctuation.definition.string.begin.csound",
2943
+ regex : /{{/,
2944
+ next : scoreHighlightRules.embeddedRulePrefix + "start"
2945
+ }, this.popRule({
2946
+ token : "empty",
2947
+ regex : /$/
2948
+ })
2949
+ ],
2950
+
2951
+ "Python opcode": [
2952
+ this.comments,
2953
+ {
2954
+ token : "punctuation.definition.string.begin.csound",
2955
+ regex : /{{/,
2956
+ next : "python-start"
2957
+ }, this.popRule({
2958
+ token : "empty",
2959
+ regex : /$/
2960
+ })
2961
+ ],
2962
+
2963
+ "Lua opcode": [
2964
+ this.comments,
2965
+ {
2966
+ token : "punctuation.definition.string.begin.csound",
2967
+ regex : /{{/,
2968
+ next : "lua-start"
2969
+ }, this.popRule({
2970
+ token : "empty",
2971
+ regex : /$/
2972
+ })
2973
+ ],
2974
+
2975
+ "line continuation": [
2976
+ this.popRule({
2977
+ token : "empty",
2978
+ regex : /$/
2979
+ }),
2980
+ this.semicolonComments,
2981
+ {
2982
+ token : "invalid.illegal.csound",
2983
+ regex : /\S.*/
2984
+ }
2985
+ ]
2986
+ });
2987
+
2988
+ var rules = [
2989
+ this.popRule({
2990
+ token : "punctuation.definition.string.end.csound",
2991
+ regex : /}}/
2992
+ })
2993
+ ];
2994
+ this.embedRules(scoreHighlightRules.getRules(), scoreHighlightRules.embeddedRulePrefix, rules);
2995
+ this.embedRules(PythonHighlightRules, "python-", rules);
2996
+ this.embedRules(LuaHighlightRules, "lua-", rules);
2997
+
2998
+ this.normalizeRules();
2999
+ };
3000
+
3001
+ oop.inherits(CsoundOrchestraHighlightRules, CsoundPreprocessorHighlightRules);
3002
+
3003
+ exports.CsoundOrchestraHighlightRules = CsoundOrchestraHighlightRules;
3004
+ });
3005
+
3006
+ ace.define("ace/mode/css_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text_highlight_rules"], function(require, exports, module) {
3007
+ "use strict";
3008
+
3009
+ var oop = require("../lib/oop");
3010
+ var lang = require("../lib/lang");
3011
+ var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
3012
+ var supportType = exports.supportType = "align-content|align-items|align-self|all|animation|animation-delay|animation-direction|animation-duration|animation-fill-mode|animation-iteration-count|animation-name|animation-play-state|animation-timing-function|backface-visibility|background|background-attachment|background-blend-mode|background-clip|background-color|background-image|background-origin|background-position|background-repeat|background-size|border|border-bottom|border-bottom-color|border-bottom-left-radius|border-bottom-right-radius|border-bottom-style|border-bottom-width|border-collapse|border-color|border-image|border-image-outset|border-image-repeat|border-image-slice|border-image-source|border-image-width|border-left|border-left-color|border-left-style|border-left-width|border-radius|border-right|border-right-color|border-right-style|border-right-width|border-spacing|border-style|border-top|border-top-color|border-top-left-radius|border-top-right-radius|border-top-style|border-top-width|border-width|bottom|box-shadow|box-sizing|caption-side|clear|clip|color|column-count|column-fill|column-gap|column-rule|column-rule-color|column-rule-style|column-rule-width|column-span|column-width|columns|content|counter-increment|counter-reset|cursor|direction|display|empty-cells|filter|flex|flex-basis|flex-direction|flex-flow|flex-grow|flex-shrink|flex-wrap|float|font|font-family|font-size|font-size-adjust|font-stretch|font-style|font-variant|font-weight|hanging-punctuation|height|justify-content|left|letter-spacing|line-height|list-style|list-style-image|list-style-position|list-style-type|margin|margin-bottom|margin-left|margin-right|margin-top|max-height|max-width|max-zoom|min-height|min-width|min-zoom|nav-down|nav-index|nav-left|nav-right|nav-up|opacity|order|outline|outline-color|outline-offset|outline-style|outline-width|overflow|overflow-x|overflow-y|padding|padding-bottom|padding-left|padding-right|padding-top|page-break-after|page-break-before|page-break-inside|perspective|perspective-origin|position|quotes|resize|right|tab-size|table-layout|text-align|text-align-last|text-decoration|text-decoration-color|text-decoration-line|text-decoration-style|text-indent|text-justify|text-overflow|text-shadow|text-transform|top|transform|transform-origin|transform-style|transition|transition-delay|transition-duration|transition-property|transition-timing-function|unicode-bidi|user-select|user-zoom|vertical-align|visibility|white-space|width|word-break|word-spacing|word-wrap|z-index";
3013
+ var supportFunction = exports.supportFunction = "rgb|rgba|url|attr|counter|counters";
3014
+ var supportConstant = exports.supportConstant = "absolute|after-edge|after|all-scroll|all|alphabetic|always|antialiased|armenian|auto|avoid-column|avoid-page|avoid|balance|baseline|before-edge|before|below|bidi-override|block-line-height|block|bold|bolder|border-box|both|bottom|box|break-all|break-word|capitalize|caps-height|caption|center|central|char|circle|cjk-ideographic|clone|close-quote|col-resize|collapse|column|consider-shifts|contain|content-box|cover|crosshair|cubic-bezier|dashed|decimal-leading-zero|decimal|default|disabled|disc|disregard-shifts|distribute-all-lines|distribute-letter|distribute-space|distribute|dotted|double|e-resize|ease-in|ease-in-out|ease-out|ease|ellipsis|end|exclude-ruby|fill|fixed|georgian|glyphs|grid-height|groove|hand|hanging|hebrew|help|hidden|hiragana-iroha|hiragana|horizontal|icon|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space|ideographic|inactive|include-ruby|inherit|initial|inline-block|inline-box|inline-line-height|inline-table|inline|inset|inside|inter-ideograph|inter-word|invert|italic|justify|katakana-iroha|katakana|keep-all|last|left|lighter|line-edge|line-through|line|linear|list-item|local|loose|lower-alpha|lower-greek|lower-latin|lower-roman|lowercase|lr-tb|ltr|mathematical|max-height|max-size|medium|menu|message-box|middle|move|n-resize|ne-resize|newspaper|no-change|no-close-quote|no-drop|no-open-quote|no-repeat|none|normal|not-allowed|nowrap|nw-resize|oblique|open-quote|outset|outside|overline|padding-box|page|pointer|pre-line|pre-wrap|pre|preserve-3d|progress|relative|repeat-x|repeat-y|repeat|replaced|reset-size|ridge|right|round|row-resize|rtl|s-resize|scroll|se-resize|separate|slice|small-caps|small-caption|solid|space|square|start|static|status-bar|step-end|step-start|steps|stretch|strict|sub|super|sw-resize|table-caption|table-cell|table-column-group|table-column|table-footer-group|table-header-group|table-row-group|table-row|table|tb-rl|text-after-edge|text-before-edge|text-bottom|text-size|text-top|text|thick|thin|transparent|underline|upper-alpha|upper-latin|upper-roman|uppercase|use-script|vertical-ideographic|vertical-text|visible|w-resize|wait|whitespace|z-index|zero|zoom";
3015
+ var supportConstantColor = exports.supportConstantColor = "aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen";
3016
+ var supportConstantFonts = exports.supportConstantFonts = "arial|century|comic|courier|cursive|fantasy|garamond|georgia|helvetica|impact|lucida|symbol|system|tahoma|times|trebuchet|utopia|verdana|webdings|sans-serif|serif|monospace";
3017
+
3018
+ var numRe = exports.numRe = "\\-?(?:(?:[0-9]+(?:\\.[0-9]+)?)|(?:\\.[0-9]+))";
3019
+ var pseudoElements = exports.pseudoElements = "(\\:+)\\b(after|before|first-letter|first-line|moz-selection|selection)\\b";
3020
+ var pseudoClasses = exports.pseudoClasses = "(:)\\b(active|checked|disabled|empty|enabled|first-child|first-of-type|focus|hover|indeterminate|invalid|last-child|last-of-type|link|not|nth-child|nth-last-child|nth-last-of-type|nth-of-type|only-child|only-of-type|required|root|target|valid|visited)\\b";
3021
+
3022
+ var CssHighlightRules = function() {
3023
+
3024
+ var keywordMapper = this.createKeywordMapper({
3025
+ "support.function": supportFunction,
3026
+ "support.constant": supportConstant,
3027
+ "support.type": supportType,
3028
+ "support.constant.color": supportConstantColor,
3029
+ "support.constant.fonts": supportConstantFonts
3030
+ }, "text", true);
3031
+
3032
+ this.$rules = {
3033
+ "start" : [{
3034
+ include : ["strings", "url", "comments"]
3035
+ }, {
3036
+ token: "paren.lparen",
3037
+ regex: "\\{",
3038
+ next: "ruleset"
3039
+ }, {
3040
+ token: "paren.rparen",
3041
+ regex: "\\}"
3042
+ }, {
3043
+ token: "string",
3044
+ regex: "@(?!viewport)",
3045
+ next: "media"
3046
+ }, {
3047
+ token: "keyword",
3048
+ regex: "#[a-z0-9-_]+"
3049
+ }, {
3050
+ token: "keyword",
3051
+ regex: "%"
3052
+ }, {
3053
+ token: "variable",
3054
+ regex: "\\.[a-z0-9-_]+"
3055
+ }, {
3056
+ token: "string",
3057
+ regex: ":[a-z0-9-_]+"
3058
+ }, {
3059
+ token : "constant.numeric",
3060
+ regex : numRe
3061
+ }, {
3062
+ token: "constant",
3063
+ regex: "[a-z0-9-_]+"
3064
+ }, {
3065
+ caseInsensitive: true
3066
+ }],
3067
+
3068
+ "media": [{
3069
+ include : ["strings", "url", "comments"]
3070
+ }, {
3071
+ token: "paren.lparen",
3072
+ regex: "\\{",
3073
+ next: "start"
3074
+ }, {
3075
+ token: "paren.rparen",
3076
+ regex: "\\}",
3077
+ next: "start"
3078
+ }, {
3079
+ token: "string",
3080
+ regex: ";",
3081
+ next: "start"
3082
+ }, {
3083
+ token: "keyword",
3084
+ regex: "(?:media|supports|document|charset|import|namespace|media|supports|document"
3085
+ + "|page|font|keyframes|viewport|counter-style|font-feature-values"
3086
+ + "|swash|ornaments|annotation|stylistic|styleset|character-variant)"
3087
+ }],
3088
+
3089
+ "comments" : [{
3090
+ token: "comment", // multi line comment
3091
+ regex: "\\/\\*",
3092
+ push: [{
3093
+ token : "comment",
3094
+ regex : "\\*\\/",
3095
+ next : "pop"
3096
+ }, {
3097
+ defaultToken : "comment"
3098
+ }]
3099
+ }],
3100
+
3101
+ "ruleset" : [{
3102
+ regex : "-(webkit|ms|moz|o)-",
3103
+ token : "text"
3104
+ }, {
3105
+ token : "punctuation.operator",
3106
+ regex : "[:;]"
3107
+ }, {
3108
+ token : "paren.rparen",
3109
+ regex : "\\}",
3110
+ next : "start"
3111
+ }, {
3112
+ include : ["strings", "url", "comments"]
3113
+ }, {
3114
+ token : ["constant.numeric", "keyword"],
3115
+ regex : "(" + numRe + ")(ch|cm|deg|em|ex|fr|gd|grad|Hz|in|kHz|mm|ms|pc|pt|px|rad|rem|s|turn|vh|vmax|vmin|vm|vw|%)"
3116
+ }, {
3117
+ token : "constant.numeric",
3118
+ regex : numRe
3119
+ }, {
3120
+ token : "constant.numeric", // hex6 color
3121
+ regex : "#[a-f0-9]{6}"
3122
+ }, {
3123
+ token : "constant.numeric", // hex3 color
3124
+ regex : "#[a-f0-9]{3}"
3125
+ }, {
3126
+ token : ["punctuation", "entity.other.attribute-name.pseudo-element.css"],
3127
+ regex : pseudoElements
3128
+ }, {
3129
+ token : ["punctuation", "entity.other.attribute-name.pseudo-class.css"],
3130
+ regex : pseudoClasses
3131
+ }, {
3132
+ include: "url"
3133
+ }, {
3134
+ token : keywordMapper,
3135
+ regex : "\\-?[a-zA-Z_][a-zA-Z0-9_\\-]*"
3136
+ }, {
3137
+ caseInsensitive: true
3138
+ }],
3139
+
3140
+ url: [{
3141
+ token : "support.function",
3142
+ regex : "(?:url(:?-prefix)?|domain|regexp)\\(",
3143
+ push: [{
3144
+ token : "support.function",
3145
+ regex : "\\)",
3146
+ next : "pop"
3147
+ }, {
3148
+ defaultToken: "string"
3149
+ }]
3150
+ }],
3151
+
3152
+ strings: [{
3153
+ token : "string.start",
3154
+ regex : "'",
3155
+ push : [{
3156
+ token : "string.end",
3157
+ regex : "'|$",
3158
+ next: "pop"
3159
+ }, {
3160
+ include : "escapes"
3161
+ }, {
3162
+ token : "constant.language.escape",
3163
+ regex : /\\$/,
3164
+ consumeLineEnd: true
3165
+ }, {
3166
+ defaultToken: "string"
3167
+ }]
3168
+ }, {
3169
+ token : "string.start",
3170
+ regex : '"',
3171
+ push : [{
3172
+ token : "string.end",
3173
+ regex : '"|$',
3174
+ next: "pop"
3175
+ }, {
3176
+ include : "escapes"
3177
+ }, {
3178
+ token : "constant.language.escape",
3179
+ regex : /\\$/,
3180
+ consumeLineEnd: true
3181
+ }, {
3182
+ defaultToken: "string"
3183
+ }]
3184
+ }],
3185
+ escapes: [{
3186
+ token : "constant.language.escape",
3187
+ regex : /\\([a-fA-F\d]{1,6}|[^a-fA-F\d])/
3188
+ }]
3189
+
3190
+ };
3191
+
3192
+ this.normalizeRules();
3193
+ };
3194
+
3195
+ oop.inherits(CssHighlightRules, TextHighlightRules);
3196
+
3197
+ exports.CssHighlightRules = CssHighlightRules;
3198
+
3199
+ });
3200
+
3201
+ ace.define("ace/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function(require, exports, module) {
3202
+ "use strict";
3203
+
3204
+ var oop = require("../lib/oop");
3205
+ var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
3206
+
3207
+ var DocCommentHighlightRules = function() {
3208
+ this.$rules = {
3209
+ "start" : [ {
3210
+ token : "comment.doc.tag",
3211
+ regex : "@[\\w\\d_]+" // TODO: fix email addresses
3212
+ },
3213
+ DocCommentHighlightRules.getTagRule(),
3214
+ {
3215
+ defaultToken : "comment.doc",
3216
+ caseInsensitive: true
3217
+ }]
3218
+ };
3219
+ };
3220
+
3221
+ oop.inherits(DocCommentHighlightRules, TextHighlightRules);
3222
+
3223
+ DocCommentHighlightRules.getTagRule = function(start) {
3224
+ return {
3225
+ token : "comment.doc.tag.storage.type",
3226
+ regex : "\\b(?:TODO|FIXME|XXX|HACK)\\b"
3227
+ };
3228
+ };
3229
+
3230
+ DocCommentHighlightRules.getStartRule = function(start) {
3231
+ return {
3232
+ token : "comment.doc", // doc comment
3233
+ regex : "\\/\\*(?=\\*)",
3234
+ next : start
3235
+ };
3236
+ };
3237
+
3238
+ DocCommentHighlightRules.getEndRule = function (start) {
3239
+ return {
3240
+ token : "comment.doc", // closing comment
3241
+ regex : "\\*\\/",
3242
+ next : start
3243
+ };
3244
+ };
3245
+
3246
+
3247
+ exports.DocCommentHighlightRules = DocCommentHighlightRules;
3248
+
3249
+ });
3250
+
3251
+ ace.define("ace/mode/javascript_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/doc_comment_highlight_rules","ace/mode/text_highlight_rules"], function(require, exports, module) {
3252
+ "use strict";
3253
+
3254
+ var oop = require("../lib/oop");
3255
+ var DocCommentHighlightRules = require("./doc_comment_highlight_rules").DocCommentHighlightRules;
3256
+ var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
3257
+ var identifierRe = "[a-zA-Z\\$_\u00a1-\uffff][a-zA-Z\\d\\$_\u00a1-\uffff]*";
3258
+
3259
+ var JavaScriptHighlightRules = function(options) {
3260
+ var keywordMapper = this.createKeywordMapper({
3261
+ "variable.language":
3262
+ "Array|Boolean|Date|Function|Iterator|Number|Object|RegExp|String|Proxy|" + // Constructors
3263
+ "Namespace|QName|XML|XMLList|" + // E4X
3264
+ "ArrayBuffer|Float32Array|Float64Array|Int16Array|Int32Array|Int8Array|" +
3265
+ "Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray|" +
3266
+ "Error|EvalError|InternalError|RangeError|ReferenceError|StopIteration|" + // Errors
3267
+ "SyntaxError|TypeError|URIError|" +
3268
+ "decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|eval|isFinite|" + // Non-constructor functions
3269
+ "isNaN|parseFloat|parseInt|" +
3270
+ "JSON|Math|" + // Other
3271
+ "this|arguments|prototype|window|document" , // Pseudo
3272
+ "keyword":
3273
+ "const|yield|import|get|set|async|await|" +
3274
+ "break|case|catch|continue|default|delete|do|else|finally|for|function|" +
3275
+ "if|in|of|instanceof|new|return|switch|throw|try|typeof|let|var|while|with|debugger|" +
3276
+ "__parent__|__count__|escape|unescape|with|__proto__|" +
3277
+ "class|enum|extends|super|export|implements|private|public|interface|package|protected|static",
3278
+ "storage.type":
3279
+ "const|let|var|function",
3280
+ "constant.language":
3281
+ "null|Infinity|NaN|undefined",
3282
+ "support.function":
3283
+ "alert",
3284
+ "constant.language.boolean": "true|false"
3285
+ }, "identifier");
3286
+ var kwBeforeRe = "case|do|else|finally|in|instanceof|return|throw|try|typeof|yield|void";
3287
+
3288
+ var escapedRe = "\\\\(?:x[0-9a-fA-F]{2}|" + // hex
3289
+ "u[0-9a-fA-F]{4}|" + // unicode
3290
+ "u{[0-9a-fA-F]{1,6}}|" + // es6 unicode
3291
+ "[0-2][0-7]{0,2}|" + // oct
3292
+ "3[0-7][0-7]?|" + // oct
3293
+ "[4-7][0-7]?|" + //oct
3294
+ ".)";
3295
+
3296
+ this.$rules = {
3297
+ "no_regex" : [
3298
+ DocCommentHighlightRules.getStartRule("doc-start"),
3299
+ comments("no_regex"),
3300
+ {
3301
+ token : "string",
3302
+ regex : "'(?=.)",
3303
+ next : "qstring"
3304
+ }, {
3305
+ token : "string",
3306
+ regex : '"(?=.)',
3307
+ next : "qqstring"
3308
+ }, {
3309
+ token : "constant.numeric", // hexadecimal, octal and binary
3310
+ regex : /0(?:[xX][0-9a-fA-F]+|[oO][0-7]+|[bB][01]+)\b/
3311
+ }, {
3312
+ token : "constant.numeric", // decimal integers and floats
3313
+ regex : /(?:\d\d*(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+\b)?/
3314
+ }, {
3315
+ token : [
3316
+ "storage.type", "punctuation.operator", "support.function",
3317
+ "punctuation.operator", "entity.name.function", "text","keyword.operator"
3318
+ ],
3319
+ regex : "(" + identifierRe + ")(\\.)(prototype)(\\.)(" + identifierRe +")(\\s*)(=)",
3320
+ next: "function_arguments"
3321
+ }, {
3322
+ token : [
3323
+ "storage.type", "punctuation.operator", "entity.name.function", "text",
3324
+ "keyword.operator", "text", "storage.type", "text", "paren.lparen"
3325
+ ],
3326
+ regex : "(" + identifierRe + ")(\\.)(" + identifierRe +")(\\s*)(=)(\\s*)(function)(\\s*)(\\()",
3327
+ next: "function_arguments"
3328
+ }, {
3329
+ token : [
3330
+ "entity.name.function", "text", "keyword.operator", "text", "storage.type",
3331
+ "text", "paren.lparen"
3332
+ ],
3333
+ regex : "(" + identifierRe +")(\\s*)(=)(\\s*)(function)(\\s*)(\\()",
3334
+ next: "function_arguments"
3335
+ }, {
3336
+ token : [
3337
+ "storage.type", "punctuation.operator", "entity.name.function", "text",
3338
+ "keyword.operator", "text",
3339
+ "storage.type", "text", "entity.name.function", "text", "paren.lparen"
3340
+ ],
3341
+ regex : "(" + identifierRe + ")(\\.)(" + identifierRe +")(\\s*)(=)(\\s*)(function)(\\s+)(\\w+)(\\s*)(\\()",
3342
+ next: "function_arguments"
3343
+ }, {
3344
+ token : [
3345
+ "storage.type", "text", "entity.name.function", "text", "paren.lparen"
3346
+ ],
3347
+ regex : "(function)(\\s+)(" + identifierRe + ")(\\s*)(\\()",
3348
+ next: "function_arguments"
3349
+ }, {
3350
+ token : [
3351
+ "entity.name.function", "text", "punctuation.operator",
3352
+ "text", "storage.type", "text", "paren.lparen"
3353
+ ],
3354
+ regex : "(" + identifierRe + ")(\\s*)(:)(\\s*)(function)(\\s*)(\\()",
3355
+ next: "function_arguments"
3356
+ }, {
3357
+ token : [
3358
+ "text", "text", "storage.type", "text", "paren.lparen"
3359
+ ],
3360
+ regex : "(:)(\\s*)(function)(\\s*)(\\()",
3361
+ next: "function_arguments"
3362
+ }, {
3363
+ token : "keyword",
3364
+ regex : "from(?=\\s*('|\"))"
3365
+ }, {
3366
+ token : "keyword",
3367
+ regex : "(?:" + kwBeforeRe + ")\\b",
3368
+ next : "start"
3369
+ }, {
3370
+ token : ["support.constant"],
3371
+ regex : /that\b/
3372
+ }, {
3373
+ token : ["storage.type", "punctuation.operator", "support.function.firebug"],
3374
+ regex : /(console)(\.)(warn|info|log|error|time|trace|timeEnd|assert)\b/
3375
+ }, {
3376
+ token : keywordMapper,
3377
+ regex : identifierRe
3378
+ }, {
3379
+ token : "punctuation.operator",
3380
+ regex : /[.](?![.])/,
3381
+ next : "property"
3382
+ }, {
3383
+ token : "storage.type",
3384
+ regex : /=>/,
3385
+ next : "start"
3386
+ }, {
3387
+ token : "keyword.operator",
3388
+ regex : /--|\+\+|\.{3}|===|==|=|!=|!==|<+=?|>+=?|!|&&|\|\||\?:|[!$%&*+\-~\/^]=?/,
3389
+ next : "start"
3390
+ }, {
3391
+ token : "punctuation.operator",
3392
+ regex : /[?:,;.]/,
3393
+ next : "start"
3394
+ }, {
3395
+ token : "paren.lparen",
3396
+ regex : /[\[({]/,
3397
+ next : "start"
3398
+ }, {
3399
+ token : "paren.rparen",
3400
+ regex : /[\])}]/
3401
+ }, {
3402
+ token: "comment",
3403
+ regex: /^#!.*$/
3404
+ }
3405
+ ],
3406
+ property: [{
3407
+ token : "text",
3408
+ regex : "\\s+"
3409
+ }, {
3410
+ token : [
3411
+ "storage.type", "punctuation.operator", "entity.name.function", "text",
3412
+ "keyword.operator", "text",
3413
+ "storage.type", "text", "entity.name.function", "text", "paren.lparen"
3414
+ ],
3415
+ regex : "(" + identifierRe + ")(\\.)(" + identifierRe +")(\\s*)(=)(\\s*)(function)(?:(\\s+)(\\w+))?(\\s*)(\\()",
3416
+ next: "function_arguments"
3417
+ }, {
3418
+ token : "punctuation.operator",
3419
+ regex : /[.](?![.])/
3420
+ }, {
3421
+ token : "support.function",
3422
+ regex : /(s(?:h(?:ift|ow(?:Mod(?:elessDialog|alDialog)|Help))|croll(?:X|By(?:Pages|Lines)?|Y|To)?|t(?:op|rike)|i(?:n|zeToContent|debar|gnText)|ort|u(?:p|b(?:str(?:ing)?)?)|pli(?:ce|t)|e(?:nd|t(?:Re(?:sizable|questHeader)|M(?:i(?:nutes|lliseconds)|onth)|Seconds|Ho(?:tKeys|urs)|Year|Cursor|Time(?:out)?|Interval|ZOptions|Date|UTC(?:M(?:i(?:nutes|lliseconds)|onth)|Seconds|Hours|Date|FullYear)|FullYear|Active)|arch)|qrt|lice|avePreferences|mall)|h(?:ome|andleEvent)|navigate|c(?:har(?:CodeAt|At)|o(?:s|n(?:cat|textual|firm)|mpile)|eil|lear(?:Timeout|Interval)?|a(?:ptureEvents|ll)|reate(?:StyleSheet|Popup|EventObject))|t(?:o(?:GMTString|S(?:tring|ource)|U(?:TCString|pperCase)|Lo(?:caleString|werCase))|est|a(?:n|int(?:Enabled)?))|i(?:s(?:NaN|Finite)|ndexOf|talics)|d(?:isableExternalCapture|ump|etachEvent)|u(?:n(?:shift|taint|escape|watch)|pdateCommands)|j(?:oin|avaEnabled)|p(?:o(?:p|w)|ush|lugins.refresh|a(?:ddings|rse(?:Int|Float)?)|r(?:int|ompt|eference))|e(?:scape|nableExternalCapture|val|lementFromPoint|x(?:p|ec(?:Script|Command)?))|valueOf|UTC|queryCommand(?:State|Indeterm|Enabled|Value)|f(?:i(?:nd|le(?:ModifiedDate|Size|CreatedDate|UpdatedDate)|xed)|o(?:nt(?:size|color)|rward)|loor|romCharCode)|watch|l(?:ink|o(?:ad|g)|astIndexOf)|a(?:sin|nchor|cos|t(?:tachEvent|ob|an(?:2)?)|pply|lert|b(?:s|ort))|r(?:ou(?:nd|teEvents)|e(?:size(?:By|To)|calc|turnValue|place|verse|l(?:oad|ease(?:Capture|Events)))|andom)|g(?:o|et(?:ResponseHeader|M(?:i(?:nutes|lliseconds)|onth)|Se(?:conds|lection)|Hours|Year|Time(?:zoneOffset)?|Da(?:y|te)|UTC(?:M(?:i(?:nutes|lliseconds)|onth)|Seconds|Hours|Da(?:y|te)|FullYear)|FullYear|A(?:ttention|llResponseHeaders)))|m(?:in|ove(?:B(?:y|elow)|To(?:Absolute)?|Above)|ergeAttributes|a(?:tch|rgins|x))|b(?:toa|ig|o(?:ld|rderWidths)|link|ack))\b(?=\()/
3423
+ }, {
3424
+ token : "support.function.dom",
3425
+ regex : /(s(?:ub(?:stringData|mit)|plitText|e(?:t(?:NamedItem|Attribute(?:Node)?)|lect))|has(?:ChildNodes|Feature)|namedItem|c(?:l(?:ick|o(?:se|neNode))|reate(?:C(?:omment|DATASection|aption)|T(?:Head|extNode|Foot)|DocumentFragment|ProcessingInstruction|E(?:ntityReference|lement)|Attribute))|tabIndex|i(?:nsert(?:Row|Before|Cell|Data)|tem)|open|delete(?:Row|C(?:ell|aption)|T(?:Head|Foot)|Data)|focus|write(?:ln)?|a(?:dd|ppend(?:Child|Data))|re(?:set|place(?:Child|Data)|move(?:NamedItem|Child|Attribute(?:Node)?)?)|get(?:NamedItem|Element(?:sBy(?:Name|TagName|ClassName)|ById)|Attribute(?:Node)?)|blur)\b(?=\()/
3426
+ }, {
3427
+ token : "support.constant",
3428
+ regex : /(s(?:ystemLanguage|cr(?:ipts|ollbars|een(?:X|Y|Top|Left))|t(?:yle(?:Sheets)?|atus(?:Text|bar)?)|ibling(?:Below|Above)|ource|uffixes|e(?:curity(?:Policy)?|l(?:ection|f)))|h(?:istory|ost(?:name)?|as(?:h|Focus))|y|X(?:MLDocument|SLDocument)|n(?:ext|ame(?:space(?:s|URI)|Prop))|M(?:IN_VALUE|AX_VALUE)|c(?:haracterSet|o(?:n(?:structor|trollers)|okieEnabled|lorDepth|mp(?:onents|lete))|urrent|puClass|l(?:i(?:p(?:boardData)?|entInformation)|osed|asses)|alle(?:e|r)|rypto)|t(?:o(?:olbar|p)|ext(?:Transform|Indent|Decoration|Align)|ags)|SQRT(?:1_2|2)|i(?:n(?:ner(?:Height|Width)|put)|ds|gnoreCase)|zIndex|o(?:scpu|n(?:readystatechange|Line)|uter(?:Height|Width)|p(?:sProfile|ener)|ffscreenBuffering)|NEGATIVE_INFINITY|d(?:i(?:splay|alog(?:Height|Top|Width|Left|Arguments)|rectories)|e(?:scription|fault(?:Status|Ch(?:ecked|arset)|View)))|u(?:ser(?:Profile|Language|Agent)|n(?:iqueID|defined)|pdateInterval)|_content|p(?:ixelDepth|ort|ersonalbar|kcs11|l(?:ugins|atform)|a(?:thname|dding(?:Right|Bottom|Top|Left)|rent(?:Window|Layer)?|ge(?:X(?:Offset)?|Y(?:Offset)?))|r(?:o(?:to(?:col|type)|duct(?:Sub)?|mpter)|e(?:vious|fix)))|e(?:n(?:coding|abledPlugin)|x(?:ternal|pando)|mbeds)|v(?:isibility|endor(?:Sub)?|Linkcolor)|URLUnencoded|P(?:I|OSITIVE_INFINITY)|f(?:ilename|o(?:nt(?:Size|Family|Weight)|rmName)|rame(?:s|Element)|gColor)|E|whiteSpace|l(?:i(?:stStyleType|n(?:eHeight|kColor))|o(?:ca(?:tion(?:bar)?|lName)|wsrc)|e(?:ngth|ft(?:Context)?)|a(?:st(?:M(?:odified|atch)|Index|Paren)|yer(?:s|X)|nguage))|a(?:pp(?:MinorVersion|Name|Co(?:deName|re)|Version)|vail(?:Height|Top|Width|Left)|ll|r(?:ity|guments)|Linkcolor|bove)|r(?:ight(?:Context)?|e(?:sponse(?:XML|Text)|adyState))|global|x|m(?:imeTypes|ultiline|enubar|argin(?:Right|Bottom|Top|Left))|L(?:N(?:10|2)|OG(?:10E|2E))|b(?:o(?:ttom|rder(?:Width|RightWidth|BottomWidth|Style|Color|TopWidth|LeftWidth))|ufferDepth|elow|ackground(?:Color|Image)))\b/
3429
+ }, {
3430
+ token : "identifier",
3431
+ regex : identifierRe
3432
+ }, {
3433
+ regex: "",
3434
+ token: "empty",
3435
+ next: "no_regex"
3436
+ }
3437
+ ],
3438
+ "start": [
3439
+ DocCommentHighlightRules.getStartRule("doc-start"),
3440
+ comments("start"),
3441
+ {
3442
+ token: "string.regexp",
3443
+ regex: "\\/",
3444
+ next: "regex"
3445
+ }, {
3446
+ token : "text",
3447
+ regex : "\\s+|^$",
3448
+ next : "start"
3449
+ }, {
3450
+ token: "empty",
3451
+ regex: "",
3452
+ next: "no_regex"
3453
+ }
3454
+ ],
3455
+ "regex": [
3456
+ {
3457
+ token: "regexp.keyword.operator",
3458
+ regex: "\\\\(?:u[\\da-fA-F]{4}|x[\\da-fA-F]{2}|.)"
3459
+ }, {
3460
+ token: "string.regexp",
3461
+ regex: "/[sxngimy]*",
3462
+ next: "no_regex"
3463
+ }, {
3464
+ token : "invalid",
3465
+ regex: /\{\d+\b,?\d*\}[+*]|[+*$^?][+*]|[$^][?]|\?{3,}/
3466
+ }, {
3467
+ token : "constant.language.escape",
3468
+ regex: /\(\?[:=!]|\)|\{\d+\b,?\d*\}|[+*]\?|[()$^+*?.]/
3469
+ }, {
3470
+ token : "constant.language.delimiter",
3471
+ regex: /\|/
3472
+ }, {
3473
+ token: "constant.language.escape",
3474
+ regex: /\[\^?/,
3475
+ next: "regex_character_class"
3476
+ }, {
3477
+ token: "empty",
3478
+ regex: "$",
3479
+ next: "no_regex"
3480
+ }, {
3481
+ defaultToken: "string.regexp"
3482
+ }
3483
+ ],
3484
+ "regex_character_class": [
3485
+ {
3486
+ token: "regexp.charclass.keyword.operator",
3487
+ regex: "\\\\(?:u[\\da-fA-F]{4}|x[\\da-fA-F]{2}|.)"
3488
+ }, {
3489
+ token: "constant.language.escape",
3490
+ regex: "]",
3491
+ next: "regex"
3492
+ }, {
3493
+ token: "constant.language.escape",
3494
+ regex: "-"
3495
+ }, {
3496
+ token: "empty",
3497
+ regex: "$",
3498
+ next: "no_regex"
3499
+ }, {
3500
+ defaultToken: "string.regexp.charachterclass"
3501
+ }
3502
+ ],
3503
+ "function_arguments": [
3504
+ {
3505
+ token: "variable.parameter",
3506
+ regex: identifierRe
3507
+ }, {
3508
+ token: "punctuation.operator",
3509
+ regex: "[, ]+"
3510
+ }, {
3511
+ token: "punctuation.operator",
3512
+ regex: "$"
3513
+ }, {
3514
+ token: "empty",
3515
+ regex: "",
3516
+ next: "no_regex"
3517
+ }
3518
+ ],
3519
+ "qqstring" : [
3520
+ {
3521
+ token : "constant.language.escape",
3522
+ regex : escapedRe
3523
+ }, {
3524
+ token : "string",
3525
+ regex : "\\\\$",
3526
+ consumeLineEnd : true
3527
+ }, {
3528
+ token : "string",
3529
+ regex : '"|$',
3530
+ next : "no_regex"
3531
+ }, {
3532
+ defaultToken: "string"
3533
+ }
3534
+ ],
3535
+ "qstring" : [
3536
+ {
3537
+ token : "constant.language.escape",
3538
+ regex : escapedRe
3539
+ }, {
3540
+ token : "string",
3541
+ regex : "\\\\$",
3542
+ consumeLineEnd : true
3543
+ }, {
3544
+ token : "string",
3545
+ regex : "'|$",
3546
+ next : "no_regex"
3547
+ }, {
3548
+ defaultToken: "string"
3549
+ }
3550
+ ]
3551
+ };
3552
+
3553
+
3554
+ if (!options || !options.noES6) {
3555
+ this.$rules.no_regex.unshift({
3556
+ regex: "[{}]", onMatch: function(val, state, stack) {
3557
+ this.next = val == "{" ? this.nextState : "";
3558
+ if (val == "{" && stack.length) {
3559
+ stack.unshift("start", state);
3560
+ }
3561
+ else if (val == "}" && stack.length) {
3562
+ stack.shift();
3563
+ this.next = stack.shift();
3564
+ if (this.next.indexOf("string") != -1 || this.next.indexOf("jsx") != -1)
3565
+ return "paren.quasi.end";
3566
+ }
3567
+ return val == "{" ? "paren.lparen" : "paren.rparen";
3568
+ },
3569
+ nextState: "start"
3570
+ }, {
3571
+ token : "string.quasi.start",
3572
+ regex : /`/,
3573
+ push : [{
3574
+ token : "constant.language.escape",
3575
+ regex : escapedRe
3576
+ }, {
3577
+ token : "paren.quasi.start",
3578
+ regex : /\${/,
3579
+ push : "start"
3580
+ }, {
3581
+ token : "string.quasi.end",
3582
+ regex : /`/,
3583
+ next : "pop"
3584
+ }, {
3585
+ defaultToken: "string.quasi"
3586
+ }]
3587
+ });
3588
+
3589
+ if (!options || options.jsx != false)
3590
+ JSX.call(this);
3591
+ }
3592
+
3593
+ this.embedRules(DocCommentHighlightRules, "doc-",
3594
+ [ DocCommentHighlightRules.getEndRule("no_regex") ]);
3595
+
3596
+ this.normalizeRules();
3597
+ };
3598
+
3599
+ oop.inherits(JavaScriptHighlightRules, TextHighlightRules);
3600
+
3601
+ function JSX() {
3602
+ var tagRegex = identifierRe.replace("\\d", "\\d\\-");
3603
+ var jsxTag = {
3604
+ onMatch : function(val, state, stack) {
3605
+ var offset = val.charAt(1) == "/" ? 2 : 1;
3606
+ if (offset == 1) {
3607
+ if (state != this.nextState)
3608
+ stack.unshift(this.next, this.nextState, 0);
3609
+ else
3610
+ stack.unshift(this.next);
3611
+ stack[2]++;
3612
+ } else if (offset == 2) {
3613
+ if (state == this.nextState) {
3614
+ stack[1]--;
3615
+ if (!stack[1] || stack[1] < 0) {
3616
+ stack.shift();
3617
+ stack.shift();
3618
+ }
3619
+ }
3620
+ }
3621
+ return [{
3622
+ type: "meta.tag.punctuation." + (offset == 1 ? "" : "end-") + "tag-open.xml",
3623
+ value: val.slice(0, offset)
3624
+ }, {
3625
+ type: "meta.tag.tag-name.xml",
3626
+ value: val.substr(offset)
3627
+ }];
3628
+ },
3629
+ regex : "</?" + tagRegex + "",
3630
+ next: "jsxAttributes",
3631
+ nextState: "jsx"
3632
+ };
3633
+ this.$rules.start.unshift(jsxTag);
3634
+ var jsxJsRule = {
3635
+ regex: "{",
3636
+ token: "paren.quasi.start",
3637
+ push: "start"
3638
+ };
3639
+ this.$rules.jsx = [
3640
+ jsxJsRule,
3641
+ jsxTag,
3642
+ {include : "reference"},
3643
+ {defaultToken: "string"}
3644
+ ];
3645
+ this.$rules.jsxAttributes = [{
3646
+ token : "meta.tag.punctuation.tag-close.xml",
3647
+ regex : "/?>",
3648
+ onMatch : function(value, currentState, stack) {
3649
+ if (currentState == stack[0])
3650
+ stack.shift();
3651
+ if (value.length == 2) {
3652
+ if (stack[0] == this.nextState)
3653
+ stack[1]--;
3654
+ if (!stack[1] || stack[1] < 0) {
3655
+ stack.splice(0, 2);
3656
+ }
3657
+ }
3658
+ this.next = stack[0] || "start";
3659
+ return [{type: this.token, value: value}];
3660
+ },
3661
+ nextState: "jsx"
3662
+ },
3663
+ jsxJsRule,
3664
+ comments("jsxAttributes"),
3665
+ {
3666
+ token : "entity.other.attribute-name.xml",
3667
+ regex : tagRegex
3668
+ }, {
3669
+ token : "keyword.operator.attribute-equals.xml",
3670
+ regex : "="
3671
+ }, {
3672
+ token : "text.tag-whitespace.xml",
3673
+ regex : "\\s+"
3674
+ }, {
3675
+ token : "string.attribute-value.xml",
3676
+ regex : "'",
3677
+ stateName : "jsx_attr_q",
3678
+ push : [
3679
+ {token : "string.attribute-value.xml", regex: "'", next: "pop"},
3680
+ {include : "reference"},
3681
+ {defaultToken : "string.attribute-value.xml"}
3682
+ ]
3683
+ }, {
3684
+ token : "string.attribute-value.xml",
3685
+ regex : '"',
3686
+ stateName : "jsx_attr_qq",
3687
+ push : [
3688
+ {token : "string.attribute-value.xml", regex: '"', next: "pop"},
3689
+ {include : "reference"},
3690
+ {defaultToken : "string.attribute-value.xml"}
3691
+ ]
3692
+ },
3693
+ jsxTag
3694
+ ];
3695
+ this.$rules.reference = [{
3696
+ token : "constant.language.escape.reference.xml",
3697
+ regex : "(?:&#[0-9]+;)|(?:&#x[0-9a-fA-F]+;)|(?:&[a-zA-Z0-9_:\\.-]+;)"
3698
+ }];
3699
+ }
3700
+
3701
+ function comments(next) {
3702
+ return [
3703
+ {
3704
+ token : "comment", // multi line comment
3705
+ regex : /\/\*/,
3706
+ next: [
3707
+ DocCommentHighlightRules.getTagRule(),
3708
+ {token : "comment", regex : "\\*\\/", next : next || "pop"},
3709
+ {defaultToken : "comment", caseInsensitive: true}
3710
+ ]
3711
+ }, {
3712
+ token : "comment",
3713
+ regex : "\\/\\/",
3714
+ next: [
3715
+ DocCommentHighlightRules.getTagRule(),
3716
+ {token : "comment", regex : "$|^", next : next || "pop"},
3717
+ {defaultToken : "comment", caseInsensitive: true}
3718
+ ]
3719
+ }
3720
+ ];
3721
+ }
3722
+ exports.JavaScriptHighlightRules = JavaScriptHighlightRules;
3723
+ });
3724
+
3725
+ ace.define("ace/mode/xml_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function(require, exports, module) {
3726
+ "use strict";
3727
+
3728
+ var oop = require("../lib/oop");
3729
+ var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
3730
+
3731
+ var XmlHighlightRules = function(normalize) {
3732
+ var tagRegex = "[_:a-zA-Z\xc0-\uffff][-_:.a-zA-Z0-9\xc0-\uffff]*";
3733
+
3734
+ this.$rules = {
3735
+ start : [
3736
+ {token : "string.cdata.xml", regex : "<\\!\\[CDATA\\[", next : "cdata"},
3737
+ {
3738
+ token : ["punctuation.instruction.xml", "keyword.instruction.xml"],
3739
+ regex : "(<\\?)(" + tagRegex + ")", next : "processing_instruction"
3740
+ },
3741
+ {token : "comment.start.xml", regex : "<\\!--", next : "comment"},
3742
+ {
3743
+ token : ["xml-pe.doctype.xml", "xml-pe.doctype.xml"],
3744
+ regex : "(<\\!)(DOCTYPE)(?=[\\s])", next : "doctype", caseInsensitive: true
3745
+ },
3746
+ {include : "tag"},
3747
+ {token : "text.end-tag-open.xml", regex: "</"},
3748
+ {token : "text.tag-open.xml", regex: "<"},
3749
+ {include : "reference"},
3750
+ {defaultToken : "text.xml"}
3751
+ ],
3752
+
3753
+ processing_instruction : [{
3754
+ token : "entity.other.attribute-name.decl-attribute-name.xml",
3755
+ regex : tagRegex
3756
+ }, {
3757
+ token : "keyword.operator.decl-attribute-equals.xml",
3758
+ regex : "="
3759
+ }, {
3760
+ include: "whitespace"
3761
+ }, {
3762
+ include: "string"
3763
+ }, {
3764
+ token : "punctuation.xml-decl.xml",
3765
+ regex : "\\?>",
3766
+ next : "start"
3767
+ }],
3768
+
3769
+ doctype : [
3770
+ {include : "whitespace"},
3771
+ {include : "string"},
3772
+ {token : "xml-pe.doctype.xml", regex : ">", next : "start"},
3773
+ {token : "xml-pe.xml", regex : "[-_a-zA-Z0-9:]+"},
3774
+ {token : "punctuation.int-subset", regex : "\\[", push : "int_subset"}
3775
+ ],
3776
+
3777
+ int_subset : [{
3778
+ token : "text.xml",
3779
+ regex : "\\s+"
3780
+ }, {
3781
+ token: "punctuation.int-subset.xml",
3782
+ regex: "]",
3783
+ next: "pop"
3784
+ }, {
3785
+ token : ["punctuation.markup-decl.xml", "keyword.markup-decl.xml"],
3786
+ regex : "(<\\!)(" + tagRegex + ")",
3787
+ push : [{
3788
+ token : "text",
3789
+ regex : "\\s+"
3790
+ },
3791
+ {
3792
+ token : "punctuation.markup-decl.xml",
3793
+ regex : ">",
3794
+ next : "pop"
3795
+ },
3796
+ {include : "string"}]
3797
+ }],
3798
+
3799
+ cdata : [
3800
+ {token : "string.cdata.xml", regex : "\\]\\]>", next : "start"},
3801
+ {token : "text.xml", regex : "\\s+"},
3802
+ {token : "text.xml", regex : "(?:[^\\]]|\\](?!\\]>))+"}
3803
+ ],
3804
+
3805
+ comment : [
3806
+ {token : "comment.end.xml", regex : "-->", next : "start"},
3807
+ {defaultToken : "comment.xml"}
3808
+ ],
3809
+
3810
+ reference : [{
3811
+ token : "constant.language.escape.reference.xml",
3812
+ regex : "(?:&#[0-9]+;)|(?:&#x[0-9a-fA-F]+;)|(?:&[a-zA-Z0-9_:\\.-]+;)"
3813
+ }],
3814
+
3815
+ attr_reference : [{
3816
+ token : "constant.language.escape.reference.attribute-value.xml",
3817
+ regex : "(?:&#[0-9]+;)|(?:&#x[0-9a-fA-F]+;)|(?:&[a-zA-Z0-9_:\\.-]+;)"
3818
+ }],
3819
+
3820
+ tag : [{
3821
+ token : ["meta.tag.punctuation.tag-open.xml", "meta.tag.punctuation.end-tag-open.xml", "meta.tag.tag-name.xml"],
3822
+ regex : "(?:(<)|(</))((?:" + tagRegex + ":)?" + tagRegex + ")",
3823
+ next: [
3824
+ {include : "attributes"},
3825
+ {token : "meta.tag.punctuation.tag-close.xml", regex : "/?>", next : "start"}
3826
+ ]
3827
+ }],
3828
+
3829
+ tag_whitespace : [
3830
+ {token : "text.tag-whitespace.xml", regex : "\\s+"}
3831
+ ],
3832
+ whitespace : [
3833
+ {token : "text.whitespace.xml", regex : "\\s+"}
3834
+ ],
3835
+ string: [{
3836
+ token : "string.xml",
3837
+ regex : "'",
3838
+ push : [
3839
+ {token : "string.xml", regex: "'", next: "pop"},
3840
+ {defaultToken : "string.xml"}
3841
+ ]
3842
+ }, {
3843
+ token : "string.xml",
3844
+ regex : '"',
3845
+ push : [
3846
+ {token : "string.xml", regex: '"', next: "pop"},
3847
+ {defaultToken : "string.xml"}
3848
+ ]
3849
+ }],
3850
+
3851
+ attributes: [{
3852
+ token : "entity.other.attribute-name.xml",
3853
+ regex : tagRegex
3854
+ }, {
3855
+ token : "keyword.operator.attribute-equals.xml",
3856
+ regex : "="
3857
+ }, {
3858
+ include: "tag_whitespace"
3859
+ }, {
3860
+ include: "attribute_value"
3861
+ }],
3862
+
3863
+ attribute_value: [{
3864
+ token : "string.attribute-value.xml",
3865
+ regex : "'",
3866
+ push : [
3867
+ {token : "string.attribute-value.xml", regex: "'", next: "pop"},
3868
+ {include : "attr_reference"},
3869
+ {defaultToken : "string.attribute-value.xml"}
3870
+ ]
3871
+ }, {
3872
+ token : "string.attribute-value.xml",
3873
+ regex : '"',
3874
+ push : [
3875
+ {token : "string.attribute-value.xml", regex: '"', next: "pop"},
3876
+ {include : "attr_reference"},
3877
+ {defaultToken : "string.attribute-value.xml"}
3878
+ ]
3879
+ }]
3880
+ };
3881
+
3882
+ if (this.constructor === XmlHighlightRules)
3883
+ this.normalizeRules();
3884
+ };
3885
+
3886
+
3887
+ (function() {
3888
+
3889
+ this.embedTagRules = function(HighlightRules, prefix, tag){
3890
+ this.$rules.tag.unshift({
3891
+ token : ["meta.tag.punctuation.tag-open.xml", "meta.tag." + tag + ".tag-name.xml"],
3892
+ regex : "(<)(" + tag + "(?=\\s|>|$))",
3893
+ next: [
3894
+ {include : "attributes"},
3895
+ {token : "meta.tag.punctuation.tag-close.xml", regex : "/?>", next : prefix + "start"}
3896
+ ]
3897
+ });
3898
+
3899
+ this.$rules[tag + "-end"] = [
3900
+ {include : "attributes"},
3901
+ {token : "meta.tag.punctuation.tag-close.xml", regex : "/?>", next: "start",
3902
+ onMatch : function(value, currentState, stack) {
3903
+ stack.splice(0);
3904
+ return this.token;
3905
+ }}
3906
+ ];
3907
+
3908
+ this.embedRules(HighlightRules, prefix, [{
3909
+ token: ["meta.tag.punctuation.end-tag-open.xml", "meta.tag." + tag + ".tag-name.xml"],
3910
+ regex : "(</)(" + tag + "(?=\\s|>|$))",
3911
+ next: tag + "-end"
3912
+ }, {
3913
+ token: "string.cdata.xml",
3914
+ regex : "<\\!\\[CDATA\\["
3915
+ }, {
3916
+ token: "string.cdata.xml",
3917
+ regex : "\\]\\]>"
3918
+ }]);
3919
+ };
3920
+
3921
+ }).call(TextHighlightRules.prototype);
3922
+
3923
+ oop.inherits(XmlHighlightRules, TextHighlightRules);
3924
+
3925
+ exports.XmlHighlightRules = XmlHighlightRules;
3926
+ });
3927
+
3928
+ ace.define("ace/mode/html_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/css_highlight_rules","ace/mode/javascript_highlight_rules","ace/mode/xml_highlight_rules"], function(require, exports, module) {
3929
+ "use strict";
3930
+
3931
+ var oop = require("../lib/oop");
3932
+ var lang = require("../lib/lang");
3933
+ var CssHighlightRules = require("./css_highlight_rules").CssHighlightRules;
3934
+ var JavaScriptHighlightRules = require("./javascript_highlight_rules").JavaScriptHighlightRules;
3935
+ var XmlHighlightRules = require("./xml_highlight_rules").XmlHighlightRules;
3936
+
3937
+ var tagMap = lang.createMap({
3938
+ a : 'anchor',
3939
+ button : 'form',
3940
+ form : 'form',
3941
+ img : 'image',
3942
+ input : 'form',
3943
+ label : 'form',
3944
+ option : 'form',
3945
+ script : 'script',
3946
+ select : 'form',
3947
+ textarea : 'form',
3948
+ style : 'style',
3949
+ table : 'table',
3950
+ tbody : 'table',
3951
+ td : 'table',
3952
+ tfoot : 'table',
3953
+ th : 'table',
3954
+ tr : 'table'
3955
+ });
3956
+
3957
+ var HtmlHighlightRules = function() {
3958
+ XmlHighlightRules.call(this);
3959
+
3960
+ this.addRules({
3961
+ attributes: [{
3962
+ include : "tag_whitespace"
3963
+ }, {
3964
+ token : "entity.other.attribute-name.xml",
3965
+ regex : "[-_a-zA-Z0-9:.]+"
3966
+ }, {
3967
+ token : "keyword.operator.attribute-equals.xml",
3968
+ regex : "=",
3969
+ push : [{
3970
+ include: "tag_whitespace"
3971
+ }, {
3972
+ token : "string.unquoted.attribute-value.html",
3973
+ regex : "[^<>='\"`\\s]+",
3974
+ next : "pop"
3975
+ }, {
3976
+ token : "empty",
3977
+ regex : "",
3978
+ next : "pop"
3979
+ }]
3980
+ }, {
3981
+ include : "attribute_value"
3982
+ }],
3983
+ tag: [{
3984
+ token : function(start, tag) {
3985
+ var group = tagMap[tag];
3986
+ return ["meta.tag.punctuation." + (start == "<" ? "" : "end-") + "tag-open.xml",
3987
+ "meta.tag" + (group ? "." + group : "") + ".tag-name.xml"];
3988
+ },
3989
+ regex : "(</?)([-_a-zA-Z0-9:.]+)",
3990
+ next: "tag_stuff"
3991
+ }],
3992
+ tag_stuff: [
3993
+ {include : "attributes"},
3994
+ {token : "meta.tag.punctuation.tag-close.xml", regex : "/?>", next : "start"}
3995
+ ]
3996
+ });
3997
+
3998
+ this.embedTagRules(CssHighlightRules, "css-", "style");
3999
+ this.embedTagRules(new JavaScriptHighlightRules({jsx: false}).getRules(), "js-", "script");
4000
+
4001
+ if (this.constructor === HtmlHighlightRules)
4002
+ this.normalizeRules();
4003
+ };
4004
+
4005
+ oop.inherits(HtmlHighlightRules, XmlHighlightRules);
4006
+
4007
+ exports.HtmlHighlightRules = HtmlHighlightRules;
4008
+ });
4009
+
4010
+ ace.define("ace/mode/csound_document_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/csound_orchestra_highlight_rules","ace/mode/csound_score_highlight_rules","ace/mode/html_highlight_rules","ace/mode/text_highlight_rules"], function(require, exports, module) {
4011
+ "use strict";
4012
+
4013
+ var oop = require("../lib/oop");
4014
+
4015
+ var CsoundOrchestraHighlightRules = require("./csound_orchestra_highlight_rules").CsoundOrchestraHighlightRules;
4016
+ var CsoundScoreHighlightRules = require("./csound_score_highlight_rules").CsoundScoreHighlightRules;
4017
+ var HtmlHighlightRules = require("./html_highlight_rules").HtmlHighlightRules;
4018
+ var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
4019
+
4020
+ var CsoundDocumentHighlightRules = function() {
4021
+
4022
+ var orchestraHighlightRules = new CsoundOrchestraHighlightRules("csound-");
4023
+ var scoreHighlightRules = new CsoundScoreHighlightRules("csound-score-");
4024
+
4025
+ this.$rules = {
4026
+ "start": [
4027
+ {
4028
+ token : ["meta.tag.punctuation.tag-open.csound-document", "entity.name.tag.begin.csound-document", "meta.tag.punctuation.tag-close.csound-document"],
4029
+ regex : /(<)(CsoundSynthesi[sz]er)(>)/,
4030
+ next : "synthesizer"
4031
+ },
4032
+ {defaultToken : "text.csound-document"}
4033
+ ],
4034
+
4035
+ "synthesizer": [
4036
+ {
4037
+ token : ["meta.tag.punctuation.end-tag-open.csound-document", "entity.name.tag.begin.csound-document", "meta.tag.punctuation.tag-close.csound-document"],
4038
+ regex : "(</)(CsoundSynthesi[sz]er)(>)",
4039
+ next : "start"
4040
+ }, {
4041
+ token : ["meta.tag.punctuation.tag-open.csound-document", "entity.name.tag.begin.csound-document", "meta.tag.punctuation.tag-close.csound-document"],
4042
+ regex : "(<)(CsInstruments)(>)",
4043
+ next : orchestraHighlightRules.embeddedRulePrefix + "start"
4044
+ }, {
4045
+ token : ["meta.tag.punctuation.tag-open.csound-document", "entity.name.tag.begin.csound-document", "meta.tag.punctuation.tag-close.csound-document"],
4046
+ regex : "(<)(CsScore)(>)",
4047
+ next : scoreHighlightRules.embeddedRulePrefix + "start"
4048
+ }, {
4049
+ token : ["meta.tag.punctuation.tag-open.csound-document", "entity.name.tag.begin.csound-document", "meta.tag.punctuation.tag-close.csound-document"],
4050
+ regex : "(<)([Hh][Tt][Mm][Ll])(>)",
4051
+ next : "html-start"
4052
+ }
4053
+ ]
4054
+ };
4055
+
4056
+ this.embedRules(orchestraHighlightRules.getRules(), orchestraHighlightRules.embeddedRulePrefix, [{
4057
+ token : ["meta.tag.punctuation.end-tag-open.csound-document", "entity.name.tag.begin.csound-document", "meta.tag.punctuation.tag-close.csound-document"],
4058
+ regex : "(</)(CsInstruments)(>)",
4059
+ next : "synthesizer"
4060
+ }]);
4061
+ this.embedRules(scoreHighlightRules.getRules(), scoreHighlightRules.embeddedRulePrefix, [{
4062
+ token : ["meta.tag.punctuation.end-tag-open.csound-document", "entity.name.tag.begin.csound-document", "meta.tag.punctuation.tag-close.csound-document"],
4063
+ regex : "(</)(CsScore)(>)",
4064
+ next : "synthesizer"
4065
+ }]);
4066
+ this.embedRules(HtmlHighlightRules, "html-", [{
4067
+ token : ["meta.tag.punctuation.end-tag-open.csound-document", "entity.name.tag.begin.csound-document", "meta.tag.punctuation.tag-close.csound-document"],
4068
+ regex : "(</)([Hh][Tt][Mm][Ll])(>)",
4069
+ next : "synthesizer"
4070
+ }]);
4071
+
4072
+ this.normalizeRules();
4073
+ };
4074
+
4075
+ oop.inherits(CsoundDocumentHighlightRules, TextHighlightRules);
4076
+
4077
+ exports.CsoundDocumentHighlightRules = CsoundDocumentHighlightRules;
4078
+ });
4079
+
4080
+ ace.define("ace/mode/csound_document",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/csound_document_highlight_rules"], function(require, exports, module) {
4081
+ "use strict";
4082
+
4083
+ var oop = require("../lib/oop");
4084
+ var TextMode = require("./text").Mode;
4085
+ var CsoundDocumentHighlightRules = require("./csound_document_highlight_rules").CsoundDocumentHighlightRules;
4086
+
4087
+ var Mode = function() {
4088
+ this.HighlightRules = CsoundDocumentHighlightRules;
4089
+ };
4090
+ oop.inherits(Mode, TextMode);
4091
+
4092
+ (function() {
4093
+ this.$id = "ace/mode/csound_document";
4094
+ this.snippetFileId = "ace/snippets/csound_document";
4095
+ }).call(Mode.prototype);
4096
+
4097
+ exports.Mode = Mode;
4098
+ }); (function() {
4099
+ ace.require(["ace/mode/csound_document"], function(m) {
4100
+ if (typeof module == "object" && typeof exports == "object" && module) {
4101
+ module.exports = m;
4102
+ }
4103
+ });
4104
+ })();
4105
+