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
@@ -0,0 +1,262 @@
|
|
1
|
+
define("ace/keyboard/vscode",["require","exports","module","ace/keyboard/hash_handler","ace/config"], function(require, exports, module) {
|
2
|
+
"use strict";
|
3
|
+
|
4
|
+
var HashHandler = require("../keyboard/hash_handler").HashHandler;
|
5
|
+
var config = require("../config");
|
6
|
+
|
7
|
+
exports.handler = new HashHandler();
|
8
|
+
exports.handler.$id = "ace/keyboard/vscode";
|
9
|
+
|
10
|
+
exports.handler.addCommands([{
|
11
|
+
name: "toggleWordWrap",
|
12
|
+
exec: function(editor) {
|
13
|
+
var wrapUsed = editor.session.getUseWrapMode();
|
14
|
+
editor.session.setUseWrapMode(!wrapUsed);
|
15
|
+
},
|
16
|
+
readOnly: true
|
17
|
+
}, {
|
18
|
+
name: "navigateToLastEditLocation",
|
19
|
+
exec: function(editor) {
|
20
|
+
var lastDelta = editor.session.getUndoManager().$lastDelta;
|
21
|
+
var range = (lastDelta.action == "remove")? lastDelta.start: lastDelta.end;
|
22
|
+
editor.moveCursorTo(range.row, range.column);
|
23
|
+
editor.clearSelection();
|
24
|
+
}
|
25
|
+
}, {
|
26
|
+
name: "replaceAll",
|
27
|
+
exec: function (editor) {
|
28
|
+
if (!editor.searchBox) {
|
29
|
+
config.loadModule("ace/ext/searchbox", function(e) {
|
30
|
+
e.Search(editor, true);
|
31
|
+
});
|
32
|
+
} else {
|
33
|
+
if (editor.searchBox.active === true && editor.searchBox.replaceOption.checked === true) {
|
34
|
+
editor.searchBox.replaceAll();
|
35
|
+
}
|
36
|
+
}
|
37
|
+
}
|
38
|
+
}, {
|
39
|
+
name: "replaceOne",
|
40
|
+
exec: function (editor) {
|
41
|
+
if (!editor.searchBox) {
|
42
|
+
config.loadModule("ace/ext/searchbox", function(e) {
|
43
|
+
e.Search(editor, true);
|
44
|
+
});
|
45
|
+
} else {
|
46
|
+
if (editor.searchBox.active === true && editor.searchBox.replaceOption.checked === true) {
|
47
|
+
editor.searchBox.replace();
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}, {
|
52
|
+
name: "selectAllMatches",
|
53
|
+
exec: function (editor) {
|
54
|
+
if (!editor.searchBox) {
|
55
|
+
config.loadModule("ace/ext/searchbox", function(e) {
|
56
|
+
e.Search(editor, false);
|
57
|
+
});
|
58
|
+
} else {
|
59
|
+
if (editor.searchBox.active === true) {
|
60
|
+
editor.searchBox.findAll();
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}, {
|
65
|
+
name: "toggleFindCaseSensitive",
|
66
|
+
exec: function (editor) {
|
67
|
+
config.loadModule("ace/ext/searchbox", function(e) {
|
68
|
+
e.Search(editor, false);
|
69
|
+
var sb = editor.searchBox;
|
70
|
+
sb.caseSensitiveOption.checked = !sb.caseSensitiveOption.checked;
|
71
|
+
sb.$syncOptions();
|
72
|
+
});
|
73
|
+
|
74
|
+
}
|
75
|
+
}, {
|
76
|
+
name: "toggleFindInSelection",
|
77
|
+
exec: function (editor) {
|
78
|
+
config.loadModule("ace/ext/searchbox", function(e) {
|
79
|
+
e.Search(editor, false);
|
80
|
+
var sb = editor.searchBox;
|
81
|
+
sb.searchOption.checked = !sb.searchRange;
|
82
|
+
sb.setSearchRange(sb.searchOption.checked && sb.editor.getSelectionRange());
|
83
|
+
sb.$syncOptions();
|
84
|
+
});
|
85
|
+
}
|
86
|
+
}, {
|
87
|
+
name: "toggleFindRegex",
|
88
|
+
exec: function (editor) {
|
89
|
+
config.loadModule("ace/ext/searchbox", function(e) {
|
90
|
+
e.Search(editor, false);
|
91
|
+
var sb = editor.searchBox;
|
92
|
+
sb.regExpOption.checked = !sb.regExpOption.checked;
|
93
|
+
sb.$syncOptions();
|
94
|
+
});
|
95
|
+
}
|
96
|
+
}, {
|
97
|
+
name: "toggleFindWholeWord",
|
98
|
+
exec: function (editor) {
|
99
|
+
config.loadModule("ace/ext/searchbox", function(e) {
|
100
|
+
e.Search(editor, false);
|
101
|
+
var sb = editor.searchBox;
|
102
|
+
sb.wholeWordOption.checked = !sb.wholeWordOption.checked;
|
103
|
+
sb.$syncOptions();
|
104
|
+
});
|
105
|
+
}
|
106
|
+
}, {
|
107
|
+
name: "removeSecondaryCursors",
|
108
|
+
exec: function (editor) {
|
109
|
+
var ranges = editor.selection.ranges;
|
110
|
+
if (ranges && ranges.length > 1)
|
111
|
+
editor.selection.toSingleRange(ranges[ranges.length - 1]);
|
112
|
+
else
|
113
|
+
editor.selection.clearSelection();
|
114
|
+
}
|
115
|
+
}]);
|
116
|
+
|
117
|
+
|
118
|
+
[{
|
119
|
+
bindKey: {mac: "Ctrl-G", win: "Ctrl-G"},
|
120
|
+
name: "gotoline"
|
121
|
+
}, {
|
122
|
+
bindKey: {mac: "Command-Shift-L|Command-F2", win: "Ctrl-Shift-L|Ctrl-F2"},
|
123
|
+
name: "findAll"
|
124
|
+
}, {
|
125
|
+
bindKey: {mac: "Shift-F8|Shift-Option-F8", win: "Shift-F8|Shift-Alt-F8"},
|
126
|
+
name: "goToPreviousError"
|
127
|
+
}, {
|
128
|
+
bindKey: {mac: "F8|Option-F8", win: "F8|Alt-F8"},
|
129
|
+
name: "goToNextError"
|
130
|
+
}, {
|
131
|
+
bindKey: {mac: "Command-Shift-P|F1", win: "Ctrl-Shift-P|F1"},
|
132
|
+
name: "openCommandPallete"
|
133
|
+
}, {
|
134
|
+
bindKey: {mac: "Command-K|Command-S", win: "Ctrl-K|Ctrl-S"},
|
135
|
+
name: "showKeyboardShortcuts"
|
136
|
+
}, {
|
137
|
+
bindKey: {mac: "Shift-Option-Up", win: "Alt-Shift-Up"},
|
138
|
+
name: "copylinesup"
|
139
|
+
}, {
|
140
|
+
bindKey: {mac: "Shift-Option-Down", win: "Alt-Shift-Down"},
|
141
|
+
name: "copylinesdown"
|
142
|
+
}, {
|
143
|
+
bindKey: {mac: "Command-Shift-K", win: "Ctrl-Shift-K"},
|
144
|
+
name: "removeline"
|
145
|
+
}, {
|
146
|
+
bindKey: {mac: "Command-Enter", win: "Ctrl-Enter"},
|
147
|
+
name: "addLineAfter"
|
148
|
+
}, {
|
149
|
+
bindKey: {mac: "Command-Shift-Enter", win: "Ctrl-Shift-Enter"},
|
150
|
+
name: "addLineBefore"
|
151
|
+
}, {
|
152
|
+
bindKey: {mac: "Command-Shift-\\", win: "Ctrl-Shift-\\"},
|
153
|
+
name: "jumptomatching"
|
154
|
+
}, {
|
155
|
+
bindKey: {mac: "Command-]", win: "Ctrl-]"},
|
156
|
+
name: "blockindent"
|
157
|
+
}, {
|
158
|
+
bindKey: {mac: "Command-[", win: "Ctrl-["},
|
159
|
+
name: "blockoutdent"
|
160
|
+
}, {
|
161
|
+
bindKey: {mac: "Ctrl-PageDown", win: "Alt-PageDown"},
|
162
|
+
name: "pagedown"
|
163
|
+
}, {
|
164
|
+
bindKey: {mac: "Ctrl-PageUp", win: "Alt-PageUp"},
|
165
|
+
name: "pageup"
|
166
|
+
}, {
|
167
|
+
bindKey: {mac: "Shift-Option-A", win: "Shift-Alt-A"},
|
168
|
+
name: "toggleBlockComment"
|
169
|
+
}, {
|
170
|
+
bindKey: {mac: "Option-Z", win: "Alt-Z"},
|
171
|
+
name: "toggleWordWrap"
|
172
|
+
}, {
|
173
|
+
bindKey: {mac: "Command-G", win: "F3|Ctrl-K Ctrl-D"},
|
174
|
+
name: "findnext"
|
175
|
+
}, {
|
176
|
+
bindKey: {mac: "Command-Shift-G", win: "Shift-F3"},
|
177
|
+
name: "findprevious"
|
178
|
+
}, {
|
179
|
+
bindKey: {mac: "Option-Enter", win: "Alt-Enter"},
|
180
|
+
name: "selectAllMatches"
|
181
|
+
}, {
|
182
|
+
bindKey: {mac: "Command-D", win: "Ctrl-D"},
|
183
|
+
name: "selectMoreAfter"
|
184
|
+
}, {
|
185
|
+
bindKey: {mac: "Command-K Command-D", win: "Ctrl-K Ctrl-D"},
|
186
|
+
name: "selectOrFindNext"
|
187
|
+
}, {
|
188
|
+
bindKey: {mac: "Shift-Option-I", win: "Shift-Alt-I"},
|
189
|
+
name: "splitSelectionIntoLines"
|
190
|
+
}, {
|
191
|
+
bindKey: {mac: "Command-K M", win: "Ctrl-K M"},
|
192
|
+
name: "modeSelect"
|
193
|
+
}, {
|
194
|
+
bindKey: {mac: "Command-Option-[", win: "Ctrl-Shift-["},
|
195
|
+
name: "toggleFoldWidget"
|
196
|
+
}, {
|
197
|
+
bindKey: {mac: "Command-Option-]", win: "Ctrl-Shift-]"},
|
198
|
+
name: "toggleFoldWidget"
|
199
|
+
}, {
|
200
|
+
bindKey: {mac: "Command-K Command-0", win: "Ctrl-K Ctrl-0"},
|
201
|
+
name: "foldall"
|
202
|
+
}, {
|
203
|
+
bindKey: {mac: "Command-K Command-J", win: "Ctrl-K Ctrl-J"},
|
204
|
+
name: "unfoldall"
|
205
|
+
}, {
|
206
|
+
bindKey: { mac: "Command-K Command-1", win: "Ctrl-K Ctrl-1" },
|
207
|
+
name: "foldOther"
|
208
|
+
}, {
|
209
|
+
bindKey: { mac: "Command-K Command-Q", win: "Ctrl-K Ctrl-Q" },
|
210
|
+
name: "navigateToLastEditLocation"
|
211
|
+
}, {
|
212
|
+
bindKey: { mac: "Command-K Command-R|Command-K Command-S", win: "Ctrl-K Ctrl-R|Ctrl-K Ctrl-S" },
|
213
|
+
name: "showKeyboardShortcuts"
|
214
|
+
}, {
|
215
|
+
bindKey: { mac: "Command-K Command-X", win: "Ctrl-K Ctrl-X" },
|
216
|
+
name: "trimTrailingSpace"
|
217
|
+
}, {
|
218
|
+
bindKey: {mac: "Shift-Down|Command-Shift-Down", win: "Shift-Down|Ctrl-Shift-Down"},
|
219
|
+
name: "selectdown"
|
220
|
+
}, {
|
221
|
+
bindKey: {mac: "Shift-Up|Command-Shift-Up", win: "Shift-Up|Ctrl-Shift-Up"},
|
222
|
+
name: "selectup"
|
223
|
+
}, {
|
224
|
+
bindKey: {mac: "Command-Alt-Enter", win: "Ctrl-Alt-Enter"},
|
225
|
+
name: "replaceAll"
|
226
|
+
}, {
|
227
|
+
bindKey: {mac: "Command-Shift-1", win: "Ctrl-Shift-1"},
|
228
|
+
name: "replaceOne"
|
229
|
+
}, {
|
230
|
+
bindKey: {mac: "Option-C", win: "Alt-C"},
|
231
|
+
name: "toggleFindCaseSensitive"
|
232
|
+
}, {
|
233
|
+
bindKey: {mac: "Option-L", win: "Alt-L"},
|
234
|
+
name: "toggleFindInSelection"
|
235
|
+
}, {
|
236
|
+
bindKey: {mac: "Option-R", win: "Alt-R"},
|
237
|
+
name: "toggleFindRegex"
|
238
|
+
}, {
|
239
|
+
bindKey: {mac: "Option-W", win: "Alt-W"},
|
240
|
+
name: "toggleFindWholeWord"
|
241
|
+
}, {
|
242
|
+
bindKey: {mac: "Command-L", win: "Ctrl-L"},
|
243
|
+
name: "expandtoline"
|
244
|
+
}, {
|
245
|
+
bindKey: {mac: "Shift-Esc", win: "Shift-Esc"},
|
246
|
+
name: "removeSecondaryCursors"
|
247
|
+
}
|
248
|
+
].forEach(function(binding) {
|
249
|
+
var command = exports.handler.commands[binding.name];
|
250
|
+
if (command)
|
251
|
+
command.bindKey = binding.bindKey;
|
252
|
+
exports.handler.bindKey(binding.bindKey, command || binding.name);
|
253
|
+
});
|
254
|
+
|
255
|
+
}); (function() {
|
256
|
+
window.require(["ace/keyboard/vscode"], function(m) {
|
257
|
+
if (typeof module == "object" && typeof exports == "object" && module) {
|
258
|
+
module.exports = m;
|
259
|
+
}
|
260
|
+
});
|
261
|
+
})();
|
262
|
+
|
@@ -73,7 +73,7 @@ var AbapHighlightRules = function() {
|
|
73
73
|
{token : "constant.numeric", regex: "[+-]?\\d+\\b"},
|
74
74
|
{token : "variable.parameter", regex : /sy|pa?\d\d\d\d\|t\d\d\d\.|innnn/},
|
75
75
|
{token : "keyword", regex : compoundKeywords},
|
76
|
-
{token : "variable.parameter", regex : /\w+-\w
|
76
|
+
{token : "variable.parameter", regex : /\w+-\w[\-\w]*/},
|
77
77
|
{token : keywordMapper, regex : "\\b\\w+\\b"},
|
78
78
|
{caseInsensitive: true}
|
79
79
|
],
|
@@ -199,7 +199,7 @@ oop.inherits(Mode, TextMode);
|
|
199
199
|
|
200
200
|
(function() {
|
201
201
|
|
202
|
-
this.lineCommentStart = '"'
|
202
|
+
this.lineCommentStart = '"';
|
203
203
|
|
204
204
|
this.getNextLineIndent = function(state, line, tab) {
|
205
205
|
var indent = this.$getIndent(line);
|
@@ -211,4 +211,11 @@ oop.inherits(Mode, TextMode);
|
|
211
211
|
|
212
212
|
exports.Mode = Mode;
|
213
213
|
|
214
|
-
});
|
214
|
+
}); (function() {
|
215
|
+
window.require(["ace/mode/abap"], function(m) {
|
216
|
+
if (typeof module == "object" && typeof exports == "object" && module) {
|
217
|
+
module.exports = m;
|
218
|
+
}
|
219
|
+
});
|
220
|
+
})();
|
221
|
+
|
@@ -119,8 +119,8 @@ oop.inherits(FoldMode, BaseFoldMode);
|
|
119
119
|
|
120
120
|
(function() {
|
121
121
|
|
122
|
-
this.foldingStartMarker = /(\{
|
123
|
-
this.foldingStopMarker = /^[^\[\{]*(\}
|
122
|
+
this.foldingStartMarker = /([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/;
|
123
|
+
this.foldingStopMarker = /^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/;
|
124
124
|
this.singleLineBlockCommentRe= /^\s*(\/\*).*\*\/\s*$/;
|
125
125
|
this.tripleStarBlockCommentRe = /^\s*(\/\*\*\*).*\*\/\s*$/;
|
126
126
|
this.startRegionRe = /^\s*(\/\*|\/\/)#?region\b/;
|
@@ -254,8 +254,18 @@ define("ace/mode/abc",["require","exports","module","ace/lib/oop","ace/mode/text
|
|
254
254
|
oop.inherits(Mode, TextMode);
|
255
255
|
|
256
256
|
(function () {
|
257
|
-
this
|
257
|
+
this.lineCommentStart = "%";
|
258
|
+
|
259
|
+
this.$id = "ace/mode/abc";
|
260
|
+
this.snippetFileId = "ace/snippets/abc";
|
258
261
|
}).call(Mode.prototype);
|
259
262
|
|
260
263
|
exports.Mode = Mode;
|
261
|
-
});
|
264
|
+
}); (function() {
|
265
|
+
window.require(["ace/mode/abc"], function(m) {
|
266
|
+
if (typeof module == "object" && typeof exports == "object" && module) {
|
267
|
+
module.exports = m;
|
268
|
+
}
|
269
|
+
});
|
270
|
+
})();
|
271
|
+
|
@@ -86,7 +86,7 @@ var ActionScriptHighlightRules = function() {
|
|
86
86
|
'storage.modifier.extends.actionscript.2',
|
87
87
|
'meta.class.actionscript.2',
|
88
88
|
'entity.other.inherited-class.actionscript.2' ],
|
89
|
-
regex: '\\b(class)(\\s+)([a-zA-Z_](?:\\w|\\.)*)(?:(\\s+)(extends)(\\s+)([a-zA-Z_](?:\\w|\\.)*))?' } ] }
|
89
|
+
regex: '\\b(class)(\\s+)([a-zA-Z_](?:\\w|\\.)*)(?:(\\s+)(extends)(\\s+)([a-zA-Z_](?:\\w|\\.)*))?' } ] };
|
90
90
|
|
91
91
|
this.normalizeRules();
|
92
92
|
};
|
@@ -94,7 +94,7 @@ var ActionScriptHighlightRules = function() {
|
|
94
94
|
ActionScriptHighlightRules.metaData = { fileTypes: [ 'as' ],
|
95
95
|
keyEquivalent: '^~A',
|
96
96
|
name: 'ActionScript',
|
97
|
-
scopeName: 'source.actionscript.2' }
|
97
|
+
scopeName: 'source.actionscript.2' };
|
98
98
|
|
99
99
|
|
100
100
|
oop.inherits(ActionScriptHighlightRules, TextHighlightRules);
|
@@ -123,8 +123,8 @@ oop.inherits(FoldMode, BaseFoldMode);
|
|
123
123
|
|
124
124
|
(function() {
|
125
125
|
|
126
|
-
this.foldingStartMarker = /(\{
|
127
|
-
this.foldingStopMarker = /^[^\[\{]*(\}
|
126
|
+
this.foldingStartMarker = /([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/;
|
127
|
+
this.foldingStopMarker = /^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/;
|
128
128
|
this.singleLineBlockCommentRe= /^\s*(\/\*).*\*\/\s*$/;
|
129
129
|
this.tripleStarBlockCommentRe = /^\s*(\/\*\*\*).*\*\/\s*$/;
|
130
130
|
this.startRegionRe = /^\s*(\/\*|\/\/)#?region\b/;
|
@@ -261,7 +261,15 @@ oop.inherits(Mode, TextMode);
|
|
261
261
|
this.lineCommentStart = "//";
|
262
262
|
this.blockComment = {start: "/*", end: "*/"};
|
263
263
|
this.$id = "ace/mode/actionscript";
|
264
|
+
this.snippetFileId = "ace/snippets/actionscript";
|
264
265
|
}).call(Mode.prototype);
|
265
266
|
|
266
267
|
exports.Mode = Mode;
|
267
|
-
});
|
268
|
+
}); (function() {
|
269
|
+
window.require(["ace/mode/actionscript"], function(m) {
|
270
|
+
if (typeof module == "object" && typeof exports == "object" && module) {
|
271
|
+
module.exports = m;
|
272
|
+
}
|
273
|
+
});
|
274
|
+
})();
|
275
|
+
|
@@ -33,8 +33,8 @@ var keywords = "abort|else|new|return|abs|elsif|not|reverse|abstract|end|null|ac
|
|
33
33
|
token : "string", // " string
|
34
34
|
regex : '".*?"'
|
35
35
|
}, {
|
36
|
-
token : "string", //
|
37
|
-
regex : "'
|
36
|
+
token : "string", // character
|
37
|
+
regex : "'.'"
|
38
38
|
}, {
|
39
39
|
token : "constant.numeric", // float
|
40
40
|
regex : "[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"
|
@@ -62,12 +62,13 @@ oop.inherits(AdaHighlightRules, TextHighlightRules);
|
|
62
62
|
exports.AdaHighlightRules = AdaHighlightRules;
|
63
63
|
});
|
64
64
|
|
65
|
-
define("ace/mode/ada",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/ada_highlight_rules"], function(require, exports, module) {
|
65
|
+
define("ace/mode/ada",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/ada_highlight_rules","ace/range"], function(require, exports, module) {
|
66
66
|
"use strict";
|
67
67
|
|
68
68
|
var oop = require("../lib/oop");
|
69
69
|
var TextMode = require("./text").Mode;
|
70
70
|
var AdaHighlightRules = require("./ada_highlight_rules").AdaHighlightRules;
|
71
|
+
var Range = require("../range").Range;
|
71
72
|
|
72
73
|
var Mode = function() {
|
73
74
|
this.HighlightRules = AdaHighlightRules;
|
@@ -79,9 +80,58 @@ oop.inherits(Mode, TextMode);
|
|
79
80
|
|
80
81
|
this.lineCommentStart = "--";
|
81
82
|
|
83
|
+
this.getNextLineIndent = function(state, line, tab) {
|
84
|
+
var indent = this.$getIndent(line);
|
85
|
+
|
86
|
+
var tokenizedLine = this.getTokenizer().getLineTokens(line, state);
|
87
|
+
var tokens = tokenizedLine.tokens;
|
88
|
+
|
89
|
+
if (tokens.length && tokens[tokens.length-1].type == "comment") {
|
90
|
+
return indent;
|
91
|
+
}
|
92
|
+
if (state == "start") {
|
93
|
+
var match = line.match(/^.*(begin|loop|then|is|do)\s*$/);
|
94
|
+
if (match) {
|
95
|
+
indent += tab;
|
96
|
+
}
|
97
|
+
}
|
98
|
+
|
99
|
+
return indent;
|
100
|
+
};
|
101
|
+
|
102
|
+
this.checkOutdent = function(state, line, input) {
|
103
|
+
var complete_line = line + input;
|
104
|
+
if (complete_line.match(/^\s*(begin|end)$/)) {
|
105
|
+
return true;
|
106
|
+
}
|
107
|
+
|
108
|
+
return false;
|
109
|
+
};
|
110
|
+
|
111
|
+
this.autoOutdent = function(state, session, row) {
|
112
|
+
|
113
|
+
var line = session.getLine(row);
|
114
|
+
var prevLine = session.getLine(row - 1);
|
115
|
+
var prevIndent = this.$getIndent(prevLine).length;
|
116
|
+
var indent = this.$getIndent(line).length;
|
117
|
+
if (indent <= prevIndent) {
|
118
|
+
return;
|
119
|
+
}
|
120
|
+
|
121
|
+
session.outdentRows(new Range(row, 0, row + 2, 0));
|
122
|
+
};
|
123
|
+
|
124
|
+
|
82
125
|
this.$id = "ace/mode/ada";
|
83
126
|
}).call(Mode.prototype);
|
84
127
|
|
85
128
|
exports.Mode = Mode;
|
86
129
|
|
87
|
-
});
|
130
|
+
}); (function() {
|
131
|
+
window.require(["ace/mode/ada"], function(m) {
|
132
|
+
if (typeof module == "object" && typeof exports == "object" && module) {
|
133
|
+
module.exports = m;
|
134
|
+
}
|
135
|
+
});
|
136
|
+
})();
|
137
|
+
|