ace-rails-ap 4.1.3 → 4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitmodules +1 -1
- data/Gemfile +2 -3
- data/ace-rails-ap.gemspec +0 -2
- data/lib/ace/rails/version.rb +1 -1
- data/update.sh +1 -1
- data/vendor/assets/javascripts/ace/ace.js +5192 -3414
- data/vendor/assets/javascripts/ace/ext-beautify.js +281 -288
- data/vendor/assets/javascripts/ace/ext-code_lens.js +238 -0
- data/vendor/assets/javascripts/ace/ext-elastic_tabstops_lite.js +6 -3
- data/vendor/assets/javascripts/ace/ext-emmet.js +353 -246
- data/vendor/assets/javascripts/ace/ext-error_marker.js +6 -3
- data/vendor/assets/javascripts/ace/ext-keybinding_menu.js +61 -38
- data/vendor/assets/javascripts/ace/ext-language_tools.js +532 -343
- data/vendor/assets/javascripts/ace/ext-linking.js +8 -5
- data/vendor/assets/javascripts/ace/ext-modelist.js +46 -12
- data/vendor/assets/javascripts/ace/ext-options.js +793 -0
- data/vendor/assets/javascripts/ace/ext-prompt.js +2783 -0
- data/vendor/assets/javascripts/ace/ext-rtl.js +122 -0
- data/vendor/assets/javascripts/ace/ext-searchbox.js +45 -40
- data/vendor/assets/javascripts/ace/ext-settings_menu.js +520 -369
- data/vendor/assets/javascripts/ace/ext-spellcheck.js +6 -4
- data/vendor/assets/javascripts/ace/ext-split.js +7 -46
- data/vendor/assets/javascripts/ace/ext-static_highlight.js +90 -22
- data/vendor/assets/javascripts/ace/ext-statusbar.js +9 -6
- data/vendor/assets/javascripts/ace/ext-textarea.js +21 -18
- data/vendor/assets/javascripts/ace/ext-themelist.js +10 -6
- data/vendor/assets/javascripts/ace/ext-whitespace.js +13 -6
- data/vendor/assets/javascripts/ace/keybinding-emacs.js +49 -61
- data/vendor/assets/javascripts/ace/keybinding-sublime.js +422 -0
- data/vendor/assets/javascripts/ace/keybinding-vim.js +620 -287
- data/vendor/assets/javascripts/ace/keybinding-vscode.js +262 -0
- data/vendor/assets/javascripts/ace/mode-abap.js +10 -3
- data/vendor/assets/javascripts/ace/mode-abc.js +14 -4
- data/vendor/assets/javascripts/ace/mode-actionscript.js +13 -5
- data/vendor/assets/javascripts/ace/mode-ada.js +54 -4
- data/vendor/assets/javascripts/ace/mode-alda.js +311 -0
- data/vendor/assets/javascripts/ace/mode-apache_conf.js +12 -5
- data/vendor/assets/javascripts/ace/mode-apex.js +457 -0
- data/vendor/assets/javascripts/ace/mode-applescript.js +11 -4
- data/vendor/assets/javascripts/ace/mode-aql.js +102 -0
- data/vendor/assets/javascripts/ace/mode-asciidoc.js +9 -2
- data/vendor/assets/javascripts/ace/mode-asl.js +422 -0
- data/vendor/assets/javascripts/ace/mode-assembly_x86.js +11 -4
- data/vendor/assets/javascripts/ace/mode-autohotkey.js +17 -8
- data/vendor/assets/javascripts/ace/mode-batchfile.js +12 -5
- data/vendor/assets/javascripts/ace/mode-c9search.js +9 -3
- data/vendor/assets/javascripts/ace/mode-c_cpp.js +23 -7
- data/vendor/assets/javascripts/ace/mode-cirru.js +11 -4
- data/vendor/assets/javascripts/ace/mode-clojure.js +9 -1
- data/vendor/assets/javascripts/ace/mode-cobol.js +8 -1
- data/vendor/assets/javascripts/ace/mode-coffee.js +12 -4
- data/vendor/assets/javascripts/ace/mode-coldfusion.js +163 -134
- data/vendor/assets/javascripts/ace/mode-crystal.js +642 -0
- data/vendor/assets/javascripts/ace/mode-csharp.js +13 -6
- data/vendor/assets/javascripts/ace/mode-csound_document.js +4036 -0
- data/vendor/assets/javascripts/ace/mode-csound_orchestra.js +2966 -0
- data/vendor/assets/javascripts/ace/mode-csound_score.js +462 -0
- data/vendor/assets/javascripts/ace/mode-csp.js +59 -0
- data/vendor/assets/javascripts/ace/mode-css.js +48 -27
- data/vendor/assets/javascripts/ace/mode-curly.js +162 -133
- data/vendor/assets/javascripts/ace/mode-d.js +12 -5
- data/vendor/assets/javascripts/ace/mode-dart.js +46 -20
- data/vendor/assets/javascripts/ace/mode-diff.js +11 -3
- data/vendor/assets/javascripts/ace/mode-django.js +164 -134
- data/vendor/assets/javascripts/ace/mode-dockerfile.js +12 -4
- data/vendor/assets/javascripts/ace/mode-dot.js +11 -4
- data/vendor/assets/javascripts/ace/mode-drools.js +46 -5
- data/vendor/assets/javascripts/ace/mode-edifact.js +166 -0
- data/vendor/assets/javascripts/ace/mode-eiffel.js +8 -1
- data/vendor/assets/javascripts/ace/mode-ejs.js +832 -298
- data/vendor/assets/javascripts/ace/mode-elixir.js +11 -4
- data/vendor/assets/javascripts/ace/mode-elm.js +10 -3
- data/vendor/assets/javascripts/ace/mode-erlang.js +13 -5
- data/vendor/assets/javascripts/ace/mode-forth.js +12 -5
- data/vendor/assets/javascripts/ace/mode-fortran.js +10 -3
- data/vendor/assets/javascripts/ace/mode-fsharp.js +316 -0
- data/vendor/assets/javascripts/ace/{mode-mipsassembler.js → mode-fsl.js} +91 -28
- data/vendor/assets/javascripts/ace/mode-ftl.js +23 -12
- data/vendor/assets/javascripts/ace/mode-gcode.js +8 -1
- data/vendor/assets/javascripts/ace/mode-gherkin.js +9 -4
- data/vendor/assets/javascripts/ace/mode-gitignore.js +8 -1
- data/vendor/assets/javascripts/ace/mode-glsl.js +24 -8
- data/vendor/assets/javascripts/ace/mode-gobstones.js +267 -99
- data/vendor/assets/javascripts/ace/mode-golang.js +11 -4
- data/vendor/assets/javascripts/ace/mode-graphqlschema.js +11 -3
- data/vendor/assets/javascripts/ace/mode-groovy.js +14 -5
- data/vendor/assets/javascripts/ace/mode-haml.js +442 -116
- data/vendor/assets/javascripts/ace/mode-handlebars.js +162 -133
- data/vendor/assets/javascripts/ace/mode-haskell.js +14 -6
- data/vendor/assets/javascripts/ace/mode-haskell_cabal.js +8 -1
- data/vendor/assets/javascripts/ace/mode-haxe.js +11 -4
- data/vendor/assets/javascripts/ace/mode-hjson.js +13 -6
- data/vendor/assets/javascripts/ace/mode-html.js +162 -133
- data/vendor/assets/javascripts/ace/mode-html_elixir.js +165 -136
- data/vendor/assets/javascripts/ace/mode-html_ruby.js +832 -298
- data/vendor/assets/javascripts/ace/mode-ini.js +8 -1
- data/vendor/assets/javascripts/ace/mode-io.js +14 -12
- data/vendor/assets/javascripts/ace/mode-jack.js +10 -3
- data/vendor/assets/javascripts/ace/mode-jade.js +272 -376
- data/vendor/assets/javascripts/ace/mode-java.js +110 -7
- data/vendor/assets/javascripts/ace/mode-javascript.js +14 -5
- data/vendor/assets/javascripts/ace/mode-json.js +13 -3
- data/vendor/assets/javascripts/ace/mode-json5.js +360 -0
- data/vendor/assets/javascripts/ace/mode-jsoniq.js +25 -12
- data/vendor/assets/javascripts/ace/mode-jsp.js +60 -15
- data/vendor/assets/javascripts/ace/mode-jssm.js +325 -0
- data/vendor/assets/javascripts/ace/mode-jsx.js +11 -4
- data/vendor/assets/javascripts/ace/mode-julia.js +12 -5
- data/vendor/assets/javascripts/ace/mode-kotlin.js +18 -7
- data/vendor/assets/javascripts/ace/mode-latex.js +87 -15
- data/vendor/assets/javascripts/ace/mode-less.js +47 -27
- data/vendor/assets/javascripts/ace/mode-liquid.js +2030 -472
- data/vendor/assets/javascripts/ace/mode-lisp.js +9 -2
- data/vendor/assets/javascripts/ace/mode-livescript.js +10 -2
- data/vendor/assets/javascripts/ace/mode-logiql.js +10 -3
- data/vendor/assets/javascripts/ace/mode-logtalk.js +352 -0
- data/vendor/assets/javascripts/ace/mode-lsl.js +11 -3
- data/vendor/assets/javascripts/ace/mode-lua.js +40 -12
- data/vendor/assets/javascripts/ace/mode-luapage.js +194 -144
- data/vendor/assets/javascripts/ace/mode-lucene.js +106 -22
- data/vendor/assets/javascripts/ace/mode-makefile.js +11 -3
- data/vendor/assets/javascripts/ace/mode-markdown.js +530 -201
- data/vendor/assets/javascripts/ace/mode-mask.js +101 -84
- data/vendor/assets/javascripts/ace/mode-matlab.js +8 -1
- data/vendor/assets/javascripts/ace/mode-maze.js +11 -3
- data/vendor/assets/javascripts/ace/mode-mediawiki.js +592 -0
- data/vendor/assets/javascripts/ace/mode-mel.js +11 -4
- data/vendor/assets/javascripts/ace/mode-mixal.js +122 -0
- data/vendor/assets/javascripts/ace/mode-mushcode.js +9 -2
- data/vendor/assets/javascripts/ace/mode-mysql.js +11 -4
- data/vendor/assets/javascripts/ace/mode-nginx.js +298 -0
- data/vendor/assets/javascripts/ace/mode-nim.js +363 -0
- data/vendor/assets/javascripts/ace/mode-nix.js +23 -7
- data/vendor/assets/javascripts/ace/mode-nsis.js +15 -8
- data/vendor/assets/javascripts/ace/mode-nunjucks.js +2698 -0
- data/vendor/assets/javascripts/ace/mode-objectivec.js +23 -8
- data/vendor/assets/javascripts/ace/mode-ocaml.js +8 -1
- data/vendor/assets/javascripts/ace/mode-pascal.js +92 -67
- data/vendor/assets/javascripts/ace/mode-perl.js +11 -3
- data/vendor/assets/javascripts/ace/mode-perl6.js +593 -0
- data/vendor/assets/javascripts/ace/mode-pgsql.js +314 -71
- data/vendor/assets/javascripts/ace/mode-php.js +1042 -995
- data/vendor/assets/javascripts/ace/mode-php_laravel_blade.js +13104 -0
- data/vendor/assets/javascripts/ace/mode-pig.js +13 -6
- data/vendor/assets/javascripts/ace/mode-plain_text.js +8 -1
- data/vendor/assets/javascripts/ace/mode-powershell.js +10 -3
- data/vendor/assets/javascripts/ace/mode-praat.js +17 -7
- data/vendor/assets/javascripts/ace/mode-prisma.js +489 -0
- data/vendor/assets/javascripts/ace/mode-prolog.js +12 -5
- data/vendor/assets/javascripts/ace/mode-properties.js +8 -1
- data/vendor/assets/javascripts/ace/mode-protobuf.js +23 -7
- data/vendor/assets/javascripts/ace/mode-puppet.js +368 -0
- data/vendor/assets/javascripts/ace/mode-python.js +306 -63
- data/vendor/assets/javascripts/ace/mode-qml.js +381 -0
- data/vendor/assets/javascripts/ace/mode-r.js +15 -4
- data/vendor/assets/javascripts/ace/mode-razor.js +166 -136
- data/vendor/assets/javascripts/ace/mode-rdoc.js +41 -3
- data/vendor/assets/javascripts/ace/mode-red.js +450 -0
- data/vendor/assets/javascripts/ace/mode-redshift.js +360 -0
- data/vendor/assets/javascripts/ace/mode-rhtml.js +162 -133
- data/vendor/assets/javascripts/ace/mode-rst.js +9 -1
- data/vendor/assets/javascripts/ace/mode-ruby.js +678 -166
- data/vendor/assets/javascripts/ace/mode-rust.js +16 -7
- data/vendor/assets/javascripts/ace/mode-sass.js +211 -116
- data/vendor/assets/javascripts/ace/mode-scad.js +11 -4
- data/vendor/assets/javascripts/ace/mode-scala.js +14 -5
- data/vendor/assets/javascripts/ace/mode-scheme.js +9 -2
- data/vendor/assets/javascripts/ace/mode-scss.js +412 -125
- data/vendor/assets/javascripts/ace/mode-sh.js +12 -4
- data/vendor/assets/javascripts/ace/mode-sjs.js +16 -7
- data/vendor/assets/javascripts/ace/mode-slim.js +5240 -0
- data/vendor/assets/javascripts/ace/mode-smarty.js +164 -135
- data/vendor/assets/javascripts/ace/mode-snippets.js +24 -16
- data/vendor/assets/javascripts/ace/mode-soy_template.js +164 -135
- data/vendor/assets/javascripts/ace/mode-space.js +8 -1
- data/vendor/assets/javascripts/ace/mode-sparql.js +13 -6
- data/vendor/assets/javascripts/ace/mode-sql.js +10 -2
- data/vendor/assets/javascripts/ace/mode-sqlserver.js +13 -5
- data/vendor/assets/javascripts/ace/mode-stylus.js +20 -10
- data/vendor/assets/javascripts/ace/mode-svg.js +27 -13
- data/vendor/assets/javascripts/ace/mode-swift.js +21 -8
- data/vendor/assets/javascripts/ace/mode-tcl.js +14 -3
- data/vendor/assets/javascripts/ace/mode-terraform.js +400 -0
- data/vendor/assets/javascripts/ace/mode-tex.js +9 -1
- data/vendor/assets/javascripts/ace/mode-text.js +8 -0
- data/vendor/assets/javascripts/ace/mode-textile.js +9 -1
- data/vendor/assets/javascripts/ace/mode-toml.js +9 -2
- data/vendor/assets/javascripts/ace/mode-tsx.js +28 -31
- data/vendor/assets/javascripts/ace/mode-turtle.js +13 -6
- data/vendor/assets/javascripts/ace/mode-twig.js +163 -134
- data/vendor/assets/javascripts/ace/mode-typescript.js +28 -31
- data/vendor/assets/javascripts/ace/mode-vala.js +14 -6
- data/vendor/assets/javascripts/ace/mode-vbscript.js +453 -17
- data/vendor/assets/javascripts/ace/mode-velocity.js +163 -133
- data/vendor/assets/javascripts/ace/mode-verilog.js +19 -5
- data/vendor/assets/javascripts/ace/mode-vhdl.js +13 -7
- data/vendor/assets/javascripts/ace/mode-visualforce.js +2640 -0
- data/vendor/assets/javascripts/ace/mode-wollok.js +17 -8
- data/vendor/assets/javascripts/ace/mode-xml.js +21 -9
- data/vendor/assets/javascripts/ace/mode-xquery.js +25 -12
- data/vendor/assets/javascripts/ace/mode-yaml.js +59 -18
- data/vendor/assets/javascripts/ace/mode-zeek.js +539 -0
- data/vendor/assets/javascripts/ace/snippets/abap.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/abc.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/actionscript.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/ada.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/alda.js +9 -0
- data/vendor/assets/javascripts/ace/snippets/apache_conf.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/apex.js +9 -0
- data/vendor/assets/javascripts/ace/snippets/applescript.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/aql.js +9 -0
- data/vendor/assets/javascripts/ace/snippets/asciidoc.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/asl.js +9 -0
- data/vendor/assets/javascripts/ace/snippets/assembly_x86.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/autohotkey.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/batchfile.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/c9search.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/c_cpp.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/cirru.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/clojure.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/cobol.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/coffee.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/coldfusion.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/crystal.js +9 -0
- data/vendor/assets/javascripts/ace/snippets/csharp.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/csound_document.js +24 -0
- data/vendor/assets/javascripts/ace/snippets/csound_orchestra.js +61 -0
- data/vendor/assets/javascripts/ace/snippets/csound_score.js +9 -0
- data/vendor/assets/javascripts/ace/snippets/csp.js +9 -0
- data/vendor/assets/javascripts/ace/snippets/css.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/curly.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/d.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/dart.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/diff.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/django.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/dockerfile.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/dot.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/drools.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/edifact.js +254 -0
- data/vendor/assets/javascripts/ace/snippets/eiffel.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/ejs.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/elixir.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/elm.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/erlang.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/forth.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/fortran.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/fsharp.js +9 -0
- data/vendor/assets/javascripts/ace/snippets/fsl.js +14 -0
- data/vendor/assets/javascripts/ace/snippets/ftl.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/gcode.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/gherkin.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/gitignore.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/glsl.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/gobstones.js +1701 -24
- data/vendor/assets/javascripts/ace/snippets/golang.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/graphqlschema.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/groovy.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/haml.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/handlebars.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/haskell.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/haskell_cabal.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/haxe.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/hjson.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/html.js +36 -2
- data/vendor/assets/javascripts/ace/snippets/html_elixir.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/html_ruby.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/ini.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/io.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/jack.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/jade.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/java.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/javascript.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/json.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/json5.js +9 -0
- data/vendor/assets/javascripts/ace/snippets/jsoniq.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/jsp.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/jssm.js +9 -0
- data/vendor/assets/javascripts/ace/snippets/jsx.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/julia.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/kotlin.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/latex.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/less.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/liquid.js +890 -2
- data/vendor/assets/javascripts/ace/snippets/lisp.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/livescript.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/logiql.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/logtalk.js +9 -0
- data/vendor/assets/javascripts/ace/snippets/lsl.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/lua.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/luapage.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/lucene.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/makefile.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/markdown.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/mask.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/matlab.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/maze.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/mediawiki.js +9 -0
- data/vendor/assets/javascripts/ace/snippets/mel.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/mixal.js +9 -0
- data/vendor/assets/javascripts/ace/snippets/mushcode.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/mysql.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/nginx.js +9 -0
- data/vendor/assets/javascripts/ace/snippets/nim.js +9 -0
- data/vendor/assets/javascripts/ace/snippets/nix.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/nsis.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/nunjucks.js +9 -0
- data/vendor/assets/javascripts/ace/snippets/objectivec.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/ocaml.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/pascal.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/perl.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/perl6.js +9 -0
- data/vendor/assets/javascripts/ace/snippets/pgsql.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/php.js +49 -36
- data/vendor/assets/javascripts/ace/snippets/php_laravel_blade.js +9 -0
- data/vendor/assets/javascripts/ace/snippets/pig.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/plain_text.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/powershell.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/praat.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/prisma.js +9 -0
- data/vendor/assets/javascripts/ace/snippets/prolog.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/properties.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/protobuf.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/puppet.js +9 -0
- data/vendor/assets/javascripts/ace/snippets/python.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/qml.js +9 -0
- data/vendor/assets/javascripts/ace/snippets/r.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/razor.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/rdoc.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/red.js +9 -0
- data/vendor/assets/javascripts/ace/snippets/redshift.js +9 -0
- data/vendor/assets/javascripts/ace/snippets/rhtml.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/rst.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/ruby.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/rust.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/sass.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/scad.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/scala.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/scheme.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/scss.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/sh.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/sjs.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/slim.js +9 -0
- data/vendor/assets/javascripts/ace/snippets/smarty.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/snippets.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/soy_template.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/space.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/sparql.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/sql.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/sqlserver.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/stylus.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/svg.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/swift.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/tcl.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/terraform.js +9 -0
- data/vendor/assets/javascripts/ace/snippets/tex.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/text.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/textile.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/toml.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/tsx.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/turtle.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/twig.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/typescript.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/vala.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/vbscript.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/velocity.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/verilog.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/vhdl.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/visualforce.js +9 -0
- data/vendor/assets/javascripts/ace/snippets/wollok.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/xml.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/xquery.js +8 -1
- data/vendor/assets/javascripts/ace/snippets/yaml.js +8 -6
- data/vendor/assets/javascripts/ace/snippets/zeek.js +9 -0
- data/vendor/assets/javascripts/ace/theme-ambiance.js +11 -8
- data/vendor/assets/javascripts/ace/theme-chaos.js +9 -2
- data/vendor/assets/javascripts/ace/theme-chrome.js +8 -1
- data/vendor/assets/javascripts/ace/theme-clouds.js +8 -1
- data/vendor/assets/javascripts/ace/theme-clouds_midnight.js +8 -1
- data/vendor/assets/javascripts/ace/theme-cobalt.js +8 -1
- data/vendor/assets/javascripts/ace/theme-crimson_editor.js +8 -1
- data/vendor/assets/javascripts/ace/theme-dawn.js +8 -1
- data/vendor/assets/javascripts/ace/theme-dracula.js +135 -0
- data/vendor/assets/javascripts/ace/theme-dreamweaver.js +8 -1
- data/vendor/assets/javascripts/ace/theme-eclipse.js +8 -1
- data/vendor/assets/javascripts/ace/theme-github.js +8 -1
- data/vendor/assets/javascripts/ace/theme-gob.js +8 -1
- data/vendor/assets/javascripts/ace/theme-gruvbox.js +8 -1
- data/vendor/assets/javascripts/ace/theme-idle_fingers.js +8 -1
- data/vendor/assets/javascripts/ace/theme-iplastic.js +8 -1
- data/vendor/assets/javascripts/ace/theme-katzenmilch.js +8 -1
- data/vendor/assets/javascripts/ace/theme-kr_theme.js +8 -1
- data/vendor/assets/javascripts/ace/theme-kuroir.js +8 -1
- data/vendor/assets/javascripts/ace/theme-merbivore.js +8 -1
- data/vendor/assets/javascripts/ace/theme-merbivore_soft.js +8 -1
- data/vendor/assets/javascripts/ace/theme-mono_industrial.js +8 -1
- data/vendor/assets/javascripts/ace/theme-monokai.js +8 -1
- data/vendor/assets/javascripts/ace/theme-nord_dark.js +102 -0
- data/vendor/assets/javascripts/ace/theme-pastel_on_dark.js +8 -1
- data/vendor/assets/javascripts/ace/theme-solarized_dark.js +8 -1
- data/vendor/assets/javascripts/ace/theme-solarized_light.js +9 -2
- data/vendor/assets/javascripts/ace/theme-sqlserver.js +8 -1
- data/vendor/assets/javascripts/ace/theme-terminal.js +8 -1
- data/vendor/assets/javascripts/ace/theme-textmate.js +9 -1
- data/vendor/assets/javascripts/ace/theme-tomorrow.js +8 -1
- data/vendor/assets/javascripts/ace/theme-tomorrow_night.js +8 -1
- data/vendor/assets/javascripts/ace/theme-tomorrow_night_blue.js +8 -1
- data/vendor/assets/javascripts/ace/theme-tomorrow_night_bright.js +8 -1
- data/vendor/assets/javascripts/ace/theme-tomorrow_night_eighties.js +8 -1
- data/vendor/assets/javascripts/ace/theme-twilight.js +8 -1
- data/vendor/assets/javascripts/ace/theme-vibrant_ink.js +8 -1
- data/vendor/assets/javascripts/ace/theme-xcode.js +8 -1
- data/vendor/assets/javascripts/ace/worker-base.js +1421 -0
- data/vendor/assets/javascripts/ace/worker-coffee.js +55 -742
- data/vendor/assets/javascripts/ace/worker-css.js +66 -739
- data/vendor/assets/javascripts/ace/worker-html.js +55 -738
- data/vendor/assets/javascripts/ace/worker-javascript.js +6693 -4209
- data/vendor/assets/javascripts/ace/worker-json.js +56 -737
- data/vendor/assets/javascripts/ace/worker-lua.js +56 -738
- data/vendor/assets/javascripts/ace/worker-php.js +897 -1512
- data/vendor/assets/javascripts/ace/worker-xml.js +129 -808
- data/vendor/assets/javascripts/ace/worker-xquery.js +54 -737
- metadata +74 -19
- data/vendor/assets/javascripts/ace/ext-chromevox.js +0 -540
- data/vendor/assets/javascripts/ace/ext-old_ie.js +0 -502
- data/vendor/assets/javascripts/ace/mode-bash.js +0 -247
- data/vendor/assets/javascripts/ace/mode-bro.js +0 -327
- data/vendor/assets/javascripts/ace/mode-lean.js +0 -281
- data/vendor/assets/javascripts/ace/mode-live_script.js +0 -481
- data/vendor/assets/javascripts/ace/mode-mips_assembler.js +0 -235
- data/vendor/assets/javascripts/ace/mode-swig.js +0 -1099
- data/vendor/assets/javascripts/ace/snippets/bro.js +0 -7
- data/vendor/assets/javascripts/ace/snippets/lean.js +0 -7
- data/vendor/assets/javascripts/ace/snippets/live_script.js +0 -7
- data/vendor/assets/javascripts/ace/snippets/mips_assembler.js +0 -7
- data/vendor/assets/javascripts/ace/snippets/mipsassembler.js +0 -7
- data/vendor/assets/javascripts/ace/snippets/swig.js +0 -7
@@ -275,9 +275,10 @@ var MatchingBraceOutdent = function() {};
|
|
275
275
|
exports.MatchingBraceOutdent = MatchingBraceOutdent;
|
276
276
|
});
|
277
277
|
|
278
|
-
define("ace/mode/r",["require","exports","module","ace/range","ace/lib/oop","ace/mode/text","ace/mode/text_highlight_rules","ace/mode/r_highlight_rules","ace/mode/matching_brace_outdent"], function(require, exports, module) {
|
278
|
+
define("ace/mode/r",["require","exports","module","ace/unicode","ace/range","ace/lib/oop","ace/mode/text","ace/mode/text_highlight_rules","ace/mode/r_highlight_rules","ace/mode/matching_brace_outdent"], function(require, exports, module) {
|
279
279
|
"use strict";
|
280
280
|
|
281
|
+
var unicode = require("../unicode");
|
281
282
|
var Range = require("../range").Range;
|
282
283
|
var oop = require("../lib/oop");
|
283
284
|
var TextMode = require("./text").Mode;
|
@@ -292,10 +293,20 @@ define("ace/mode/r",["require","exports","module","ace/range","ace/lib/oop","ace
|
|
292
293
|
};
|
293
294
|
oop.inherits(Mode, TextMode);
|
294
295
|
|
295
|
-
(function()
|
296
|
-
{
|
296
|
+
(function() {
|
297
297
|
this.lineCommentStart = "#";
|
298
|
+
this.tokenRe = new RegExp("^[" + unicode.wordChars + "._]+", "g");
|
299
|
+
|
300
|
+
this.nonTokenRe = new RegExp("^(?:[^" + unicode.wordChars + "._]|\s])+", "g");
|
298
301
|
this.$id = "ace/mode/r";
|
302
|
+
this.snippetFileId = "ace/snippets/r";
|
299
303
|
}).call(Mode.prototype);
|
300
304
|
exports.Mode = Mode;
|
301
|
-
});
|
305
|
+
}); (function() {
|
306
|
+
window.require(["ace/mode/r"], function(m) {
|
307
|
+
if (typeof module == "object" && typeof exports == "object" && module) {
|
308
|
+
module.exports = m;
|
309
|
+
}
|
310
|
+
});
|
311
|
+
})();
|
312
|
+
|
@@ -25,7 +25,7 @@ DocCommentHighlightRules.getTagRule = function(start) {
|
|
25
25
|
token : "comment.doc.tag.storage.type",
|
26
26
|
regex : "\\b(?:TODO|FIXME|XXX|HACK)\\b"
|
27
27
|
};
|
28
|
-
}
|
28
|
+
};
|
29
29
|
|
30
30
|
DocCommentHighlightRules.getStartRule = function(start) {
|
31
31
|
return {
|
@@ -181,7 +181,8 @@ var JavaScriptHighlightRules = function(options) {
|
|
181
181
|
next : "property"
|
182
182
|
}, {
|
183
183
|
token : "storage.type",
|
184
|
-
regex :
|
184
|
+
regex : /=>/,
|
185
|
+
next : "start"
|
185
186
|
}, {
|
186
187
|
token : "keyword.operator",
|
187
188
|
regex : /--|\+\+|\.{3}|===|==|=|!=|!==|<+=?|>+=?|!|&&|\|\||\?:|[!$%&*+\-~\/^]=?/,
|
@@ -582,8 +583,8 @@ oop.inherits(FoldMode, BaseFoldMode);
|
|
582
583
|
|
583
584
|
(function() {
|
584
585
|
|
585
|
-
this.foldingStartMarker = /(\{
|
586
|
-
this.foldingStopMarker = /^[^\[\{]*(\}
|
586
|
+
this.foldingStartMarker = /([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/;
|
587
|
+
this.foldingStopMarker = /^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/;
|
587
588
|
this.singleLineBlockCommentRe= /^\s*(\/\*).*\*\/\s*$/;
|
588
589
|
this.tripleStarBlockCommentRe = /^\s*(\/\*\*\*).*\*\/\s*$/;
|
589
590
|
this.startRegionRe = /^\s*(\/\*|\/\/)#?region\b/;
|
@@ -783,6 +784,7 @@ oop.inherits(Mode, TextMode);
|
|
783
784
|
};
|
784
785
|
|
785
786
|
this.$id = "ace/mode/javascript";
|
787
|
+
this.snippetFileId = "ace/snippets/javascript";
|
786
788
|
}).call(Mode.prototype);
|
787
789
|
|
788
790
|
exports.Mode = Mode;
|
@@ -794,9 +796,9 @@ define("ace/mode/css_highlight_rules",["require","exports","module","ace/lib/oop
|
|
794
796
|
var oop = require("../lib/oop");
|
795
797
|
var lang = require("../lib/lang");
|
796
798
|
var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
|
797
|
-
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|min-height|min-width|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|vertical-align|visibility|white-space|width|word-break|word-spacing|word-wrap|z-index";
|
799
|
+
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";
|
798
800
|
var supportFunction = exports.supportFunction = "rgb|rgba|url|attr|counter|counters";
|
799
|
-
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";
|
801
|
+
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";
|
800
802
|
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";
|
801
803
|
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";
|
802
804
|
|
@@ -826,7 +828,7 @@ var CssHighlightRules = function() {
|
|
826
828
|
regex: "\\}"
|
827
829
|
}, {
|
828
830
|
token: "string",
|
829
|
-
regex: "@",
|
831
|
+
regex: "@(?!viewport)",
|
830
832
|
next: "media"
|
831
833
|
}, {
|
832
834
|
token: "keyword",
|
@@ -849,7 +851,7 @@ var CssHighlightRules = function() {
|
|
849
851
|
}, {
|
850
852
|
caseInsensitive: true
|
851
853
|
}],
|
852
|
-
|
854
|
+
|
853
855
|
"media": [{
|
854
856
|
include : ["strings", "url", "comments"]
|
855
857
|
}, {
|
@@ -886,6 +888,9 @@ var CssHighlightRules = function() {
|
|
886
888
|
"ruleset" : [{
|
887
889
|
regex : "-(webkit|ms|moz|o)-",
|
888
890
|
token : "text"
|
891
|
+
}, {
|
892
|
+
token : "punctuation.operator",
|
893
|
+
regex : "[:;]"
|
889
894
|
}, {
|
890
895
|
token : "paren.rparen",
|
891
896
|
regex : "\\}",
|
@@ -894,7 +899,7 @@ var CssHighlightRules = function() {
|
|
894
899
|
include : ["strings", "url", "comments"]
|
895
900
|
}, {
|
896
901
|
token : ["constant.numeric", "keyword"],
|
897
|
-
regex : "(" + numRe + ")(ch|cm|deg|em|ex|fr|gd|grad|Hz|in|kHz|mm|ms|pc|pt|px|rad|rem|s|turn|vh|vm|vw|%)"
|
902
|
+
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|%)"
|
898
903
|
}, {
|
899
904
|
token : "constant.numeric",
|
900
905
|
regex : numRe
|
@@ -918,7 +923,7 @@ var CssHighlightRules = function() {
|
|
918
923
|
}, {
|
919
924
|
caseInsensitive: true
|
920
925
|
}],
|
921
|
-
|
926
|
+
|
922
927
|
url: [{
|
923
928
|
token : "support.function",
|
924
929
|
regex : "(?:url(:?-prefix)?|domain|regexp)\\(",
|
@@ -930,7 +935,7 @@ var CssHighlightRules = function() {
|
|
930
935
|
defaultToken: "string"
|
931
936
|
}]
|
932
937
|
}],
|
933
|
-
|
938
|
+
|
934
939
|
strings: [{
|
935
940
|
token : "string.start",
|
936
941
|
regex : "'",
|
@@ -968,7 +973,7 @@ var CssHighlightRules = function() {
|
|
968
973
|
token : "constant.language.escape",
|
969
974
|
regex : /\\([a-fA-F\d]{1,6}|[^a-fA-F\d])/
|
970
975
|
}]
|
971
|
-
|
976
|
+
|
972
977
|
};
|
973
978
|
|
974
979
|
this.normalizeRules();
|
@@ -1092,18 +1097,14 @@ var CssCompletions = function() {
|
|
1092
1097
|
}
|
1093
1098
|
|
1094
1099
|
this.completionsDefined = true;
|
1095
|
-
}
|
1100
|
+
};
|
1096
1101
|
|
1097
1102
|
this.getCompletions = function(state, session, pos, prefix) {
|
1098
1103
|
if (!this.completionsDefined) {
|
1099
1104
|
this.defineCompletions();
|
1100
1105
|
}
|
1101
1106
|
|
1102
|
-
|
1103
|
-
|
1104
|
-
if (!token)
|
1105
|
-
return [];
|
1106
|
-
if (state==='ruleset'){
|
1107
|
+
if (state==='ruleset' || session.$mode.$id == "ace/mode/scss") {
|
1107
1108
|
var line = session.getLine(pos.row).substr(0, pos.column);
|
1108
1109
|
if (/:[^;]+$/.test(line)) {
|
1109
1110
|
/([\w\-]+):[^:]*$/.test(line);
|
@@ -1122,9 +1123,9 @@ var CssCompletions = function() {
|
|
1122
1123
|
return properties.map(function(property){
|
1123
1124
|
return {
|
1124
1125
|
caption: property,
|
1125
|
-
snippet: property + ': $0',
|
1126
|
+
snippet: property + ': $0;',
|
1126
1127
|
meta: "property",
|
1127
|
-
score:
|
1128
|
+
score: 1000000
|
1128
1129
|
};
|
1129
1130
|
});
|
1130
1131
|
};
|
@@ -1144,7 +1145,7 @@ var CssCompletions = function() {
|
|
1144
1145
|
caption: value,
|
1145
1146
|
snippet: value,
|
1146
1147
|
meta: "property value",
|
1147
|
-
score:
|
1148
|
+
score: 1000000
|
1148
1149
|
};
|
1149
1150
|
});
|
1150
1151
|
};
|
@@ -1167,7 +1168,7 @@ var CssBehaviour = function () {
|
|
1167
1168
|
this.inherit(CstyleBehaviour);
|
1168
1169
|
|
1169
1170
|
this.add("colon", "insertion", function (state, action, editor, session, text) {
|
1170
|
-
if (text === ':') {
|
1171
|
+
if (text === ':' && editor.selection.isEmpty()) {
|
1171
1172
|
var cursor = editor.getCursorPosition();
|
1172
1173
|
var iterator = new TokenIterator(session, cursor.row, cursor.column);
|
1173
1174
|
var token = iterator.getCurrentToken();
|
@@ -1181,13 +1182,13 @@ var CssBehaviour = function () {
|
|
1181
1182
|
return {
|
1182
1183
|
text: '',
|
1183
1184
|
selection: [1, 1]
|
1184
|
-
}
|
1185
|
+
};
|
1185
1186
|
}
|
1186
|
-
if (
|
1187
|
+
if (/^(\s+[^;]|\s*$)/.test(line.substring(cursor.column))) {
|
1187
1188
|
return {
|
1188
1189
|
text: ':;',
|
1189
1190
|
selection: [1, 1]
|
1190
|
-
}
|
1191
|
+
};
|
1191
1192
|
}
|
1192
1193
|
}
|
1193
1194
|
}
|
@@ -1214,7 +1215,7 @@ var CssBehaviour = function () {
|
|
1214
1215
|
});
|
1215
1216
|
|
1216
1217
|
this.add("semicolon", "insertion", function (state, action, editor, session, text) {
|
1217
|
-
if (text === ';') {
|
1218
|
+
if (text === ';' && editor.selection.isEmpty()) {
|
1218
1219
|
var cursor = editor.getCursorPosition();
|
1219
1220
|
var line = session.doc.getLine(cursor.row);
|
1220
1221
|
var rightChar = line.substring(cursor.column, cursor.column + 1);
|
@@ -1222,12 +1223,26 @@ var CssBehaviour = function () {
|
|
1222
1223
|
return {
|
1223
1224
|
text: '',
|
1224
1225
|
selection: [1, 1]
|
1225
|
-
}
|
1226
|
+
};
|
1226
1227
|
}
|
1227
1228
|
}
|
1228
1229
|
});
|
1229
1230
|
|
1230
|
-
|
1231
|
+
this.add("!important", "insertion", function (state, action, editor, session, text) {
|
1232
|
+
if (text === '!' && editor.selection.isEmpty()) {
|
1233
|
+
var cursor = editor.getCursorPosition();
|
1234
|
+
var line = session.doc.getLine(cursor.row);
|
1235
|
+
|
1236
|
+
if (/^\s*(;|}|$)/.test(line.substring(cursor.column))) {
|
1237
|
+
return {
|
1238
|
+
text: '!important',
|
1239
|
+
selection: [10, 10]
|
1240
|
+
};
|
1241
|
+
}
|
1242
|
+
}
|
1243
|
+
});
|
1244
|
+
|
1245
|
+
};
|
1231
1246
|
oop.inherits(CssBehaviour, CstyleBehaviour);
|
1232
1247
|
|
1233
1248
|
exports.CssBehaviour = CssBehaviour;
|
@@ -1302,6 +1317,7 @@ oop.inherits(Mode, TextMode);
|
|
1302
1317
|
};
|
1303
1318
|
|
1304
1319
|
this.$id = "ace/mode/css";
|
1320
|
+
this.snippetFileId = "ace/snippets/css";
|
1305
1321
|
}).call(Mode.prototype);
|
1306
1322
|
|
1307
1323
|
exports.Mode = Mode;
|
@@ -1489,7 +1505,7 @@ var XmlHighlightRules = function(normalize) {
|
|
1489
1505
|
stack.splice(0);
|
1490
1506
|
return this.token;
|
1491
1507
|
}}
|
1492
|
-
]
|
1508
|
+
];
|
1493
1509
|
|
1494
1510
|
this.embedRules(HighlightRules, prefix, [{
|
1495
1511
|
token: ["meta.tag.punctuation.end-tag-open.xml", "meta.tag." + tag + ".tag-name.xml"],
|
@@ -1602,7 +1618,7 @@ var TokenIterator = require("../../token_iterator").TokenIterator;
|
|
1602
1618
|
var lang = require("../../lib/lang");
|
1603
1619
|
|
1604
1620
|
function is(token, type) {
|
1605
|
-
return token.type.lastIndexOf(type + ".xml") > -1;
|
1621
|
+
return token && token.type.lastIndexOf(type + ".xml") > -1;
|
1606
1622
|
}
|
1607
1623
|
|
1608
1624
|
var XmlBehaviour = function () {
|
@@ -1672,14 +1688,19 @@ var XmlBehaviour = function () {
|
|
1672
1688
|
if (is(token, "reference.attribute-value"))
|
1673
1689
|
return;
|
1674
1690
|
if (is(token, "attribute-value")) {
|
1675
|
-
var
|
1676
|
-
if (
|
1677
|
-
|
1678
|
-
|
1679
|
-
|
1691
|
+
var tokenEndColumn = iterator.getCurrentTokenColumn() + token.value.length;
|
1692
|
+
if (position.column < tokenEndColumn)
|
1693
|
+
return;
|
1694
|
+
if (position.column == tokenEndColumn) {
|
1695
|
+
var nextToken = iterator.stepForward();
|
1696
|
+
if (nextToken && is(nextToken, "attribute-value"))
|
1680
1697
|
return;
|
1698
|
+
iterator.stepBackward();
|
1681
1699
|
}
|
1682
1700
|
}
|
1701
|
+
|
1702
|
+
if (/^\s*>/.test(session.getLine(position.row).slice(position.column)))
|
1703
|
+
return;
|
1683
1704
|
while (!is(token, "tag-name")) {
|
1684
1705
|
token = iterator.stepBackward();
|
1685
1706
|
if (token.value == "<") {
|
@@ -1869,7 +1890,7 @@ function is(token, type) {
|
|
1869
1890
|
if (/comment/.test(session.getState(row)) && /<!-/.test(session.getLine(row)))
|
1870
1891
|
return "start";
|
1871
1892
|
return "";
|
1872
|
-
}
|
1893
|
+
};
|
1873
1894
|
this._getFirstTagInLine = function(session, row) {
|
1874
1895
|
var tokens = session.getTokens(row);
|
1875
1896
|
var tag = new Tag();
|
@@ -2172,120 +2193,120 @@ var eventAttributes = [
|
|
2172
2193
|
var globalAttributes = commonAttributes.concat(eventAttributes);
|
2173
2194
|
|
2174
2195
|
var attributeMap = {
|
2175
|
-
"
|
2176
|
-
"
|
2177
|
-
"
|
2178
|
-
"
|
2179
|
-
"link": {"href": 1, "hreflang": 1, "rel": {"stylesheet": 1, "icon": 1}, "media": {"all": 1, "screen": 1, "print": 1}, "type": {"text/css": 1, "image/png": 1, "image/jpeg": 1, "image/gif": 1}, "sizes": 1},
|
2180
|
-
"meta": {"http-equiv": {"content-type": 1}, "name": {"description": 1, "keywords": 1}, "content": {"text/html; charset=UTF-8": 1}, "charset": 1},
|
2181
|
-
"style": {"type": 1, "media": {"all": 1, "screen": 1, "print": 1}, "scoped": 1},
|
2182
|
-
"script": {"charset": 1, "type": {"text/javascript": 1}, "src": 1, "defer": 1, "async": 1},
|
2183
|
-
"noscript": {"href": 1},
|
2184
|
-
"body": {"onafterprint": 1, "onbeforeprint": 1, "onbeforeunload": 1, "onhashchange": 1, "onmessage": 1, "onoffline": 1, "onpopstate": 1, "onredo": 1, "onresize": 1, "onstorage": 1, "onundo": 1, "onunload": 1},
|
2185
|
-
"section": {},
|
2186
|
-
"nav": {},
|
2196
|
+
"a": {"href": 1, "target": {"_blank": 1, "top": 1}, "ping": 1, "rel": {"nofollow": 1, "alternate": 1, "author": 1, "bookmark": 1, "help": 1, "license": 1, "next": 1, "noreferrer": 1, "prefetch": 1, "prev": 1, "search": 1, "tag": 1}, "media": 1, "hreflang": 1, "type": 1},
|
2197
|
+
"abbr": {},
|
2198
|
+
"address": {},
|
2199
|
+
"area": {"shape": 1, "coords": 1, "href": 1, "hreflang": 1, "alt": 1, "target": 1, "media": 1, "rel": 1, "ping": 1, "type": 1},
|
2187
2200
|
"article": {"pubdate": 1},
|
2188
2201
|
"aside": {},
|
2202
|
+
"audio": {"src": 1, "autobuffer": 1, "autoplay": {"autoplay": 1}, "loop": {"loop": 1}, "controls": {"controls": 1}, "muted": {"muted": 1}, "preload": {"auto": 1, "metadata": 1, "none": 1 }},
|
2203
|
+
"b": {},
|
2204
|
+
"base": {"href": 1, "target": 1},
|
2205
|
+
"bdi": {},
|
2206
|
+
"bdo": {},
|
2207
|
+
"blockquote": {"cite": 1},
|
2208
|
+
"body": {"onafterprint": 1, "onbeforeprint": 1, "onbeforeunload": 1, "onhashchange": 1, "onmessage": 1, "onoffline": 1, "onpopstate": 1, "onredo": 1, "onresize": 1, "onstorage": 1, "onundo": 1, "onunload": 1},
|
2209
|
+
"br": {},
|
2210
|
+
"button": {"autofocus": 1, "disabled": {"disabled": 1}, "form": 1, "formaction": 1, "formenctype": 1, "formmethod": 1, "formnovalidate": 1, "formtarget": 1, "name": 1, "value": 1, "type": {"button": 1, "submit": 1}},
|
2211
|
+
"canvas": {"width": 1, "height": 1},
|
2212
|
+
"caption": {},
|
2213
|
+
"cite": {},
|
2214
|
+
"code": {},
|
2215
|
+
"col": {"span": 1},
|
2216
|
+
"colgroup": {"span": 1},
|
2217
|
+
"command": {"type": 1, "label": 1, "icon": 1, "disabled": 1, "checked": 1, "radiogroup": 1, "command": 1},
|
2218
|
+
"data": {},
|
2219
|
+
"datalist": {},
|
2220
|
+
"dd": {},
|
2221
|
+
"del": {"cite": 1, "datetime": 1},
|
2222
|
+
"details": {"open": 1},
|
2223
|
+
"dfn": {},
|
2224
|
+
"dialog": {"open": 1},
|
2225
|
+
"div": {},
|
2226
|
+
"dl": {},
|
2227
|
+
"dt": {},
|
2228
|
+
"em": {},
|
2229
|
+
"embed": {"src": 1, "height": 1, "width": 1, "type": 1},
|
2230
|
+
"fieldset": {"disabled": 1, "form": 1, "name": 1},
|
2231
|
+
"figcaption": {},
|
2232
|
+
"figure": {},
|
2233
|
+
"footer": {},
|
2234
|
+
"form": {"accept-charset": 1, "action": 1, "autocomplete": 1, "enctype": {"multipart/form-data": 1, "application/x-www-form-urlencoded": 1}, "method": {"get": 1, "post": 1}, "name": 1, "novalidate": 1, "target": {"_blank": 1, "top": 1}},
|
2189
2235
|
"h1": {},
|
2190
2236
|
"h2": {},
|
2191
2237
|
"h3": {},
|
2192
2238
|
"h4": {},
|
2193
2239
|
"h5": {},
|
2194
2240
|
"h6": {},
|
2241
|
+
"head": {},
|
2195
2242
|
"header": {},
|
2196
|
-
"
|
2197
|
-
"
|
2243
|
+
"hr": {},
|
2244
|
+
"html": {"manifest": 1},
|
2245
|
+
"i": {},
|
2246
|
+
"iframe": {"name": 1, "src": 1, "height": 1, "width": 1, "sandbox": {"allow-same-origin": 1, "allow-top-navigation": 1, "allow-forms": 1, "allow-scripts": 1}, "seamless": {"seamless": 1}},
|
2247
|
+
"img": {"alt": 1, "src": 1, "height": 1, "width": 1, "usemap": 1, "ismap": 1},
|
2248
|
+
"input": {
|
2249
|
+
"type": {"text": 1, "password": 1, "hidden": 1, "checkbox": 1, "submit": 1, "radio": 1, "file": 1, "button": 1, "reset": 1, "image": 31, "color": 1, "date": 1, "datetime": 1, "datetime-local": 1, "email": 1, "month": 1, "number": 1, "range": 1, "search": 1, "tel": 1, "time": 1, "url": 1, "week": 1},
|
2250
|
+
"accept": 1, "alt": 1, "autocomplete": {"on": 1, "off": 1}, "autofocus": {"autofocus": 1}, "checked": {"checked": 1}, "disabled": {"disabled": 1}, "form": 1, "formaction": 1, "formenctype": {"application/x-www-form-urlencoded": 1, "multipart/form-data": 1, "text/plain": 1}, "formmethod": {"get": 1, "post": 1}, "formnovalidate": {"formnovalidate": 1}, "formtarget": {"_blank": 1, "_self": 1, "_parent": 1, "_top": 1}, "height": 1, "list": 1, "max": 1, "maxlength": 1, "min": 1, "multiple": {"multiple": 1}, "name": 1, "pattern": 1, "placeholder": 1, "readonly": {"readonly": 1}, "required": {"required": 1}, "size": 1, "src": 1, "step": 1, "width": 1, "files": 1, "value": 1},
|
2251
|
+
"ins": {"cite": 1, "datetime": 1},
|
2252
|
+
"kbd": {},
|
2253
|
+
"keygen": {"autofocus": 1, "challenge": {"challenge": 1}, "disabled": {"disabled": 1}, "form": 1, "keytype": {"rsa": 1, "dsa": 1, "ec": 1}, "name": 1},
|
2254
|
+
"label": {"form": 1, "for": 1},
|
2255
|
+
"legend": {},
|
2256
|
+
"li": {"value": 1},
|
2257
|
+
"link": {"href": 1, "hreflang": 1, "rel": {"stylesheet": 1, "icon": 1}, "media": {"all": 1, "screen": 1, "print": 1}, "type": {"text/css": 1, "image/png": 1, "image/jpeg": 1, "image/gif": 1}, "sizes": 1},
|
2198
2258
|
"main": {},
|
2259
|
+
"map": {"name": 1},
|
2260
|
+
"mark": {},
|
2261
|
+
"math": {},
|
2262
|
+
"menu": {"type": 1, "label": 1},
|
2263
|
+
"meta": {"http-equiv": {"content-type": 1}, "name": {"description": 1, "keywords": 1}, "content": {"text/html; charset=UTF-8": 1}, "charset": 1},
|
2264
|
+
"meter": {"value": 1, "min": 1, "max": 1, "low": 1, "high": 1, "optimum": 1},
|
2265
|
+
"nav": {},
|
2266
|
+
"noscript": {"href": 1},
|
2267
|
+
"object": {"param": 1, "data": 1, "type": 1, "height" : 1, "width": 1, "usemap": 1, "name": 1, "form": 1, "classid": 1},
|
2268
|
+
"ol": {"start": 1, "reversed": 1},
|
2269
|
+
"optgroup": {"disabled": 1, "label": 1},
|
2270
|
+
"option": {"disabled": 1, "selected": 1, "label": 1, "value": 1},
|
2271
|
+
"output": {"for": 1, "form": 1, "name": 1},
|
2199
2272
|
"p": {},
|
2200
|
-
"
|
2273
|
+
"param": {"name": 1, "value": 1},
|
2201
2274
|
"pre": {},
|
2202
|
-
"
|
2203
|
-
"ol": {"start": 1, "reversed": 1},
|
2204
|
-
"ul": {},
|
2205
|
-
"li": {"value": 1},
|
2206
|
-
"dl": {},
|
2207
|
-
"dt": {},
|
2208
|
-
"dd": {},
|
2209
|
-
"figure": {},
|
2210
|
-
"figcaption": {},
|
2211
|
-
"div": {},
|
2212
|
-
"a": {"href": 1, "target": {"_blank": 1, "top": 1}, "ping": 1, "rel": {"nofollow": 1, "alternate": 1, "author": 1, "bookmark": 1, "help": 1, "license": 1, "next": 1, "noreferrer": 1, "prefetch": 1, "prev": 1, "search": 1, "tag": 1}, "media": 1, "hreflang": 1, "type": 1},
|
2213
|
-
"em": {},
|
2214
|
-
"strong": {},
|
2215
|
-
"small": {},
|
2216
|
-
"s": {},
|
2217
|
-
"cite": {},
|
2275
|
+
"progress": {"value": 1, "max": 1},
|
2218
2276
|
"q": {"cite": 1},
|
2219
|
-
"
|
2220
|
-
"
|
2221
|
-
"
|
2222
|
-
"
|
2223
|
-
"code": {},
|
2224
|
-
"var": {},
|
2277
|
+
"rp": {},
|
2278
|
+
"rt": {},
|
2279
|
+
"ruby": {},
|
2280
|
+
"s": {},
|
2225
2281
|
"samp": {},
|
2226
|
-
"
|
2282
|
+
"script": {"charset": 1, "type": {"text/javascript": 1}, "src": 1, "defer": 1, "async": 1},
|
2283
|
+
"select": {"autofocus": 1, "disabled": 1, "form": 1, "multiple": {"multiple": 1}, "name": 1, "size": 1, "readonly":{"readonly": 1}},
|
2284
|
+
"small": {},
|
2285
|
+
"source": {"src": 1, "type": 1, "media": 1},
|
2286
|
+
"span": {},
|
2287
|
+
"strong": {},
|
2288
|
+
"style": {"type": 1, "media": {"all": 1, "screen": 1, "print": 1}, "scoped": 1},
|
2227
2289
|
"sub": {},
|
2228
2290
|
"sup": {},
|
2229
|
-
"i": {},
|
2230
|
-
"b": {},
|
2231
|
-
"u": {},
|
2232
|
-
"mark": {},
|
2233
|
-
"ruby": {},
|
2234
|
-
"rt": {},
|
2235
|
-
"rp": {},
|
2236
|
-
"bdi": {},
|
2237
|
-
"bdo": {},
|
2238
|
-
"span": {},
|
2239
|
-
"br": {},
|
2240
|
-
"wbr": {},
|
2241
|
-
"ins": {"cite": 1, "datetime": 1},
|
2242
|
-
"del": {"cite": 1, "datetime": 1},
|
2243
|
-
"img": {"alt": 1, "src": 1, "height": 1, "width": 1, "usemap": 1, "ismap": 1},
|
2244
|
-
"iframe": {"name": 1, "src": 1, "height": 1, "width": 1, "sandbox": {"allow-same-origin": 1, "allow-top-navigation": 1, "allow-forms": 1, "allow-scripts": 1}, "seamless": {"seamless": 1}},
|
2245
|
-
"embed": {"src": 1, "height": 1, "width": 1, "type": 1},
|
2246
|
-
"object": {"param": 1, "data": 1, "type": 1, "height" : 1, "width": 1, "usemap": 1, "name": 1, "form": 1, "classid": 1},
|
2247
|
-
"param": {"name": 1, "value": 1},
|
2248
|
-
"video": {"src": 1, "autobuffer": 1, "autoplay": {"autoplay": 1}, "loop": {"loop": 1}, "controls": {"controls": 1}, "width": 1, "height": 1, "poster": 1, "muted": {"muted": 1}, "preload": {"auto": 1, "metadata": 1, "none": 1}},
|
2249
|
-
"audio": {"src": 1, "autobuffer": 1, "autoplay": {"autoplay": 1}, "loop": {"loop": 1}, "controls": {"controls": 1}, "muted": {"muted": 1}, "preload": {"auto": 1, "metadata": 1, "none": 1 }},
|
2250
|
-
"source": {"src": 1, "type": 1, "media": 1},
|
2251
|
-
"track": {"kind": 1, "src": 1, "srclang": 1, "label": 1, "default": 1},
|
2252
|
-
"canvas": {"width": 1, "height": 1},
|
2253
|
-
"map": {"name": 1},
|
2254
|
-
"area": {"shape": 1, "coords": 1, "href": 1, "hreflang": 1, "alt": 1, "target": 1, "media": 1, "rel": 1, "ping": 1, "type": 1},
|
2255
2291
|
"svg": {},
|
2256
|
-
"math": {},
|
2257
2292
|
"table": {"summary": 1},
|
2258
|
-
"caption": {},
|
2259
|
-
"colgroup": {"span": 1},
|
2260
|
-
"col": {"span": 1},
|
2261
2293
|
"tbody": {},
|
2262
|
-
"thead": {},
|
2263
|
-
"tfoot": {},
|
2264
|
-
"tr": {},
|
2265
2294
|
"td": {"headers": 1, "rowspan": 1, "colspan": 1},
|
2266
|
-
"th": {"headers": 1, "rowspan": 1, "colspan": 1, "scope": 1},
|
2267
|
-
"form": {"accept-charset": 1, "action": 1, "autocomplete": 1, "enctype": {"multipart/form-data": 1, "application/x-www-form-urlencoded": 1}, "method": {"get": 1, "post": 1}, "name": 1, "novalidate": 1, "target": {"_blank": 1, "top": 1}},
|
2268
|
-
"fieldset": {"disabled": 1, "form": 1, "name": 1},
|
2269
|
-
"legend": {},
|
2270
|
-
"label": {"form": 1, "for": 1},
|
2271
|
-
"input": {
|
2272
|
-
"type": {"text": 1, "password": 1, "hidden": 1, "checkbox": 1, "submit": 1, "radio": 1, "file": 1, "button": 1, "reset": 1, "image": 31, "color": 1, "date": 1, "datetime": 1, "datetime-local": 1, "email": 1, "month": 1, "number": 1, "range": 1, "search": 1, "tel": 1, "time": 1, "url": 1, "week": 1},
|
2273
|
-
"accept": 1, "alt": 1, "autocomplete": {"on": 1, "off": 1}, "autofocus": {"autofocus": 1}, "checked": {"checked": 1}, "disabled": {"disabled": 1}, "form": 1, "formaction": 1, "formenctype": {"application/x-www-form-urlencoded": 1, "multipart/form-data": 1, "text/plain": 1}, "formmethod": {"get": 1, "post": 1}, "formnovalidate": {"formnovalidate": 1}, "formtarget": {"_blank": 1, "_self": 1, "_parent": 1, "_top": 1}, "height": 1, "list": 1, "max": 1, "maxlength": 1, "min": 1, "multiple": {"multiple": 1}, "name": 1, "pattern": 1, "placeholder": 1, "readonly": {"readonly": 1}, "required": {"required": 1}, "size": 1, "src": 1, "step": 1, "width": 1, "files": 1, "value": 1},
|
2274
|
-
"button": {"autofocus": 1, "disabled": {"disabled": 1}, "form": 1, "formaction": 1, "formenctype": 1, "formmethod": 1, "formnovalidate": 1, "formtarget": 1, "name": 1, "value": 1, "type": {"button": 1, "submit": 1}},
|
2275
|
-
"select": {"autofocus": 1, "disabled": 1, "form": 1, "multiple": {"multiple": 1}, "name": 1, "size": 1, "readonly":{"readonly": 1}},
|
2276
|
-
"datalist": {},
|
2277
|
-
"optgroup": {"disabled": 1, "label": 1},
|
2278
|
-
"option": {"disabled": 1, "selected": 1, "label": 1, "value": 1},
|
2279
2295
|
"textarea": {"autofocus": {"autofocus": 1}, "disabled": {"disabled": 1}, "form": 1, "maxlength": 1, "name": 1, "placeholder": 1, "readonly": {"readonly": 1}, "required": {"required": 1}, "rows": 1, "cols": 1, "wrap": {"on": 1, "off": 1, "hard": 1, "soft": 1}},
|
2280
|
-
"
|
2281
|
-
"
|
2282
|
-
"
|
2283
|
-
"
|
2284
|
-
"
|
2296
|
+
"tfoot": {},
|
2297
|
+
"th": {"headers": 1, "rowspan": 1, "colspan": 1, "scope": 1},
|
2298
|
+
"thead": {},
|
2299
|
+
"time": {"datetime": 1},
|
2300
|
+
"title": {},
|
2301
|
+
"tr": {},
|
2302
|
+
"track": {"kind": 1, "src": 1, "srclang": 1, "label": 1, "default": 1},
|
2303
|
+
"section": {},
|
2285
2304
|
"summary": {},
|
2286
|
-
"
|
2287
|
-
"
|
2288
|
-
"
|
2305
|
+
"u": {},
|
2306
|
+
"ul": {},
|
2307
|
+
"var": {},
|
2308
|
+
"video": {"src": 1, "autobuffer": 1, "autoplay": {"autoplay": 1}, "loop": {"loop": 1}, "controls": {"controls": 1}, "width": 1, "height": 1, "poster": 1, "muted": {"muted": 1}, "preload": {"auto": 1, "metadata": 1, "none": 1}},
|
2309
|
+
"wbr": {}
|
2289
2310
|
};
|
2290
2311
|
|
2291
2312
|
var elements = Object.keys(attributeMap);
|
@@ -2343,7 +2364,7 @@ var HtmlCompletions = function() {
|
|
2343
2364
|
return {
|
2344
2365
|
value: element,
|
2345
2366
|
meta: "tag",
|
2346
|
-
score:
|
2367
|
+
score: 1000000
|
2347
2368
|
};
|
2348
2369
|
});
|
2349
2370
|
};
|
@@ -2361,7 +2382,7 @@ var HtmlCompletions = function() {
|
|
2361
2382
|
caption: attribute,
|
2362
2383
|
snippet: attribute + '="$0"',
|
2363
2384
|
meta: "attribute",
|
2364
|
-
score:
|
2385
|
+
score: 1000000
|
2365
2386
|
};
|
2366
2387
|
});
|
2367
2388
|
};
|
@@ -2381,7 +2402,7 @@ var HtmlCompletions = function() {
|
|
2381
2402
|
caption: value,
|
2382
2403
|
snippet: value,
|
2383
2404
|
meta: "attribute value",
|
2384
|
-
score:
|
2405
|
+
score: 1000000
|
2385
2406
|
};
|
2386
2407
|
});
|
2387
2408
|
};
|
@@ -2394,7 +2415,7 @@ var HtmlCompletions = function() {
|
|
2394
2415
|
caption: value,
|
2395
2416
|
snippet: value,
|
2396
2417
|
meta: "html entity",
|
2397
|
-
score:
|
2418
|
+
score: 1000000
|
2398
2419
|
};
|
2399
2420
|
});
|
2400
2421
|
};
|
@@ -2474,6 +2495,7 @@ oop.inherits(Mode, TextMode);
|
|
2474
2495
|
};
|
2475
2496
|
|
2476
2497
|
this.$id = "ace/mode/html";
|
2498
|
+
this.snippetFileId = "ace/snippets/html";
|
2477
2499
|
}).call(Mode.prototype);
|
2478
2500
|
|
2479
2501
|
exports.Mode = Mode;
|
@@ -2489,7 +2511,7 @@ var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
|
|
2489
2511
|
var CSharpHighlightRules = function() {
|
2490
2512
|
var keywordMapper = this.createKeywordMapper({
|
2491
2513
|
"variable.language": "this",
|
2492
|
-
"keyword": "abstract|event|new|struct|as|explicit|null|switch|base|extern|object|this|bool|false|operator|throw|break|finally|out|true|byte|fixed|override|try|case|float|params|typeof|catch|for|private|uint|char|foreach|protected|ulong|checked|goto|public|unchecked|class|if|readonly|unsafe|const|implicit|ref|ushort|continue|in|return|using|decimal|int|sbyte|virtual|default|interface|sealed|volatile|delegate|internal|short|void|do|is|sizeof|while|double|lock|stackalloc|else|long|static|enum|namespace|string|var|dynamic",
|
2514
|
+
"keyword": "abstract|async|await|event|new|struct|as|explicit|null|switch|base|extern|object|this|bool|false|operator|throw|break|finally|out|true|byte|fixed|override|try|case|float|params|typeof|catch|for|private|uint|char|foreach|protected|ulong|checked|goto|public|unchecked|class|if|readonly|unsafe|const|implicit|ref|ushort|continue|in|return|using|decimal|int|sbyte|virtual|default|interface|sealed|volatile|delegate|internal|partial|short|void|do|is|sizeof|while|double|lock|stackalloc|else|long|static|enum|namespace|string|var|dynamic",
|
2493
2515
|
"constant.language": "null|true|false"
|
2494
2516
|
}, "identifier");
|
2495
2517
|
|
@@ -2789,7 +2811,7 @@ var RazorCompletions = function() {
|
|
2789
2811
|
return {
|
2790
2812
|
value: element,
|
2791
2813
|
meta: "keyword",
|
2792
|
-
score:
|
2814
|
+
score: 1000000
|
2793
2815
|
};
|
2794
2816
|
});
|
2795
2817
|
};
|
@@ -2799,7 +2821,7 @@ var RazorCompletions = function() {
|
|
2799
2821
|
return {
|
2800
2822
|
value: element,
|
2801
2823
|
meta: "keyword",
|
2802
|
-
score:
|
2824
|
+
score: 1000000
|
2803
2825
|
};
|
2804
2826
|
});
|
2805
2827
|
};
|
@@ -2839,7 +2861,15 @@ oop.inherits(Mode, HtmlMode);
|
|
2839
2861
|
};
|
2840
2862
|
|
2841
2863
|
this.$id = "ace/mode/razor";
|
2864
|
+
this.snippetFileId = "ace/snippets/razor";
|
2842
2865
|
}).call(Mode.prototype);
|
2843
2866
|
|
2844
2867
|
exports.Mode = Mode;
|
2845
|
-
});
|
2868
|
+
}); (function() {
|
2869
|
+
window.require(["ace/mode/razor"], function(m) {
|
2870
|
+
if (typeof module == "object" && typeof exports == "object" && module) {
|
2871
|
+
module.exports = m;
|
2872
|
+
}
|
2873
|
+
});
|
2874
|
+
})();
|
2875
|
+
|