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