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
@@ -4,9 +4,9 @@ define("ace/mode/css_highlight_rules",["require","exports","module","ace/lib/oop
|
|
4
4
|
var oop = require("../lib/oop");
|
5
5
|
var lang = require("../lib/lang");
|
6
6
|
var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
|
7
|
-
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";
|
7
|
+
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";
|
8
8
|
var supportFunction = exports.supportFunction = "rgb|rgba|url|attr|counter|counters";
|
9
|
-
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";
|
9
|
+
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";
|
10
10
|
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";
|
11
11
|
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";
|
12
12
|
|
@@ -36,7 +36,7 @@ var CssHighlightRules = function() {
|
|
36
36
|
regex: "\\}"
|
37
37
|
}, {
|
38
38
|
token: "string",
|
39
|
-
regex: "@",
|
39
|
+
regex: "@(?!viewport)",
|
40
40
|
next: "media"
|
41
41
|
}, {
|
42
42
|
token: "keyword",
|
@@ -59,7 +59,7 @@ var CssHighlightRules = function() {
|
|
59
59
|
}, {
|
60
60
|
caseInsensitive: true
|
61
61
|
}],
|
62
|
-
|
62
|
+
|
63
63
|
"media": [{
|
64
64
|
include : ["strings", "url", "comments"]
|
65
65
|
}, {
|
@@ -96,6 +96,9 @@ var CssHighlightRules = function() {
|
|
96
96
|
"ruleset" : [{
|
97
97
|
regex : "-(webkit|ms|moz|o)-",
|
98
98
|
token : "text"
|
99
|
+
}, {
|
100
|
+
token : "punctuation.operator",
|
101
|
+
regex : "[:;]"
|
99
102
|
}, {
|
100
103
|
token : "paren.rparen",
|
101
104
|
regex : "\\}",
|
@@ -104,7 +107,7 @@ var CssHighlightRules = function() {
|
|
104
107
|
include : ["strings", "url", "comments"]
|
105
108
|
}, {
|
106
109
|
token : ["constant.numeric", "keyword"],
|
107
|
-
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|%)"
|
110
|
+
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|%)"
|
108
111
|
}, {
|
109
112
|
token : "constant.numeric",
|
110
113
|
regex : numRe
|
@@ -128,7 +131,7 @@ var CssHighlightRules = function() {
|
|
128
131
|
}, {
|
129
132
|
caseInsensitive: true
|
130
133
|
}],
|
131
|
-
|
134
|
+
|
132
135
|
url: [{
|
133
136
|
token : "support.function",
|
134
137
|
regex : "(?:url(:?-prefix)?|domain|regexp)\\(",
|
@@ -140,7 +143,7 @@ var CssHighlightRules = function() {
|
|
140
143
|
defaultToken: "string"
|
141
144
|
}]
|
142
145
|
}],
|
143
|
-
|
146
|
+
|
144
147
|
strings: [{
|
145
148
|
token : "string.start",
|
146
149
|
regex : "'",
|
@@ -178,7 +181,7 @@ var CssHighlightRules = function() {
|
|
178
181
|
token : "constant.language.escape",
|
179
182
|
regex : /\\([a-fA-F\d]{1,6}|[^a-fA-F\d])/
|
180
183
|
}]
|
181
|
-
|
184
|
+
|
182
185
|
};
|
183
186
|
|
184
187
|
this.normalizeRules();
|
@@ -217,7 +220,7 @@ DocCommentHighlightRules.getTagRule = function(start) {
|
|
217
220
|
token : "comment.doc.tag.storage.type",
|
218
221
|
regex : "\\b(?:TODO|FIXME|XXX|HACK)\\b"
|
219
222
|
};
|
220
|
-
}
|
223
|
+
};
|
221
224
|
|
222
225
|
DocCommentHighlightRules.getStartRule = function(start) {
|
223
226
|
return {
|
@@ -373,7 +376,8 @@ var JavaScriptHighlightRules = function(options) {
|
|
373
376
|
next : "property"
|
374
377
|
}, {
|
375
378
|
token : "storage.type",
|
376
|
-
regex :
|
379
|
+
regex : /=>/,
|
380
|
+
next : "start"
|
377
381
|
}, {
|
378
382
|
token : "keyword.operator",
|
379
383
|
regex : /--|\+\+|\.{3}|===|==|=|!=|!==|<+=?|>+=?|!|&&|\|\||\?:|[!$%&*+\-~\/^]=?/,
|
@@ -894,7 +898,7 @@ var XmlHighlightRules = function(normalize) {
|
|
894
898
|
stack.splice(0);
|
895
899
|
return this.token;
|
896
900
|
}}
|
897
|
-
]
|
901
|
+
];
|
898
902
|
|
899
903
|
this.embedRules(HighlightRules, prefix, [{
|
900
904
|
token: ["meta.tag.punctuation.end-tag-open.xml", "meta.tag." + tag + ".tag-name.xml"],
|
@@ -1363,7 +1367,7 @@ var ElixirHighlightRules = function() {
|
|
1363
1367
|
'comment.line.number-sign.elixir' ],
|
1364
1368
|
regex: '(?:^|\\s)(#)(\\s[[a-zA-Z0-9,. \\t?!-][^\\x00-\\x7F]]*$)',
|
1365
1369
|
originalRegex: '(?<=^|\\s)(#)\\s[[a-zA-Z0-9,. \\t?!-][^\\x{00}-\\x{7F}]]*$',
|
1366
|
-
comment: 'We are restrictive in what we allow to go after the comment character to avoid false positives, since the availability of comments depend on regexp flags.' } ] }
|
1370
|
+
comment: 'We are restrictive in what we allow to go after the comment character to avoid false positives, since the availability of comments depend on regexp flags.' } ] };
|
1367
1371
|
|
1368
1372
|
this.normalizeRules();
|
1369
1373
|
};
|
@@ -1375,7 +1379,7 @@ ElixirHighlightRules.metaData = { comment: 'Textmate bundle for Elixir Programmi
|
|
1375
1379
|
foldingStopMarker: '^\\s*((\\}|\\]|after|else|catch|rescue)\\s*$|end\\b)',
|
1376
1380
|
keyEquivalent: '^~E',
|
1377
1381
|
name: 'Elixir',
|
1378
|
-
scopeName: 'source.elixir' }
|
1382
|
+
scopeName: 'source.elixir' };
|
1379
1383
|
|
1380
1384
|
|
1381
1385
|
oop.inherits(ElixirHighlightRules, TextHighlightRules);
|
@@ -1499,8 +1503,8 @@ oop.inherits(FoldMode, BaseFoldMode);
|
|
1499
1503
|
|
1500
1504
|
(function() {
|
1501
1505
|
|
1502
|
-
this.foldingStartMarker = /(\{
|
1503
|
-
this.foldingStopMarker = /^[^\[\{]*(\}
|
1506
|
+
this.foldingStartMarker = /([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/;
|
1507
|
+
this.foldingStopMarker = /^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/;
|
1504
1508
|
this.singleLineBlockCommentRe= /^\s*(\/\*).*\*\/\s*$/;
|
1505
1509
|
this.tripleStarBlockCommentRe = /^\s*(\/\*\*\*).*\*\/\s*$/;
|
1506
1510
|
this.startRegionRe = /^\s*(\/\*|\/\/)#?region\b/;
|
@@ -1700,6 +1704,7 @@ oop.inherits(Mode, TextMode);
|
|
1700
1704
|
};
|
1701
1705
|
|
1702
1706
|
this.$id = "ace/mode/javascript";
|
1707
|
+
this.snippetFileId = "ace/snippets/javascript";
|
1703
1708
|
}).call(Mode.prototype);
|
1704
1709
|
|
1705
1710
|
exports.Mode = Mode;
|
@@ -1817,18 +1822,14 @@ var CssCompletions = function() {
|
|
1817
1822
|
}
|
1818
1823
|
|
1819
1824
|
this.completionsDefined = true;
|
1820
|
-
}
|
1825
|
+
};
|
1821
1826
|
|
1822
1827
|
this.getCompletions = function(state, session, pos, prefix) {
|
1823
1828
|
if (!this.completionsDefined) {
|
1824
1829
|
this.defineCompletions();
|
1825
1830
|
}
|
1826
1831
|
|
1827
|
-
|
1828
|
-
|
1829
|
-
if (!token)
|
1830
|
-
return [];
|
1831
|
-
if (state==='ruleset'){
|
1832
|
+
if (state==='ruleset' || session.$mode.$id == "ace/mode/scss") {
|
1832
1833
|
var line = session.getLine(pos.row).substr(0, pos.column);
|
1833
1834
|
if (/:[^;]+$/.test(line)) {
|
1834
1835
|
/([\w\-]+):[^:]*$/.test(line);
|
@@ -1847,9 +1848,9 @@ var CssCompletions = function() {
|
|
1847
1848
|
return properties.map(function(property){
|
1848
1849
|
return {
|
1849
1850
|
caption: property,
|
1850
|
-
snippet: property + ': $0',
|
1851
|
+
snippet: property + ': $0;',
|
1851
1852
|
meta: "property",
|
1852
|
-
score:
|
1853
|
+
score: 1000000
|
1853
1854
|
};
|
1854
1855
|
});
|
1855
1856
|
};
|
@@ -1869,7 +1870,7 @@ var CssCompletions = function() {
|
|
1869
1870
|
caption: value,
|
1870
1871
|
snippet: value,
|
1871
1872
|
meta: "property value",
|
1872
|
-
score:
|
1873
|
+
score: 1000000
|
1873
1874
|
};
|
1874
1875
|
});
|
1875
1876
|
};
|
@@ -1892,7 +1893,7 @@ var CssBehaviour = function () {
|
|
1892
1893
|
this.inherit(CstyleBehaviour);
|
1893
1894
|
|
1894
1895
|
this.add("colon", "insertion", function (state, action, editor, session, text) {
|
1895
|
-
if (text === ':') {
|
1896
|
+
if (text === ':' && editor.selection.isEmpty()) {
|
1896
1897
|
var cursor = editor.getCursorPosition();
|
1897
1898
|
var iterator = new TokenIterator(session, cursor.row, cursor.column);
|
1898
1899
|
var token = iterator.getCurrentToken();
|
@@ -1906,13 +1907,13 @@ var CssBehaviour = function () {
|
|
1906
1907
|
return {
|
1907
1908
|
text: '',
|
1908
1909
|
selection: [1, 1]
|
1909
|
-
}
|
1910
|
+
};
|
1910
1911
|
}
|
1911
|
-
if (
|
1912
|
+
if (/^(\s+[^;]|\s*$)/.test(line.substring(cursor.column))) {
|
1912
1913
|
return {
|
1913
1914
|
text: ':;',
|
1914
1915
|
selection: [1, 1]
|
1915
|
-
}
|
1916
|
+
};
|
1916
1917
|
}
|
1917
1918
|
}
|
1918
1919
|
}
|
@@ -1939,7 +1940,7 @@ var CssBehaviour = function () {
|
|
1939
1940
|
});
|
1940
1941
|
|
1941
1942
|
this.add("semicolon", "insertion", function (state, action, editor, session, text) {
|
1942
|
-
if (text === ';') {
|
1943
|
+
if (text === ';' && editor.selection.isEmpty()) {
|
1943
1944
|
var cursor = editor.getCursorPosition();
|
1944
1945
|
var line = session.doc.getLine(cursor.row);
|
1945
1946
|
var rightChar = line.substring(cursor.column, cursor.column + 1);
|
@@ -1947,12 +1948,26 @@ var CssBehaviour = function () {
|
|
1947
1948
|
return {
|
1948
1949
|
text: '',
|
1949
1950
|
selection: [1, 1]
|
1950
|
-
}
|
1951
|
+
};
|
1951
1952
|
}
|
1952
1953
|
}
|
1953
1954
|
});
|
1954
1955
|
|
1955
|
-
|
1956
|
+
this.add("!important", "insertion", function (state, action, editor, session, text) {
|
1957
|
+
if (text === '!' && editor.selection.isEmpty()) {
|
1958
|
+
var cursor = editor.getCursorPosition();
|
1959
|
+
var line = session.doc.getLine(cursor.row);
|
1960
|
+
|
1961
|
+
if (/^\s*(;|}|$)/.test(line.substring(cursor.column))) {
|
1962
|
+
return {
|
1963
|
+
text: '!important',
|
1964
|
+
selection: [10, 10]
|
1965
|
+
};
|
1966
|
+
}
|
1967
|
+
}
|
1968
|
+
});
|
1969
|
+
|
1970
|
+
};
|
1956
1971
|
oop.inherits(CssBehaviour, CstyleBehaviour);
|
1957
1972
|
|
1958
1973
|
exports.CssBehaviour = CssBehaviour;
|
@@ -2027,6 +2042,7 @@ oop.inherits(Mode, TextMode);
|
|
2027
2042
|
};
|
2028
2043
|
|
2029
2044
|
this.$id = "ace/mode/css";
|
2045
|
+
this.snippetFileId = "ace/snippets/css";
|
2030
2046
|
}).call(Mode.prototype);
|
2031
2047
|
|
2032
2048
|
exports.Mode = Mode;
|
@@ -2042,7 +2058,7 @@ var TokenIterator = require("../../token_iterator").TokenIterator;
|
|
2042
2058
|
var lang = require("../../lib/lang");
|
2043
2059
|
|
2044
2060
|
function is(token, type) {
|
2045
|
-
return token.type.lastIndexOf(type + ".xml") > -1;
|
2061
|
+
return token && token.type.lastIndexOf(type + ".xml") > -1;
|
2046
2062
|
}
|
2047
2063
|
|
2048
2064
|
var XmlBehaviour = function () {
|
@@ -2112,14 +2128,19 @@ var XmlBehaviour = function () {
|
|
2112
2128
|
if (is(token, "reference.attribute-value"))
|
2113
2129
|
return;
|
2114
2130
|
if (is(token, "attribute-value")) {
|
2115
|
-
var
|
2116
|
-
if (
|
2117
|
-
|
2118
|
-
|
2119
|
-
|
2131
|
+
var tokenEndColumn = iterator.getCurrentTokenColumn() + token.value.length;
|
2132
|
+
if (position.column < tokenEndColumn)
|
2133
|
+
return;
|
2134
|
+
if (position.column == tokenEndColumn) {
|
2135
|
+
var nextToken = iterator.stepForward();
|
2136
|
+
if (nextToken && is(nextToken, "attribute-value"))
|
2120
2137
|
return;
|
2138
|
+
iterator.stepBackward();
|
2121
2139
|
}
|
2122
2140
|
}
|
2141
|
+
|
2142
|
+
if (/^\s*>/.test(session.getLine(position.row).slice(position.column)))
|
2143
|
+
return;
|
2123
2144
|
while (!is(token, "tag-name")) {
|
2124
2145
|
token = iterator.stepBackward();
|
2125
2146
|
if (token.value == "<") {
|
@@ -2309,7 +2330,7 @@ function is(token, type) {
|
|
2309
2330
|
if (/comment/.test(session.getState(row)) && /<!-/.test(session.getLine(row)))
|
2310
2331
|
return "start";
|
2311
2332
|
return "";
|
2312
|
-
}
|
2333
|
+
};
|
2313
2334
|
this._getFirstTagInLine = function(session, row) {
|
2314
2335
|
var tokens = session.getTokens(row);
|
2315
2336
|
var tag = new Tag();
|
@@ -2612,120 +2633,120 @@ var eventAttributes = [
|
|
2612
2633
|
var globalAttributes = commonAttributes.concat(eventAttributes);
|
2613
2634
|
|
2614
2635
|
var attributeMap = {
|
2615
|
-
"
|
2616
|
-
"
|
2617
|
-
"
|
2618
|
-
"
|
2619
|
-
"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},
|
2620
|
-
"meta": {"http-equiv": {"content-type": 1}, "name": {"description": 1, "keywords": 1}, "content": {"text/html; charset=UTF-8": 1}, "charset": 1},
|
2621
|
-
"style": {"type": 1, "media": {"all": 1, "screen": 1, "print": 1}, "scoped": 1},
|
2622
|
-
"script": {"charset": 1, "type": {"text/javascript": 1}, "src": 1, "defer": 1, "async": 1},
|
2623
|
-
"noscript": {"href": 1},
|
2624
|
-
"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},
|
2625
|
-
"section": {},
|
2626
|
-
"nav": {},
|
2636
|
+
"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},
|
2637
|
+
"abbr": {},
|
2638
|
+
"address": {},
|
2639
|
+
"area": {"shape": 1, "coords": 1, "href": 1, "hreflang": 1, "alt": 1, "target": 1, "media": 1, "rel": 1, "ping": 1, "type": 1},
|
2627
2640
|
"article": {"pubdate": 1},
|
2628
2641
|
"aside": {},
|
2642
|
+
"audio": {"src": 1, "autobuffer": 1, "autoplay": {"autoplay": 1}, "loop": {"loop": 1}, "controls": {"controls": 1}, "muted": {"muted": 1}, "preload": {"auto": 1, "metadata": 1, "none": 1 }},
|
2643
|
+
"b": {},
|
2644
|
+
"base": {"href": 1, "target": 1},
|
2645
|
+
"bdi": {},
|
2646
|
+
"bdo": {},
|
2647
|
+
"blockquote": {"cite": 1},
|
2648
|
+
"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},
|
2649
|
+
"br": {},
|
2650
|
+
"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}},
|
2651
|
+
"canvas": {"width": 1, "height": 1},
|
2652
|
+
"caption": {},
|
2653
|
+
"cite": {},
|
2654
|
+
"code": {},
|
2655
|
+
"col": {"span": 1},
|
2656
|
+
"colgroup": {"span": 1},
|
2657
|
+
"command": {"type": 1, "label": 1, "icon": 1, "disabled": 1, "checked": 1, "radiogroup": 1, "command": 1},
|
2658
|
+
"data": {},
|
2659
|
+
"datalist": {},
|
2660
|
+
"dd": {},
|
2661
|
+
"del": {"cite": 1, "datetime": 1},
|
2662
|
+
"details": {"open": 1},
|
2663
|
+
"dfn": {},
|
2664
|
+
"dialog": {"open": 1},
|
2665
|
+
"div": {},
|
2666
|
+
"dl": {},
|
2667
|
+
"dt": {},
|
2668
|
+
"em": {},
|
2669
|
+
"embed": {"src": 1, "height": 1, "width": 1, "type": 1},
|
2670
|
+
"fieldset": {"disabled": 1, "form": 1, "name": 1},
|
2671
|
+
"figcaption": {},
|
2672
|
+
"figure": {},
|
2673
|
+
"footer": {},
|
2674
|
+
"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}},
|
2629
2675
|
"h1": {},
|
2630
2676
|
"h2": {},
|
2631
2677
|
"h3": {},
|
2632
2678
|
"h4": {},
|
2633
2679
|
"h5": {},
|
2634
2680
|
"h6": {},
|
2681
|
+
"head": {},
|
2635
2682
|
"header": {},
|
2636
|
-
"
|
2637
|
-
"
|
2683
|
+
"hr": {},
|
2684
|
+
"html": {"manifest": 1},
|
2685
|
+
"i": {},
|
2686
|
+
"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}},
|
2687
|
+
"img": {"alt": 1, "src": 1, "height": 1, "width": 1, "usemap": 1, "ismap": 1},
|
2688
|
+
"input": {
|
2689
|
+
"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},
|
2690
|
+
"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},
|
2691
|
+
"ins": {"cite": 1, "datetime": 1},
|
2692
|
+
"kbd": {},
|
2693
|
+
"keygen": {"autofocus": 1, "challenge": {"challenge": 1}, "disabled": {"disabled": 1}, "form": 1, "keytype": {"rsa": 1, "dsa": 1, "ec": 1}, "name": 1},
|
2694
|
+
"label": {"form": 1, "for": 1},
|
2695
|
+
"legend": {},
|
2696
|
+
"li": {"value": 1},
|
2697
|
+
"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},
|
2638
2698
|
"main": {},
|
2699
|
+
"map": {"name": 1},
|
2700
|
+
"mark": {},
|
2701
|
+
"math": {},
|
2702
|
+
"menu": {"type": 1, "label": 1},
|
2703
|
+
"meta": {"http-equiv": {"content-type": 1}, "name": {"description": 1, "keywords": 1}, "content": {"text/html; charset=UTF-8": 1}, "charset": 1},
|
2704
|
+
"meter": {"value": 1, "min": 1, "max": 1, "low": 1, "high": 1, "optimum": 1},
|
2705
|
+
"nav": {},
|
2706
|
+
"noscript": {"href": 1},
|
2707
|
+
"object": {"param": 1, "data": 1, "type": 1, "height" : 1, "width": 1, "usemap": 1, "name": 1, "form": 1, "classid": 1},
|
2708
|
+
"ol": {"start": 1, "reversed": 1},
|
2709
|
+
"optgroup": {"disabled": 1, "label": 1},
|
2710
|
+
"option": {"disabled": 1, "selected": 1, "label": 1, "value": 1},
|
2711
|
+
"output": {"for": 1, "form": 1, "name": 1},
|
2639
2712
|
"p": {},
|
2640
|
-
"
|
2713
|
+
"param": {"name": 1, "value": 1},
|
2641
2714
|
"pre": {},
|
2642
|
-
"
|
2643
|
-
"ol": {"start": 1, "reversed": 1},
|
2644
|
-
"ul": {},
|
2645
|
-
"li": {"value": 1},
|
2646
|
-
"dl": {},
|
2647
|
-
"dt": {},
|
2648
|
-
"dd": {},
|
2649
|
-
"figure": {},
|
2650
|
-
"figcaption": {},
|
2651
|
-
"div": {},
|
2652
|
-
"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},
|
2653
|
-
"em": {},
|
2654
|
-
"strong": {},
|
2655
|
-
"small": {},
|
2656
|
-
"s": {},
|
2657
|
-
"cite": {},
|
2715
|
+
"progress": {"value": 1, "max": 1},
|
2658
2716
|
"q": {"cite": 1},
|
2659
|
-
"
|
2660
|
-
"
|
2661
|
-
"
|
2662
|
-
"
|
2663
|
-
"code": {},
|
2664
|
-
"var": {},
|
2717
|
+
"rp": {},
|
2718
|
+
"rt": {},
|
2719
|
+
"ruby": {},
|
2720
|
+
"s": {},
|
2665
2721
|
"samp": {},
|
2666
|
-
"
|
2722
|
+
"script": {"charset": 1, "type": {"text/javascript": 1}, "src": 1, "defer": 1, "async": 1},
|
2723
|
+
"select": {"autofocus": 1, "disabled": 1, "form": 1, "multiple": {"multiple": 1}, "name": 1, "size": 1, "readonly":{"readonly": 1}},
|
2724
|
+
"small": {},
|
2725
|
+
"source": {"src": 1, "type": 1, "media": 1},
|
2726
|
+
"span": {},
|
2727
|
+
"strong": {},
|
2728
|
+
"style": {"type": 1, "media": {"all": 1, "screen": 1, "print": 1}, "scoped": 1},
|
2667
2729
|
"sub": {},
|
2668
2730
|
"sup": {},
|
2669
|
-
"i": {},
|
2670
|
-
"b": {},
|
2671
|
-
"u": {},
|
2672
|
-
"mark": {},
|
2673
|
-
"ruby": {},
|
2674
|
-
"rt": {},
|
2675
|
-
"rp": {},
|
2676
|
-
"bdi": {},
|
2677
|
-
"bdo": {},
|
2678
|
-
"span": {},
|
2679
|
-
"br": {},
|
2680
|
-
"wbr": {},
|
2681
|
-
"ins": {"cite": 1, "datetime": 1},
|
2682
|
-
"del": {"cite": 1, "datetime": 1},
|
2683
|
-
"img": {"alt": 1, "src": 1, "height": 1, "width": 1, "usemap": 1, "ismap": 1},
|
2684
|
-
"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}},
|
2685
|
-
"embed": {"src": 1, "height": 1, "width": 1, "type": 1},
|
2686
|
-
"object": {"param": 1, "data": 1, "type": 1, "height" : 1, "width": 1, "usemap": 1, "name": 1, "form": 1, "classid": 1},
|
2687
|
-
"param": {"name": 1, "value": 1},
|
2688
|
-
"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}},
|
2689
|
-
"audio": {"src": 1, "autobuffer": 1, "autoplay": {"autoplay": 1}, "loop": {"loop": 1}, "controls": {"controls": 1}, "muted": {"muted": 1}, "preload": {"auto": 1, "metadata": 1, "none": 1 }},
|
2690
|
-
"source": {"src": 1, "type": 1, "media": 1},
|
2691
|
-
"track": {"kind": 1, "src": 1, "srclang": 1, "label": 1, "default": 1},
|
2692
|
-
"canvas": {"width": 1, "height": 1},
|
2693
|
-
"map": {"name": 1},
|
2694
|
-
"area": {"shape": 1, "coords": 1, "href": 1, "hreflang": 1, "alt": 1, "target": 1, "media": 1, "rel": 1, "ping": 1, "type": 1},
|
2695
2731
|
"svg": {},
|
2696
|
-
"math": {},
|
2697
2732
|
"table": {"summary": 1},
|
2698
|
-
"caption": {},
|
2699
|
-
"colgroup": {"span": 1},
|
2700
|
-
"col": {"span": 1},
|
2701
2733
|
"tbody": {},
|
2702
|
-
"thead": {},
|
2703
|
-
"tfoot": {},
|
2704
|
-
"tr": {},
|
2705
2734
|
"td": {"headers": 1, "rowspan": 1, "colspan": 1},
|
2706
|
-
"th": {"headers": 1, "rowspan": 1, "colspan": 1, "scope": 1},
|
2707
|
-
"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}},
|
2708
|
-
"fieldset": {"disabled": 1, "form": 1, "name": 1},
|
2709
|
-
"legend": {},
|
2710
|
-
"label": {"form": 1, "for": 1},
|
2711
|
-
"input": {
|
2712
|
-
"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},
|
2713
|
-
"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},
|
2714
|
-
"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}},
|
2715
|
-
"select": {"autofocus": 1, "disabled": 1, "form": 1, "multiple": {"multiple": 1}, "name": 1, "size": 1, "readonly":{"readonly": 1}},
|
2716
|
-
"datalist": {},
|
2717
|
-
"optgroup": {"disabled": 1, "label": 1},
|
2718
|
-
"option": {"disabled": 1, "selected": 1, "label": 1, "value": 1},
|
2719
2735
|
"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}},
|
2720
|
-
"
|
2721
|
-
"
|
2722
|
-
"
|
2723
|
-
"
|
2724
|
-
"
|
2736
|
+
"tfoot": {},
|
2737
|
+
"th": {"headers": 1, "rowspan": 1, "colspan": 1, "scope": 1},
|
2738
|
+
"thead": {},
|
2739
|
+
"time": {"datetime": 1},
|
2740
|
+
"title": {},
|
2741
|
+
"tr": {},
|
2742
|
+
"track": {"kind": 1, "src": 1, "srclang": 1, "label": 1, "default": 1},
|
2743
|
+
"section": {},
|
2725
2744
|
"summary": {},
|
2726
|
-
"
|
2727
|
-
"
|
2728
|
-
"
|
2745
|
+
"u": {},
|
2746
|
+
"ul": {},
|
2747
|
+
"var": {},
|
2748
|
+
"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}},
|
2749
|
+
"wbr": {}
|
2729
2750
|
};
|
2730
2751
|
|
2731
2752
|
var elements = Object.keys(attributeMap);
|
@@ -2783,7 +2804,7 @@ var HtmlCompletions = function() {
|
|
2783
2804
|
return {
|
2784
2805
|
value: element,
|
2785
2806
|
meta: "tag",
|
2786
|
-
score:
|
2807
|
+
score: 1000000
|
2787
2808
|
};
|
2788
2809
|
});
|
2789
2810
|
};
|
@@ -2801,7 +2822,7 @@ var HtmlCompletions = function() {
|
|
2801
2822
|
caption: attribute,
|
2802
2823
|
snippet: attribute + '="$0"',
|
2803
2824
|
meta: "attribute",
|
2804
|
-
score:
|
2825
|
+
score: 1000000
|
2805
2826
|
};
|
2806
2827
|
});
|
2807
2828
|
};
|
@@ -2821,7 +2842,7 @@ var HtmlCompletions = function() {
|
|
2821
2842
|
caption: value,
|
2822
2843
|
snippet: value,
|
2823
2844
|
meta: "attribute value",
|
2824
|
-
score:
|
2845
|
+
score: 1000000
|
2825
2846
|
};
|
2826
2847
|
});
|
2827
2848
|
};
|
@@ -2834,7 +2855,7 @@ var HtmlCompletions = function() {
|
|
2834
2855
|
caption: value,
|
2835
2856
|
snippet: value,
|
2836
2857
|
meta: "html entity",
|
2837
|
-
score:
|
2858
|
+
score: 1000000
|
2838
2859
|
};
|
2839
2860
|
});
|
2840
2861
|
};
|
@@ -2914,6 +2935,7 @@ oop.inherits(Mode, TextMode);
|
|
2914
2935
|
};
|
2915
2936
|
|
2916
2937
|
this.$id = "ace/mode/html";
|
2938
|
+
this.snippetFileId = "ace/snippets/html";
|
2917
2939
|
}).call(Mode.prototype);
|
2918
2940
|
|
2919
2941
|
exports.Mode = Mode;
|
@@ -3023,7 +3045,7 @@ oop.inherits(Mode, TextMode);
|
|
3023
3045
|
|
3024
3046
|
(function() {
|
3025
3047
|
this.lineCommentStart = "#";
|
3026
|
-
this.$id = "ace/mode/elixir"
|
3048
|
+
this.$id = "ace/mode/elixir";
|
3027
3049
|
}).call(Mode.prototype);
|
3028
3050
|
|
3029
3051
|
exports.Mode = Mode;
|
@@ -3056,4 +3078,11 @@ oop.inherits(Mode, HtmlMode);
|
|
3056
3078
|
}).call(Mode.prototype);
|
3057
3079
|
|
3058
3080
|
exports.Mode = Mode;
|
3059
|
-
});
|
3081
|
+
}); (function() {
|
3082
|
+
window.require(["ace/mode/html_elixir"], function(m) {
|
3083
|
+
if (typeof module == "object" && typeof exports == "object" && module) {
|
3084
|
+
module.exports = m;
|
3085
|
+
}
|
3086
|
+
});
|
3087
|
+
})();
|
3088
|
+
|