bedrock_sass 0.1.9 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -5
- data/assets/_vendor/ace/ace.js +21635 -0
- data/assets/_vendor/ace/ext-beautify.js +318 -0
- data/assets/_vendor/ace/ext-elastic_tabstops_lite.js +277 -0
- data/assets/_vendor/ace/ext-emmet.js +1226 -0
- data/assets/_vendor/ace/ext-error_marker.js +10 -0
- data/assets/_vendor/ace/ext-keybinding_menu.js +189 -0
- data/assets/_vendor/ace/ext-language_tools.js +1997 -0
- data/assets/_vendor/ace/ext-linking.js +65 -0
- data/assets/_vendor/ace/ext-modelist.js +228 -0
- data/assets/_vendor/ace/ext-options.js +750 -0
- data/assets/_vendor/ace/ext-rtl.js +110 -0
- data/assets/_vendor/ace/ext-searchbox.js +512 -0
- data/assets/_vendor/ace/ext-settings_menu.js +771 -0
- data/assets/_vendor/ace/ext-spellcheck.js +75 -0
- data/assets/_vendor/ace/ext-split.js +208 -0
- data/assets/_vendor/ace/ext-static_highlight.js +226 -0
- data/assets/_vendor/ace/ext-statusbar.js +57 -0
- data/assets/_vendor/ace/ext-textarea.js +567 -0
- data/assets/_vendor/ace/ext-themelist.js +67 -0
- data/assets/_vendor/ace/ext-whitespace.js +210 -0
- data/assets/_vendor/ace/keybinding-emacs.js +1165 -0
- data/assets/_vendor/ace/keybinding-vim.js +5673 -0
- data/assets/_vendor/ace/mode-abap.js +222 -0
- data/assets/_vendor/ace/mode-abc.js +267 -0
- data/assets/_vendor/ace/mode-actionscript.js +274 -0
- data/assets/_vendor/ace/mode-ada.js +138 -0
- data/assets/_vendor/ace/mode-apache_conf.js +363 -0
- data/assets/_vendor/ace/mode-applescript.js +279 -0
- data/assets/_vendor/ace/mode-asciidoc.js +349 -0
- data/assets/_vendor/ace/mode-asl.js +422 -0
- data/assets/_vendor/ace/mode-assembly_x86.js +193 -0
- data/assets/_vendor/ace/mode-autohotkey.js +243 -0
- data/assets/_vendor/ace/mode-batchfile.js +230 -0
- data/assets/_vendor/ace/mode-bro.js +334 -0
- data/assets/_vendor/ace/mode-c9search.js +294 -0
- data/assets/_vendor/ace/mode-c_cpp.js +502 -0
- data/assets/_vendor/ace/mode-cirru.js +211 -0
- data/assets/_vendor/ace/mode-clojure.js +314 -0
- data/assets/_vendor/ace/mode-cobol.js +102 -0
- data/assets/_vendor/ace/mode-coffee.js +400 -0
- data/assets/_vendor/ace/mode-coldfusion.js +2596 -0
- data/assets/_vendor/ace/mode-csharp.js +502 -0
- data/assets/_vendor/ace/mode-csound_document.js +3749 -0
- data/assets/_vendor/ace/mode-csound_orchestra.js +2687 -0
- data/assets/_vendor/ace/mode-csound_score.js +454 -0
- data/assets/_vendor/ace/mode-csp.js +60 -0
- data/assets/_vendor/ace/mode-css.js +723 -0
- data/assets/_vendor/ace/mode-curly.js +2564 -0
- data/assets/_vendor/ace/mode-d.js +520 -0
- data/assets/_vendor/ace/mode-dart.js +703 -0
- data/assets/_vendor/ace/mode-diff.js +146 -0
- data/assets/_vendor/ace/mode-django.js +2594 -0
- data/assets/_vendor/ace/mode-dockerfile.js +498 -0
- data/assets/_vendor/ace/mode-dot.js +418 -0
- data/assets/_vendor/ace/mode-drools.js +496 -0
- data/assets/_vendor/ace/mode-edifact.js +165 -0
- data/assets/_vendor/ace/mode-eiffel.js +136 -0
- data/assets/_vendor/ace/mode-ejs.js +3026 -0
- data/assets/_vendor/ace/mode-elixir.js +501 -0
- data/assets/_vendor/ace/mode-elm.js +307 -0
- data/assets/_vendor/ace/mode-erlang.js +1009 -0
- data/assets/_vendor/ace/mode-forth.js +297 -0
- data/assets/_vendor/ace/mode-fortran.js +431 -0
- data/assets/_vendor/ace/mode-fsharp.js +314 -0
- data/assets/_vendor/ace/mode-ftl.js +1192 -0
- data/assets/_vendor/ace/mode-gcode.js +94 -0
- data/assets/_vendor/ace/mode-gherkin.js +172 -0
- data/assets/_vendor/ace/mode-gitignore.js +60 -0
- data/assets/_vendor/ace/mode-glsl.js +579 -0
- data/assets/_vendor/ace/mode-gobstones.js +929 -0
- data/assets/_vendor/ace/mode-golang.js +414 -0
- data/assets/_vendor/ace/mode-graphqlschema.js +214 -0
- data/assets/_vendor/ace/mode-groovy.js +986 -0
- data/assets/_vendor/ace/mode-haml.js +1555 -0
- data/assets/_vendor/ace/mode-handlebars.js +2622 -0
- data/assets/_vendor/ace/mode-haskell.js +379 -0
- data/assets/_vendor/ace/mode-haskell_cabal.js +142 -0
- data/assets/_vendor/ace/mode-haxe.js +386 -0
- data/assets/_vendor/ace/mode-hjson.js +353 -0
- data/assets/_vendor/ace/mode-html.js +2509 -0
- data/assets/_vendor/ace/mode-html_elixir.js +3087 -0
- data/assets/_vendor/ace/mode-html_ruby.js +3043 -0
- data/assets/_vendor/ace/mode-ini.js +163 -0
- data/assets/_vendor/ace/mode-io.js +253 -0
- data/assets/_vendor/ace/mode-jack.js +347 -0
- data/assets/_vendor/ace/mode-jade.js +2126 -0
- data/assets/_vendor/ace/mode-java.js +975 -0
- data/assets/_vendor/ace/mode-javascript.js +797 -0
- data/assets/_vendor/ace/mode-json.js +327 -0
- data/assets/_vendor/ace/mode-jsoniq.js +4940 -0
- data/assets/_vendor/ace/mode-jsp.js +1430 -0
- data/assets/_vendor/ace/mode-jssm.js +325 -0
- data/assets/_vendor/ace/mode-jsx.js +412 -0
- data/assets/_vendor/ace/mode-julia.js +303 -0
- data/assets/_vendor/ace/mode-kotlin.js +795 -0
- data/assets/_vendor/ace/mode-latex.js +297 -0
- data/assets/_vendor/ace/mode-less.js +841 -0
- data/assets/_vendor/ace/mode-liquid.js +1193 -0
- data/assets/_vendor/ace/mode-lisp.js +112 -0
- data/assets/_vendor/ace/mode-livescript.js +280 -0
- data/assets/_vendor/ace/mode-logiql.js +317 -0
- data/assets/_vendor/ace/mode-lsl.js +343 -0
- data/assets/_vendor/ace/mode-lua.js +432 -0
- data/assets/_vendor/ace/mode-luapage.js +3007 -0
- data/assets/_vendor/ace/mode-lucene.js +87 -0
- data/assets/_vendor/ace/mode-makefile.js +410 -0
- data/assets/_vendor/ace/mode-markdown.js +3189 -0
- data/assets/_vendor/ace/mode-mask.js +1802 -0
- data/assets/_vendor/ace/mode-matlab.js +264 -0
- data/assets/_vendor/ace/mode-maze.js +291 -0
- data/assets/_vendor/ace/mode-mel.js +263 -0
- data/assets/_vendor/ace/mode-mixal.js +123 -0
- data/assets/_vendor/ace/mode-mushcode.js +681 -0
- data/assets/_vendor/ace/mode-mysql.js +168 -0
- data/assets/_vendor/ace/mode-nix.js +646 -0
- data/assets/_vendor/ace/mode-nsis.js +312 -0
- data/assets/_vendor/ace/mode-objectivec.js +739 -0
- data/assets/_vendor/ace/mode-ocaml.js +422 -0
- data/assets/_vendor/ace/mode-pascal.js +205 -0
- data/assets/_vendor/ace/mode-perl.js +380 -0
- data/assets/_vendor/ace/mode-pgsql.js +1508 -0
- data/assets/_vendor/ace/mode-php.js +13088 -0
- data/assets/_vendor/ace/mode-php_laravel_blade.js +13289 -0
- data/assets/_vendor/ace/mode-pig.js +310 -0
- data/assets/_vendor/ace/mode-plain_text.js +33 -0
- data/assets/_vendor/ace/mode-powershell.js +418 -0
- data/assets/_vendor/ace/mode-praat.js +478 -0
- data/assets/_vendor/ace/mode-prolog.js +371 -0
- data/assets/_vendor/ace/mode-properties.js +81 -0
- data/assets/_vendor/ace/mode-protobuf.js +592 -0
- data/assets/_vendor/ace/mode-puppet.js +370 -0
- data/assets/_vendor/ace/mode-python.js +273 -0
- data/assets/_vendor/ace/mode-r.js +310 -0
- data/assets/_vendor/ace/mode-razor.js +2869 -0
- data/assets/_vendor/ace/mode-rdoc.js +243 -0
- data/assets/_vendor/ace/mode-red.js +450 -0
- data/assets/_vendor/ace/mode-redshift.js +361 -0
- data/assets/_vendor/ace/mode-rhtml.js +2806 -0
- data/assets/_vendor/ace/mode-rst.js +257 -0
- data/assets/_vendor/ace/mode-ruby.js +497 -0
- data/assets/_vendor/ace/mode-rust.js +279 -0
- data/assets/_vendor/ace/mode-sass.js +441 -0
- data/assets/_vendor/ace/mode-scad.js +414 -0
- data/assets/_vendor/ace/mode-scala.js +982 -0
- data/assets/_vendor/ace/mode-scheme.js +232 -0
- data/assets/_vendor/ace/mode-scss.js +606 -0
- data/assets/_vendor/ace/mode-sh.js +447 -0
- data/assets/_vendor/ace/mode-sjs.js +1014 -0
- data/assets/_vendor/ace/mode-slim.js +4736 -0
- data/assets/_vendor/ace/mode-smarty.js +2635 -0
- data/assets/_vendor/ace/mode-snippets.js +207 -0
- data/assets/_vendor/ace/mode-soy_template.js +2847 -0
- data/assets/_vendor/ace/mode-space.js +168 -0
- data/assets/_vendor/ace/mode-sparql.js +320 -0
- data/assets/_vendor/ace/mode-sql.js +111 -0
- data/assets/_vendor/ace/mode-sqlserver.js +444 -0
- data/assets/_vendor/ace/mode-stylus.js +471 -0
- data/assets/_vendor/ace/mode-svg.js +1581 -0
- data/assets/_vendor/ace/mode-swift.js +390 -0
- data/assets/_vendor/ace/mode-tcl.js +383 -0
- data/assets/_vendor/ace/mode-terraform.js +398 -0
- data/assets/_vendor/ace/mode-tex.js +159 -0
- data/assets/_vendor/ace/mode-text.js +10 -0
- data/assets/_vendor/ace/mode-textile.js +150 -0
- data/assets/_vendor/ace/mode-toml.js +154 -0
- data/assets/_vendor/ace/mode-tsx.js +887 -0
- data/assets/_vendor/ace/mode-turtle.js +296 -0
- data/assets/_vendor/ace/mode-twig.js +2693 -0
- data/assets/_vendor/ace/mode-typescript.js +868 -0
- data/assets/_vendor/ace/mode-vala.js +676 -0
- data/assets/_vendor/ace/mode-vbscript.js +207 -0
- data/assets/_vendor/ace/mode-velocity.js +2790 -0
- data/assets/_vendor/ace/mode-verilog.js +119 -0
- data/assets/_vendor/ace/mode-vhdl.js +118 -0
- data/assets/_vendor/ace/mode-wollok.js +911 -0
- data/assets/_vendor/ace/mode-xml.js +677 -0
- data/assets/_vendor/ace/mode-xquery.js +4922 -0
- data/assets/_vendor/ace/mode-yaml.js +300 -0
- data/assets/_vendor/ace/snippets/abap.js +15 -0
- data/assets/_vendor/ace/snippets/abc.js +46 -0
- data/assets/_vendor/ace/snippets/actionscript.js +172 -0
- data/assets/_vendor/ace/snippets/ada.js +15 -0
- data/assets/_vendor/ace/snippets/apache_conf.js +15 -0
- data/assets/_vendor/ace/snippets/applescript.js +15 -0
- data/assets/_vendor/ace/snippets/asciidoc.js +15 -0
- data/assets/_vendor/ace/snippets/asl.js +14 -0
- data/assets/_vendor/ace/snippets/assembly_x86.js +15 -0
- data/assets/_vendor/ace/snippets/autohotkey.js +15 -0
- data/assets/_vendor/ace/snippets/batchfile.js +15 -0
- data/assets/_vendor/ace/snippets/bro.js +15 -0
- data/assets/_vendor/ace/snippets/c9search.js +15 -0
- data/assets/_vendor/ace/snippets/c_cpp.js +146 -0
- data/assets/_vendor/ace/snippets/cirru.js +15 -0
- data/assets/_vendor/ace/snippets/clojure.js +105 -0
- data/assets/_vendor/ace/snippets/cobol.js +15 -0
- data/assets/_vendor/ace/snippets/coffee.js +110 -0
- data/assets/_vendor/ace/snippets/coldfusion.js +15 -0
- data/assets/_vendor/ace/snippets/csharp.js +15 -0
- data/assets/_vendor/ace/snippets/csound_document.js +25 -0
- data/assets/_vendor/ace/snippets/csound_orchestra.js +62 -0
- data/assets/_vendor/ace/snippets/csound_score.js +15 -0
- data/assets/_vendor/ace/snippets/csp.js +15 -0
- data/assets/_vendor/ace/snippets/css.js +982 -0
- data/assets/_vendor/ace/snippets/curly.js +15 -0
- data/assets/_vendor/ace/snippets/d.js +15 -0
- data/assets/_vendor/ace/snippets/dart.js +98 -0
- data/assets/_vendor/ace/snippets/diff.js +26 -0
- data/assets/_vendor/ace/snippets/django.js +123 -0
- data/assets/_vendor/ace/snippets/dockerfile.js +15 -0
- data/assets/_vendor/ace/snippets/dot.js +15 -0
- data/assets/_vendor/ace/snippets/drools.js +34 -0
- data/assets/_vendor/ace/snippets/edifact.js +255 -0
- data/assets/_vendor/ace/snippets/eiffel.js +15 -0
- data/assets/_vendor/ace/snippets/ejs.js +15 -0
- data/assets/_vendor/ace/snippets/elixir.js +15 -0
- data/assets/_vendor/ace/snippets/elm.js +15 -0
- data/assets/_vendor/ace/snippets/erlang.js +175 -0
- data/assets/_vendor/ace/snippets/forth.js +15 -0
- data/assets/_vendor/ace/snippets/fortran.js +15 -0
- data/assets/_vendor/ace/snippets/fsharp.js +15 -0
- data/assets/_vendor/ace/snippets/ftl.js +15 -0
- data/assets/_vendor/ace/snippets/gcode.js +15 -0
- data/assets/_vendor/ace/snippets/gherkin.js +15 -0
- data/assets/_vendor/ace/snippets/gitignore.js +15 -0
- data/assets/_vendor/ace/snippets/glsl.js +15 -0
- data/assets/_vendor/ace/snippets/gobstones.js +49 -0
- data/assets/_vendor/ace/snippets/golang.js +15 -0
- data/assets/_vendor/ace/snippets/graphqlschema.js +47 -0
- data/assets/_vendor/ace/snippets/groovy.js +15 -0
- data/assets/_vendor/ace/snippets/haml.js +35 -0
- data/assets/_vendor/ace/snippets/handlebars.js +15 -0
- data/assets/_vendor/ace/snippets/haskell.js +97 -0
- data/assets/_vendor/ace/snippets/haskell_cabal.js +15 -0
- data/assets/_vendor/ace/snippets/haxe.js +15 -0
- data/assets/_vendor/ace/snippets/hjson.js +15 -0
- data/assets/_vendor/ace/snippets/html.js +870 -0
- data/assets/_vendor/ace/snippets/html_elixir.js +15 -0
- data/assets/_vendor/ace/snippets/html_ruby.js +15 -0
- data/assets/_vendor/ace/snippets/ini.js +15 -0
- data/assets/_vendor/ace/snippets/io.js +77 -0
- data/assets/_vendor/ace/snippets/jack.js +15 -0
- data/assets/_vendor/ace/snippets/jade.js +15 -0
- data/assets/_vendor/ace/snippets/java.js +255 -0
- data/assets/_vendor/ace/snippets/javascript.js +210 -0
- data/assets/_vendor/ace/snippets/json.js +15 -0
- data/assets/_vendor/ace/snippets/jsoniq.js +76 -0
- data/assets/_vendor/ace/snippets/jsp.js +114 -0
- data/assets/_vendor/ace/snippets/jssm.js +15 -0
- data/assets/_vendor/ace/snippets/jsx.js +15 -0
- data/assets/_vendor/ace/snippets/julia.js +15 -0
- data/assets/_vendor/ace/snippets/kotlin.js +15 -0
- data/assets/_vendor/ace/snippets/latex.js +15 -0
- data/assets/_vendor/ace/snippets/less.js +15 -0
- data/assets/_vendor/ace/snippets/liquid.js +15 -0
- data/assets/_vendor/ace/snippets/lisp.js +15 -0
- data/assets/_vendor/ace/snippets/livescript.js +15 -0
- data/assets/_vendor/ace/snippets/logiql.js +15 -0
- data/assets/_vendor/ace/snippets/lsl.js +1247 -0
- data/assets/_vendor/ace/snippets/lua.js +36 -0
- data/assets/_vendor/ace/snippets/luapage.js +15 -0
- data/assets/_vendor/ace/snippets/lucene.js +15 -0
- data/assets/_vendor/ace/snippets/makefile.js +19 -0
- data/assets/_vendor/ace/snippets/markdown.js +103 -0
- data/assets/_vendor/ace/snippets/mask.js +15 -0
- data/assets/_vendor/ace/snippets/matlab.js +15 -0
- data/assets/_vendor/ace/snippets/maze.js +24 -0
- data/assets/_vendor/ace/snippets/mel.js +15 -0
- data/assets/_vendor/ace/snippets/mixal.js +15 -0
- data/assets/_vendor/ace/snippets/mushcode.js +15 -0
- data/assets/_vendor/ace/snippets/mysql.js +15 -0
- data/assets/_vendor/ace/snippets/nix.js +15 -0
- data/assets/_vendor/ace/snippets/nsis.js +15 -0
- data/assets/_vendor/ace/snippets/objectivec.js +15 -0
- data/assets/_vendor/ace/snippets/ocaml.js +15 -0
- data/assets/_vendor/ace/snippets/pascal.js +15 -0
- data/assets/_vendor/ace/snippets/perl.js +362 -0
- data/assets/_vendor/ace/snippets/pgsql.js +15 -0
- data/assets/_vendor/ace/snippets/php.js +398 -0
- data/assets/_vendor/ace/snippets/php_laravel_blade.js +15 -0
- data/assets/_vendor/ace/snippets/pig.js +15 -0
- data/assets/_vendor/ace/snippets/plain_text.js +15 -0
- data/assets/_vendor/ace/snippets/powershell.js +15 -0
- data/assets/_vendor/ace/snippets/praat.js +15 -0
- data/assets/_vendor/ace/snippets/prolog.js +15 -0
- data/assets/_vendor/ace/snippets/properties.js +15 -0
- data/assets/_vendor/ace/snippets/protobuf.js +15 -0
- data/assets/_vendor/ace/snippets/puppet.js +15 -0
- data/assets/_vendor/ace/snippets/python.js +173 -0
- data/assets/_vendor/ace/snippets/r.js +136 -0
- data/assets/_vendor/ace/snippets/razor.js +18 -0
- data/assets/_vendor/ace/snippets/rdoc.js +15 -0
- data/assets/_vendor/ace/snippets/red.js +15 -0
- data/assets/_vendor/ace/snippets/redshift.js +15 -0
- data/assets/_vendor/ace/snippets/rhtml.js +15 -0
- data/assets/_vendor/ace/snippets/rst.js +37 -0
- data/assets/_vendor/ace/snippets/ruby.js +943 -0
- data/assets/_vendor/ace/snippets/rust.js +15 -0
- data/assets/_vendor/ace/snippets/sass.js +15 -0
- data/assets/_vendor/ace/snippets/scad.js +15 -0
- data/assets/_vendor/ace/snippets/scala.js +15 -0
- data/assets/_vendor/ace/snippets/scheme.js +15 -0
- data/assets/_vendor/ace/snippets/scss.js +15 -0
- data/assets/_vendor/ace/snippets/sh.js +98 -0
- data/assets/_vendor/ace/snippets/sjs.js +15 -0
- data/assets/_vendor/ace/snippets/slim.js +15 -0
- data/assets/_vendor/ace/snippets/smarty.js +15 -0
- data/assets/_vendor/ace/snippets/snippets.js +24 -0
- data/assets/_vendor/ace/snippets/soy_template.js +15 -0
- data/assets/_vendor/ace/snippets/space.js +15 -0
- data/assets/_vendor/ace/snippets/sparql.js +15 -0
- data/assets/_vendor/ace/snippets/sql.js +41 -0
- data/assets/_vendor/ace/snippets/sqlserver.js +84 -0
- data/assets/_vendor/ace/snippets/stylus.js +15 -0
- data/assets/_vendor/ace/snippets/svg.js +15 -0
- data/assets/_vendor/ace/snippets/swift.js +15 -0
- data/assets/_vendor/ace/snippets/tcl.js +107 -0
- data/assets/_vendor/ace/snippets/terraform.js +15 -0
- data/assets/_vendor/ace/snippets/tex.js +205 -0
- data/assets/_vendor/ace/snippets/text.js +15 -0
- data/assets/_vendor/ace/snippets/textile.js +45 -0
- data/assets/_vendor/ace/snippets/toml.js +15 -0
- data/assets/_vendor/ace/snippets/tsx.js +15 -0
- data/assets/_vendor/ace/snippets/turtle.js +15 -0
- data/assets/_vendor/ace/snippets/twig.js +15 -0
- data/assets/_vendor/ace/snippets/typescript.js +15 -0
- data/assets/_vendor/ace/snippets/vala.js +201 -0
- data/assets/_vendor/ace/snippets/vbscript.js +15 -0
- data/assets/_vendor/ace/snippets/velocity.js +44 -0
- data/assets/_vendor/ace/snippets/verilog.js +15 -0
- data/assets/_vendor/ace/snippets/vhdl.js +15 -0
- data/assets/_vendor/ace/snippets/wollok.js +99 -0
- data/assets/_vendor/ace/snippets/xml.js +15 -0
- data/assets/_vendor/ace/snippets/xquery.js +76 -0
- data/assets/_vendor/ace/snippets/yaml.js +15 -0
- data/assets/_vendor/ace/theme-ambiance.js +185 -0
- data/assets/_vendor/ace/theme-chaos.js +164 -0
- data/assets/_vendor/ace/theme-chrome.js +136 -0
- data/assets/_vendor/ace/theme-clouds.js +103 -0
- data/assets/_vendor/ace/theme-clouds_midnight.js +104 -0
- data/assets/_vendor/ace/theme-cobalt.js +121 -0
- data/assets/_vendor/ace/theme-crimson_editor.js +126 -0
- data/assets/_vendor/ace/theme-dawn.js +116 -0
- data/assets/_vendor/ace/theme-dracula.js +136 -0
- data/assets/_vendor/ace/theme-dreamweaver.js +149 -0
- data/assets/_vendor/ace/theme-eclipse.js +106 -0
- data/assets/_vendor/ace/theme-github.js +110 -0
- data/assets/_vendor/ace/theme-gob.js +120 -0
- data/assets/_vendor/ace/theme-gruvbox.js +90 -0
- data/assets/_vendor/ace/theme-idle_fingers.js +104 -0
- data/assets/_vendor/ace/theme-iplastic.js +129 -0
- data/assets/_vendor/ace/theme-katzenmilch.js +129 -0
- data/assets/_vendor/ace/theme-kr_theme.js +112 -0
- data/assets/_vendor/ace/theme-kuroir.js +69 -0
- data/assets/_vendor/ace/theme-merbivore.js +103 -0
- data/assets/_vendor/ace/theme-merbivore_soft.js +104 -0
- data/assets/_vendor/ace/theme-mono_industrial.js +115 -0
- data/assets/_vendor/ace/theme-monokai.js +113 -0
- data/assets/_vendor/ace/theme-pastel_on_dark.js +116 -0
- data/assets/_vendor/ace/theme-solarized_dark.js +96 -0
- data/assets/_vendor/ace/theme-solarized_light.js +99 -0
- data/assets/_vendor/ace/theme-sqlserver.js +146 -0
- data/assets/_vendor/ace/theme-terminal.js +122 -0
- data/assets/_vendor/ace/theme-textmate.js +138 -0
- data/assets/_vendor/ace/theme-tomorrow.js +116 -0
- data/assets/_vendor/ace/theme-tomorrow_night.js +116 -0
- data/assets/_vendor/ace/theme-tomorrow_night_blue.js +114 -0
- data/assets/_vendor/ace/theme-tomorrow_night_bright.js +129 -0
- data/assets/_vendor/ace/theme-tomorrow_night_eighties.js +116 -0
- data/assets/_vendor/ace/theme-twilight.js +117 -0
- data/assets/_vendor/ace/theme-vibrant_ink.js +102 -0
- data/assets/_vendor/ace/theme-xcode.js +96 -0
- data/assets/_vendor/ace/worker-coffee.js +2165 -0
- data/assets/_vendor/ace/worker-css.js +8764 -0
- data/assets/_vendor/ace/worker-html.js +11614 -0
- data/assets/_vendor/ace/worker-javascript.js +12491 -0
- data/assets/_vendor/ace/worker-json.js +2396 -0
- data/assets/_vendor/ace/worker-lua.js +3637 -0
- data/assets/_vendor/ace/worker-php.js +4313 -0
- data/assets/_vendor/ace/worker-xml.js +3899 -0
- data/assets/_vendor/ace/worker-xquery.js +70688 -0
- data/assets/_vendor/motion-ui/_settings.scss +1 -0
- data/assets/_vendor/motion-ui/effects/_fade.scss +1 -4
- data/assets/_vendor/motion-ui/effects/_hinge.scss +4 -3
- data/assets/_vendor/motion-ui/effects/_shake.scss +1 -1
- data/assets/_vendor/motion-ui/effects/_slide.scss +4 -3
- data/assets/_vendor/motion-ui/effects/_spin.scss +4 -3
- data/assets/_vendor/motion-ui/effects/_wiggle.scss +1 -1
- data/assets/_vendor/motion-ui/effects/_zoom.scss +2 -2
- data/assets/_vendor/motion-ui/motion-ui.scss +2 -0
- data/assets/_vendor/motion-ui/transitions/_fade.scss +6 -4
- data/assets/_vendor/motion-ui/transitions/_hinge.scss +3 -2
- data/assets/_vendor/motion-ui/transitions/_slide.scss +3 -2
- data/assets/_vendor/motion-ui/transitions/_spin.scss +2 -1
- data/assets/_vendor/motion-ui/transitions/_zoom.scss +6 -4
- data/assets/_vendor/motion-ui/util/_animation.scss +1 -1
- data/assets/_vendor/motion-ui/util/_args.scss +2 -2
- data/assets/_vendor/motion-ui/util/_function.scss +94 -0
- data/assets/_vendor/motion-ui/util/_keyframe.scss +5 -5
- data/assets/_vendor/motion-ui/util/_series.scss +20 -17
- data/assets/_vendor/motion-ui/util/_string.scss +36 -0
- data/assets/_vendor/tinymce/plugins/advlist/plugin.js +136 -404
- data/assets/_vendor/tinymce/plugins/advlist/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/anchor/plugin.js +103 -323
- data/assets/_vendor/tinymce/plugins/anchor/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/autolink/plugin.js +153 -377
- data/assets/_vendor/tinymce/plugins/autolink/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/autoresize/plugin.js +145 -427
- data/assets/_vendor/tinymce/plugins/autoresize/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/autosave/plugin.js +197 -579
- data/assets/_vendor/tinymce/plugins/autosave/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/bbcode/plugin.js +88 -251
- data/assets/_vendor/tinymce/plugins/bbcode/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/charmap/plugin.js +1243 -818
- data/assets/_vendor/tinymce/plugins/charmap/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/code/plugin.js +82 -326
- data/assets/_vendor/tinymce/plugins/code/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/codesample/plugin.js +829 -1444
- data/assets/_vendor/tinymce/plugins/codesample/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/colorpicker/plugin.js +111 -257
- data/assets/_vendor/tinymce/plugins/colorpicker/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/contextmenu/plugin.js +141 -469
- data/assets/_vendor/tinymce/plugins/contextmenu/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/directionality/plugin.js +57 -261
- data/assets/_vendor/tinymce/plugins/directionality/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/emoticons/plugin.js +78 -247
- data/assets/_vendor/tinymce/plugins/emoticons/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/fullpage/plugin.js +463 -906
- data/assets/_vendor/tinymce/plugins/fullpage/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/fullscreen/plugin.js +149 -427
- data/assets/_vendor/tinymce/plugins/fullscreen/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/help/plugin.js +634 -1434
- data/assets/_vendor/tinymce/plugins/help/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/hr/plugin.js +29 -185
- data/assets/_vendor/tinymce/plugins/hr/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/image/plugin.js +1147 -1508
- data/assets/_vendor/tinymce/plugins/image/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/imagetools/plugin.js +3319 -4079
- data/assets/_vendor/tinymce/plugins/imagetools/plugin.min.js +1 -2
- data/assets/_vendor/tinymce/plugins/importcss/plugin.js +230 -543
- data/assets/_vendor/tinymce/plugins/importcss/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/insertdatetime/plugin.js +151 -460
- data/assets/_vendor/tinymce/plugins/insertdatetime/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/legacyoutput/plugin.js +204 -379
- data/assets/_vendor/tinymce/plugins/legacyoutput/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/link/plugin.js +644 -1162
- data/assets/_vendor/tinymce/plugins/link/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/lists/plugin.js +1005 -1875
- data/assets/_vendor/tinymce/plugins/lists/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/media/plugin.js +1066 -1926
- data/assets/_vendor/tinymce/plugins/media/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/nonbreaking/plugin.js +70 -298
- data/assets/_vendor/tinymce/plugins/nonbreaking/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/noneditable/plugin.js +96 -294
- data/assets/_vendor/tinymce/plugins/noneditable/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/pagebreak/plugin.js +92 -337
- data/assets/_vendor/tinymce/plugins/pagebreak/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/paste/plugin.js +1363 -2801
- data/assets/_vendor/tinymce/plugins/paste/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/preview/plugin.js +106 -393
- data/assets/_vendor/tinymce/plugins/preview/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/print/plugin.js +29 -185
- data/assets/_vendor/tinymce/plugins/print/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/save/plugin.js +100 -350
- data/assets/_vendor/tinymce/plugins/save/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/searchreplace/plugin.js +491 -865
- data/assets/_vendor/tinymce/plugins/searchreplace/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/spellchecker/plugin.js +630 -1292
- data/assets/_vendor/tinymce/plugins/spellchecker/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/tabfocus/plugin.js +96 -391
- data/assets/_vendor/tinymce/plugins/tabfocus/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/table/plugin.js +9537 -14920
- data/assets/_vendor/tinymce/plugins/table/plugin.min.js +1 -5
- data/assets/_vendor/tinymce/plugins/template/plugin.js +309 -771
- data/assets/_vendor/tinymce/plugins/template/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/textcolor/plugin.js +319 -592
- data/assets/_vendor/tinymce/plugins/textcolor/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/textpattern/plugin.js +326 -674
- data/assets/_vendor/tinymce/plugins/textpattern/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/toc/plugin.js +199 -530
- data/assets/_vendor/tinymce/plugins/toc/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/visualblocks/plugin.js +112 -436
- data/assets/_vendor/tinymce/plugins/visualblocks/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/visualchars/plugin.js +428 -1248
- data/assets/_vendor/tinymce/plugins/visualchars/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/wordcount/plugin.js +307 -699
- data/assets/_vendor/tinymce/plugins/wordcount/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/skins/lightgray/content.inline.min.css +1 -1
- data/assets/_vendor/tinymce/skins/lightgray/content.min.css +1 -1
- data/assets/_vendor/tinymce/skins/lightgray/fonts/tinymce.eot +0 -0
- data/assets/_vendor/tinymce/skins/lightgray/fonts/tinymce.svg +1 -1
- data/assets/_vendor/tinymce/skins/lightgray/fonts/tinymce.ttf +0 -0
- data/assets/_vendor/tinymce/skins/lightgray/fonts/tinymce.woff +0 -0
- data/assets/_vendor/tinymce/skins/lightgray/skin.min.css +1 -1
- data/assets/_vendor/tinymce/skins/lightgray/skin.mobile.min.css +1 -1
- data/assets/_vendor/tinymce/themes/inlite/theme.js +9693 -18245
- data/assets/_vendor/tinymce/themes/inlite/theme.min.js +1 -5
- data/assets/_vendor/tinymce/themes/mobile/theme.js +12629 -22467
- data/assets/_vendor/tinymce/themes/mobile/theme.min.js +1 -8
- data/assets/_vendor/tinymce/themes/modern/theme.js +9510 -17780
- data/assets/_vendor/tinymce/themes/modern/theme.min.js +1 -5
- data/assets/_vendor/tinymce/tinymce.js +25087 -42606
- data/assets/_vendor/yoastseo/css/_icons.scss +7 -7
- data/assets/_vendor/yoastseo/css/_snippet-editor.scss +1 -1
- data/assets/bedrock/js/bedrock.js +1 -71697
- data/assets/bedrock/scss/_bedrock-components.scss +20 -0
- data/assets/bedrock/scss/_bedrock-settings.scss +12 -4
- data/assets/bedrock/scss/_foundation-settings.scss +4 -2
- data/assets/bedrock/scss/components/ace-editor.scss +21 -0
- data/assets/bedrock/scss/components/attachments-grid.scss +18 -15
- data/assets/bedrock/scss/components/date-picker.scss +146 -0
- data/assets/bedrock/scss/components/dropzone-upload.scss +7 -0
- data/assets/bedrock/scss/components/file-input.scss +7 -0
- data/assets/bedrock/scss/components/file-preview.scss +36 -0
- data/assets/bedrock/scss/components/frame-embed.scss +23 -0
- data/assets/bedrock/scss/components/global.scss +27 -0
- data/assets/bedrock/scss/components/helper-classes.scss +1 -0
- data/assets/bedrock/scss/components/icon-box.scss +38 -0
- data/assets/bedrock/scss/components/item-list.scss +66 -0
- data/assets/bedrock/scss/components/lists.scss +58 -0
- data/assets/bedrock/scss/components/off-canvas-menu.scss +27 -15
- data/assets/bedrock/scss/components/place-autocomplete.scss +90 -0
- data/assets/bedrock/scss/components/rrule-generator.scss +102 -0
- data/assets/bedrock/scss/components/rrule-reveal.scss +14 -0
- data/assets/bedrock/scss/components/select-box.scss +1 -0
- data/assets/bedrock/scss/components/seo-analysis.scss +5 -0
- data/assets/bedrock/scss/components/textarea.scss +14 -2
- data/assets/bedrock/scss/components/tiny-mce-editor.scss +5 -16
- data/lib/bedrock_sass.rb +5 -0
- data/lib/bedrock_sass/version.rb +1 -1
- data/lib/tasks/before_assets_precompile.rake +1 -0
- metadata +395 -4
- data/CODE_OF_CONDUCT.md +0 -74
@@ -0,0 +1,703 @@
|
|
1
|
+
define("ace/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function(require, exports, module) {
|
2
|
+
"use strict";
|
3
|
+
|
4
|
+
var oop = require("../lib/oop");
|
5
|
+
var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
|
6
|
+
|
7
|
+
var DocCommentHighlightRules = function() {
|
8
|
+
this.$rules = {
|
9
|
+
"start" : [ {
|
10
|
+
token : "comment.doc.tag",
|
11
|
+
regex : "@[\\w\\d_]+" // TODO: fix email addresses
|
12
|
+
},
|
13
|
+
DocCommentHighlightRules.getTagRule(),
|
14
|
+
{
|
15
|
+
defaultToken : "comment.doc",
|
16
|
+
caseInsensitive: true
|
17
|
+
}]
|
18
|
+
};
|
19
|
+
};
|
20
|
+
|
21
|
+
oop.inherits(DocCommentHighlightRules, TextHighlightRules);
|
22
|
+
|
23
|
+
DocCommentHighlightRules.getTagRule = function(start) {
|
24
|
+
return {
|
25
|
+
token : "comment.doc.tag.storage.type",
|
26
|
+
regex : "\\b(?:TODO|FIXME|XXX|HACK)\\b"
|
27
|
+
};
|
28
|
+
};
|
29
|
+
|
30
|
+
DocCommentHighlightRules.getStartRule = function(start) {
|
31
|
+
return {
|
32
|
+
token : "comment.doc", // doc comment
|
33
|
+
regex : "\\/\\*(?=\\*)",
|
34
|
+
next : start
|
35
|
+
};
|
36
|
+
};
|
37
|
+
|
38
|
+
DocCommentHighlightRules.getEndRule = function (start) {
|
39
|
+
return {
|
40
|
+
token : "comment.doc", // closing comment
|
41
|
+
regex : "\\*\\/",
|
42
|
+
next : start
|
43
|
+
};
|
44
|
+
};
|
45
|
+
|
46
|
+
|
47
|
+
exports.DocCommentHighlightRules = DocCommentHighlightRules;
|
48
|
+
|
49
|
+
});
|
50
|
+
|
51
|
+
define("ace/mode/c_cpp_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/doc_comment_highlight_rules","ace/mode/text_highlight_rules"], function(require, exports, module) {
|
52
|
+
"use strict";
|
53
|
+
|
54
|
+
var oop = require("../lib/oop");
|
55
|
+
var DocCommentHighlightRules = require("./doc_comment_highlight_rules").DocCommentHighlightRules;
|
56
|
+
var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
|
57
|
+
var cFunctions = exports.cFunctions = "\\b(?:hypot(?:f|l)?|s(?:scanf|ystem|nprintf|ca(?:nf|lb(?:n(?:f|l)?|ln(?:f|l)?))|i(?:n(?:h(?:f|l)?|f|l)?|gn(?:al|bit))|tr(?:s(?:tr|pn)|nc(?:py|at|mp)|c(?:spn|hr|oll|py|at|mp)|to(?:imax|d|u(?:l(?:l)?|max)|k|f|l(?:d|l)?)|error|pbrk|ftime|len|rchr|xfrm)|printf|et(?:jmp|vbuf|locale|buf)|qrt(?:f|l)?|w(?:scanf|printf)|rand)|n(?:e(?:arbyint(?:f|l)?|xt(?:toward(?:f|l)?|after(?:f|l)?))|an(?:f|l)?)|c(?:s(?:in(?:h(?:f|l)?|f|l)?|qrt(?:f|l)?)|cos(?:h(?:f)?|f|l)?|imag(?:f|l)?|t(?:ime|an(?:h(?:f|l)?|f|l)?)|o(?:s(?:h(?:f|l)?|f|l)?|nj(?:f|l)?|pysign(?:f|l)?)|p(?:ow(?:f|l)?|roj(?:f|l)?)|e(?:il(?:f|l)?|xp(?:f|l)?)|l(?:o(?:ck|g(?:f|l)?)|earerr)|a(?:sin(?:h(?:f|l)?|f|l)?|cos(?:h(?:f|l)?|f|l)?|tan(?:h(?:f|l)?|f|l)?|lloc|rg(?:f|l)?|bs(?:f|l)?)|real(?:f|l)?|brt(?:f|l)?)|t(?:ime|o(?:upper|lower)|an(?:h(?:f|l)?|f|l)?|runc(?:f|l)?|gamma(?:f|l)?|mp(?:nam|file))|i(?:s(?:space|n(?:ormal|an)|cntrl|inf|digit|u(?:nordered|pper)|p(?:unct|rint)|finite|w(?:space|c(?:ntrl|type)|digit|upper|p(?:unct|rint)|lower|al(?:num|pha)|graph|xdigit|blank)|l(?:ower|ess(?:equal|greater)?)|al(?:num|pha)|gr(?:eater(?:equal)?|aph)|xdigit|blank)|logb(?:f|l)?|max(?:div|abs))|di(?:v|fftime)|_Exit|unget(?:c|wc)|p(?:ow(?:f|l)?|ut(?:s|c(?:har)?|wc(?:har)?)|error|rintf)|e(?:rf(?:c(?:f|l)?|f|l)?|x(?:it|p(?:2(?:f|l)?|f|l|m1(?:f|l)?)?))|v(?:s(?:scanf|nprintf|canf|printf|w(?:scanf|printf))|printf|f(?:scanf|printf|w(?:scanf|printf))|w(?:scanf|printf)|a_(?:start|copy|end|arg))|qsort|f(?:s(?:canf|e(?:tpos|ek))|close|tell|open|dim(?:f|l)?|p(?:classify|ut(?:s|c|w(?:s|c))|rintf)|e(?:holdexcept|set(?:e(?:nv|xceptflag)|round)|clearexcept|testexcept|of|updateenv|r(?:aiseexcept|ror)|get(?:e(?:nv|xceptflag)|round))|flush|w(?:scanf|ide|printf|rite)|loor(?:f|l)?|abs(?:f|l)?|get(?:s|c|pos|w(?:s|c))|re(?:open|e|ad|xp(?:f|l)?)|m(?:in(?:f|l)?|od(?:f|l)?|a(?:f|l|x(?:f|l)?)?))|l(?:d(?:iv|exp(?:f|l)?)|o(?:ngjmp|cal(?:time|econv)|g(?:1(?:p(?:f|l)?|0(?:f|l)?)|2(?:f|l)?|f|l|b(?:f|l)?)?)|abs|l(?:div|abs|r(?:int(?:f|l)?|ound(?:f|l)?))|r(?:int(?:f|l)?|ound(?:f|l)?)|gamma(?:f|l)?)|w(?:scanf|c(?:s(?:s(?:tr|pn)|nc(?:py|at|mp)|c(?:spn|hr|oll|py|at|mp)|to(?:imax|d|u(?:l(?:l)?|max)|k|f|l(?:d|l)?|mbs)|pbrk|ftime|len|r(?:chr|tombs)|xfrm)|to(?:b|mb)|rtomb)|printf|mem(?:set|c(?:hr|py|mp)|move))|a(?:s(?:sert|ctime|in(?:h(?:f|l)?|f|l)?)|cos(?:h(?:f|l)?|f|l)?|t(?:o(?:i|f|l(?:l)?)|exit|an(?:h(?:f|l)?|2(?:f|l)?|f|l)?)|b(?:s|ort))|g(?:et(?:s|c(?:har)?|env|wc(?:har)?)|mtime)|r(?:int(?:f|l)?|ound(?:f|l)?|e(?:name|alloc|wind|m(?:ove|quo(?:f|l)?|ainder(?:f|l)?))|a(?:nd|ise))|b(?:search|towc)|m(?:odf(?:f|l)?|em(?:set|c(?:hr|py|mp)|move)|ktime|alloc|b(?:s(?:init|towcs|rtowcs)|towc|len|r(?:towc|len))))\\b";
|
58
|
+
|
59
|
+
var c_cppHighlightRules = function() {
|
60
|
+
|
61
|
+
var keywordControls = (
|
62
|
+
"break|case|continue|default|do|else|for|goto|if|_Pragma|" +
|
63
|
+
"return|switch|while|catch|operator|try|throw|using"
|
64
|
+
);
|
65
|
+
|
66
|
+
var storageType = (
|
67
|
+
"asm|__asm__|auto|bool|_Bool|char|_Complex|double|enum|float|" +
|
68
|
+
"_Imaginary|int|long|short|signed|struct|typedef|union|unsigned|void|" +
|
69
|
+
"class|wchar_t|template|char16_t|char32_t"
|
70
|
+
);
|
71
|
+
|
72
|
+
var storageModifiers = (
|
73
|
+
"const|extern|register|restrict|static|volatile|inline|private|" +
|
74
|
+
"protected|public|friend|explicit|virtual|export|mutable|typename|" +
|
75
|
+
"constexpr|new|delete|alignas|alignof|decltype|noexcept|thread_local"
|
76
|
+
);
|
77
|
+
|
78
|
+
var keywordOperators = (
|
79
|
+
"and|and_eq|bitand|bitor|compl|not|not_eq|or|or_eq|typeid|xor|xor_eq|" +
|
80
|
+
"const_cast|dynamic_cast|reinterpret_cast|static_cast|sizeof|namespace"
|
81
|
+
);
|
82
|
+
|
83
|
+
var builtinConstants = (
|
84
|
+
"NULL|true|false|TRUE|FALSE|nullptr"
|
85
|
+
);
|
86
|
+
|
87
|
+
var keywordMapper = this.$keywords = this.createKeywordMapper({
|
88
|
+
"keyword.control" : keywordControls,
|
89
|
+
"storage.type" : storageType,
|
90
|
+
"storage.modifier" : storageModifiers,
|
91
|
+
"keyword.operator" : keywordOperators,
|
92
|
+
"variable.language": "this",
|
93
|
+
"constant.language": builtinConstants
|
94
|
+
}, "identifier");
|
95
|
+
|
96
|
+
var identifierRe = "[a-zA-Z\\$_\u00a1-\uffff][a-zA-Z\\d\\$_\u00a1-\uffff]*\\b";
|
97
|
+
var escapeRe = /\\(?:['"?\\abfnrtv]|[0-7]{1,3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}U[a-fA-F\d]{8}|.)/.source;
|
98
|
+
var formatRe = "%"
|
99
|
+
+ /(\d+\$)?/.source // field (argument #)
|
100
|
+
+ /[#0\- +']*/.source // flags
|
101
|
+
+ /[,;:_]?/.source // separator character (AltiVec)
|
102
|
+
+ /((-?\d+)|\*(-?\d+\$)?)?/.source // minimum field width
|
103
|
+
+ /(\.((-?\d+)|\*(-?\d+\$)?)?)?/.source // precision
|
104
|
+
+ /(hh|h|ll|l|j|t|z|q|L|vh|vl|v|hv|hl)?/.source // length modifier
|
105
|
+
+ /(\[[^"\]]+\]|[diouxXDOUeEfFgGaACcSspn%])/.source; // conversion type
|
106
|
+
this.$rules = {
|
107
|
+
"start" : [
|
108
|
+
{
|
109
|
+
token : "comment",
|
110
|
+
regex : "//$",
|
111
|
+
next : "start"
|
112
|
+
}, {
|
113
|
+
token : "comment",
|
114
|
+
regex : "//",
|
115
|
+
next : "singleLineComment"
|
116
|
+
},
|
117
|
+
DocCommentHighlightRules.getStartRule("doc-start"),
|
118
|
+
{
|
119
|
+
token : "comment", // multi line comment
|
120
|
+
regex : "\\/\\*",
|
121
|
+
next : "comment"
|
122
|
+
}, {
|
123
|
+
token : "string", // character
|
124
|
+
regex : "'(?:" + escapeRe + "|.)?'"
|
125
|
+
}, {
|
126
|
+
token : "string.start",
|
127
|
+
regex : '"',
|
128
|
+
stateName: "qqstring",
|
129
|
+
next: [
|
130
|
+
{ token: "string", regex: /\\\s*$/, next: "qqstring" },
|
131
|
+
{ token: "constant.language.escape", regex: escapeRe },
|
132
|
+
{ token: "constant.language.escape", regex: formatRe },
|
133
|
+
{ token: "string.end", regex: '"|$', next: "start" },
|
134
|
+
{ defaultToken: "string"}
|
135
|
+
]
|
136
|
+
}, {
|
137
|
+
token : "string.start",
|
138
|
+
regex : 'R"\\(',
|
139
|
+
stateName: "rawString",
|
140
|
+
next: [
|
141
|
+
{ token: "string.end", regex: '\\)"', next: "start" },
|
142
|
+
{ defaultToken: "string"}
|
143
|
+
]
|
144
|
+
}, {
|
145
|
+
token : "constant.numeric", // hex
|
146
|
+
regex : "0[xX][0-9a-fA-F]+(L|l|UL|ul|u|U|F|f|ll|LL|ull|ULL)?\\b"
|
147
|
+
}, {
|
148
|
+
token : "constant.numeric", // float
|
149
|
+
regex : "[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?(L|l|UL|ul|u|U|F|f|ll|LL|ull|ULL)?\\b"
|
150
|
+
}, {
|
151
|
+
token : "keyword", // pre-compiler directives
|
152
|
+
regex : "#\\s*(?:include|import|pragma|line|define|undef)\\b",
|
153
|
+
next : "directive"
|
154
|
+
}, {
|
155
|
+
token : "keyword", // special case pre-compiler directive
|
156
|
+
regex : "#\\s*(?:endif|if|ifdef|else|elif|ifndef)\\b"
|
157
|
+
}, {
|
158
|
+
token : "support.function.C99.c",
|
159
|
+
regex : cFunctions
|
160
|
+
}, {
|
161
|
+
token : keywordMapper,
|
162
|
+
regex : "[a-zA-Z_$][a-zA-Z0-9_$]*"
|
163
|
+
}, {
|
164
|
+
token : "keyword.operator",
|
165
|
+
regex : /--|\+\+|<<=|>>=|>>>=|<>|&&|\|\||\?:|[*%\/+\-&\^|~!<>=]=?/
|
166
|
+
}, {
|
167
|
+
token : "punctuation.operator",
|
168
|
+
regex : "\\?|\\:|\\,|\\;|\\."
|
169
|
+
}, {
|
170
|
+
token : "paren.lparen",
|
171
|
+
regex : "[[({]"
|
172
|
+
}, {
|
173
|
+
token : "paren.rparen",
|
174
|
+
regex : "[\\])}]"
|
175
|
+
}, {
|
176
|
+
token : "text",
|
177
|
+
regex : "\\s+"
|
178
|
+
}
|
179
|
+
],
|
180
|
+
"comment" : [
|
181
|
+
{
|
182
|
+
token : "comment", // closing comment
|
183
|
+
regex : "\\*\\/",
|
184
|
+
next : "start"
|
185
|
+
}, {
|
186
|
+
defaultToken : "comment"
|
187
|
+
}
|
188
|
+
],
|
189
|
+
"singleLineComment" : [
|
190
|
+
{
|
191
|
+
token : "comment",
|
192
|
+
regex : /\\$/,
|
193
|
+
next : "singleLineComment"
|
194
|
+
}, {
|
195
|
+
token : "comment",
|
196
|
+
regex : /$/,
|
197
|
+
next : "start"
|
198
|
+
}, {
|
199
|
+
defaultToken: "comment"
|
200
|
+
}
|
201
|
+
],
|
202
|
+
"directive" : [
|
203
|
+
{
|
204
|
+
token : "constant.other.multiline",
|
205
|
+
regex : /\\/
|
206
|
+
},
|
207
|
+
{
|
208
|
+
token : "constant.other.multiline",
|
209
|
+
regex : /.*\\/
|
210
|
+
},
|
211
|
+
{
|
212
|
+
token : "constant.other",
|
213
|
+
regex : "\\s*<.+?>",
|
214
|
+
next : "start"
|
215
|
+
},
|
216
|
+
{
|
217
|
+
token : "constant.other", // single line
|
218
|
+
regex : '\\s*["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]',
|
219
|
+
next : "start"
|
220
|
+
},
|
221
|
+
{
|
222
|
+
token : "constant.other", // single line
|
223
|
+
regex : "\\s*['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']",
|
224
|
+
next : "start"
|
225
|
+
},
|
226
|
+
{
|
227
|
+
token : "constant.other",
|
228
|
+
regex : /[^\\\/]+/,
|
229
|
+
next : "start"
|
230
|
+
}
|
231
|
+
]
|
232
|
+
};
|
233
|
+
|
234
|
+
this.embedRules(DocCommentHighlightRules, "doc-",
|
235
|
+
[ DocCommentHighlightRules.getEndRule("start") ]);
|
236
|
+
this.normalizeRules();
|
237
|
+
};
|
238
|
+
|
239
|
+
oop.inherits(c_cppHighlightRules, TextHighlightRules);
|
240
|
+
|
241
|
+
exports.c_cppHighlightRules = c_cppHighlightRules;
|
242
|
+
});
|
243
|
+
|
244
|
+
define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"], function(require, exports, module) {
|
245
|
+
"use strict";
|
246
|
+
|
247
|
+
var Range = require("../range").Range;
|
248
|
+
|
249
|
+
var MatchingBraceOutdent = function() {};
|
250
|
+
|
251
|
+
(function() {
|
252
|
+
|
253
|
+
this.checkOutdent = function(line, input) {
|
254
|
+
if (! /^\s+$/.test(line))
|
255
|
+
return false;
|
256
|
+
|
257
|
+
return /^\s*\}/.test(input);
|
258
|
+
};
|
259
|
+
|
260
|
+
this.autoOutdent = function(doc, row) {
|
261
|
+
var line = doc.getLine(row);
|
262
|
+
var match = line.match(/^(\s*\})/);
|
263
|
+
|
264
|
+
if (!match) return 0;
|
265
|
+
|
266
|
+
var column = match[1].length;
|
267
|
+
var openBracePos = doc.findMatchingBracket({row: row, column: column});
|
268
|
+
|
269
|
+
if (!openBracePos || openBracePos.row == row) return 0;
|
270
|
+
|
271
|
+
var indent = this.$getIndent(doc.getLine(openBracePos.row));
|
272
|
+
doc.replace(new Range(row, 0, row, column-1), indent);
|
273
|
+
};
|
274
|
+
|
275
|
+
this.$getIndent = function(line) {
|
276
|
+
return line.match(/^\s*/)[0];
|
277
|
+
};
|
278
|
+
|
279
|
+
}).call(MatchingBraceOutdent.prototype);
|
280
|
+
|
281
|
+
exports.MatchingBraceOutdent = MatchingBraceOutdent;
|
282
|
+
});
|
283
|
+
|
284
|
+
define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"], function(require, exports, module) {
|
285
|
+
"use strict";
|
286
|
+
|
287
|
+
var oop = require("../../lib/oop");
|
288
|
+
var Range = require("../../range").Range;
|
289
|
+
var BaseFoldMode = require("./fold_mode").FoldMode;
|
290
|
+
|
291
|
+
var FoldMode = exports.FoldMode = function(commentRegex) {
|
292
|
+
if (commentRegex) {
|
293
|
+
this.foldingStartMarker = new RegExp(
|
294
|
+
this.foldingStartMarker.source.replace(/\|[^|]*?$/, "|" + commentRegex.start)
|
295
|
+
);
|
296
|
+
this.foldingStopMarker = new RegExp(
|
297
|
+
this.foldingStopMarker.source.replace(/\|[^|]*?$/, "|" + commentRegex.end)
|
298
|
+
);
|
299
|
+
}
|
300
|
+
};
|
301
|
+
oop.inherits(FoldMode, BaseFoldMode);
|
302
|
+
|
303
|
+
(function() {
|
304
|
+
|
305
|
+
this.foldingStartMarker = /([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/;
|
306
|
+
this.foldingStopMarker = /^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/;
|
307
|
+
this.singleLineBlockCommentRe= /^\s*(\/\*).*\*\/\s*$/;
|
308
|
+
this.tripleStarBlockCommentRe = /^\s*(\/\*\*\*).*\*\/\s*$/;
|
309
|
+
this.startRegionRe = /^\s*(\/\*|\/\/)#?region\b/;
|
310
|
+
this._getFoldWidgetBase = this.getFoldWidget;
|
311
|
+
this.getFoldWidget = function(session, foldStyle, row) {
|
312
|
+
var line = session.getLine(row);
|
313
|
+
|
314
|
+
if (this.singleLineBlockCommentRe.test(line)) {
|
315
|
+
if (!this.startRegionRe.test(line) && !this.tripleStarBlockCommentRe.test(line))
|
316
|
+
return "";
|
317
|
+
}
|
318
|
+
|
319
|
+
var fw = this._getFoldWidgetBase(session, foldStyle, row);
|
320
|
+
|
321
|
+
if (!fw && this.startRegionRe.test(line))
|
322
|
+
return "start"; // lineCommentRegionStart
|
323
|
+
|
324
|
+
return fw;
|
325
|
+
};
|
326
|
+
|
327
|
+
this.getFoldWidgetRange = function(session, foldStyle, row, forceMultiline) {
|
328
|
+
var line = session.getLine(row);
|
329
|
+
|
330
|
+
if (this.startRegionRe.test(line))
|
331
|
+
return this.getCommentRegionBlock(session, line, row);
|
332
|
+
|
333
|
+
var match = line.match(this.foldingStartMarker);
|
334
|
+
if (match) {
|
335
|
+
var i = match.index;
|
336
|
+
|
337
|
+
if (match[1])
|
338
|
+
return this.openingBracketBlock(session, match[1], row, i);
|
339
|
+
|
340
|
+
var range = session.getCommentFoldRange(row, i + match[0].length, 1);
|
341
|
+
|
342
|
+
if (range && !range.isMultiLine()) {
|
343
|
+
if (forceMultiline) {
|
344
|
+
range = this.getSectionRange(session, row);
|
345
|
+
} else if (foldStyle != "all")
|
346
|
+
range = null;
|
347
|
+
}
|
348
|
+
|
349
|
+
return range;
|
350
|
+
}
|
351
|
+
|
352
|
+
if (foldStyle === "markbegin")
|
353
|
+
return;
|
354
|
+
|
355
|
+
var match = line.match(this.foldingStopMarker);
|
356
|
+
if (match) {
|
357
|
+
var i = match.index + match[0].length;
|
358
|
+
|
359
|
+
if (match[1])
|
360
|
+
return this.closingBracketBlock(session, match[1], row, i);
|
361
|
+
|
362
|
+
return session.getCommentFoldRange(row, i, -1);
|
363
|
+
}
|
364
|
+
};
|
365
|
+
|
366
|
+
this.getSectionRange = function(session, row) {
|
367
|
+
var line = session.getLine(row);
|
368
|
+
var startIndent = line.search(/\S/);
|
369
|
+
var startRow = row;
|
370
|
+
var startColumn = line.length;
|
371
|
+
row = row + 1;
|
372
|
+
var endRow = row;
|
373
|
+
var maxRow = session.getLength();
|
374
|
+
while (++row < maxRow) {
|
375
|
+
line = session.getLine(row);
|
376
|
+
var indent = line.search(/\S/);
|
377
|
+
if (indent === -1)
|
378
|
+
continue;
|
379
|
+
if (startIndent > indent)
|
380
|
+
break;
|
381
|
+
var subRange = this.getFoldWidgetRange(session, "all", row);
|
382
|
+
|
383
|
+
if (subRange) {
|
384
|
+
if (subRange.start.row <= startRow) {
|
385
|
+
break;
|
386
|
+
} else if (subRange.isMultiLine()) {
|
387
|
+
row = subRange.end.row;
|
388
|
+
} else if (startIndent == indent) {
|
389
|
+
break;
|
390
|
+
}
|
391
|
+
}
|
392
|
+
endRow = row;
|
393
|
+
}
|
394
|
+
|
395
|
+
return new Range(startRow, startColumn, endRow, session.getLine(endRow).length);
|
396
|
+
};
|
397
|
+
this.getCommentRegionBlock = function(session, line, row) {
|
398
|
+
var startColumn = line.search(/\s*$/);
|
399
|
+
var maxRow = session.getLength();
|
400
|
+
var startRow = row;
|
401
|
+
|
402
|
+
var re = /^\s*(?:\/\*|\/\/|--)#?(end)?region\b/;
|
403
|
+
var depth = 1;
|
404
|
+
while (++row < maxRow) {
|
405
|
+
line = session.getLine(row);
|
406
|
+
var m = re.exec(line);
|
407
|
+
if (!m) continue;
|
408
|
+
if (m[1]) depth--;
|
409
|
+
else depth++;
|
410
|
+
|
411
|
+
if (!depth) break;
|
412
|
+
}
|
413
|
+
|
414
|
+
var endRow = row;
|
415
|
+
if (endRow > startRow) {
|
416
|
+
return new Range(startRow, startColumn, endRow, line.length);
|
417
|
+
}
|
418
|
+
};
|
419
|
+
|
420
|
+
}).call(FoldMode.prototype);
|
421
|
+
|
422
|
+
});
|
423
|
+
|
424
|
+
define("ace/mode/c_cpp",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/c_cpp_highlight_rules","ace/mode/matching_brace_outdent","ace/range","ace/mode/behaviour/cstyle","ace/mode/folding/cstyle"], function(require, exports, module) {
|
425
|
+
"use strict";
|
426
|
+
|
427
|
+
var oop = require("../lib/oop");
|
428
|
+
var TextMode = require("./text").Mode;
|
429
|
+
var c_cppHighlightRules = require("./c_cpp_highlight_rules").c_cppHighlightRules;
|
430
|
+
var MatchingBraceOutdent = require("./matching_brace_outdent").MatchingBraceOutdent;
|
431
|
+
var Range = require("../range").Range;
|
432
|
+
var CstyleBehaviour = require("./behaviour/cstyle").CstyleBehaviour;
|
433
|
+
var CStyleFoldMode = require("./folding/cstyle").FoldMode;
|
434
|
+
|
435
|
+
var Mode = function() {
|
436
|
+
this.HighlightRules = c_cppHighlightRules;
|
437
|
+
|
438
|
+
this.$outdent = new MatchingBraceOutdent();
|
439
|
+
this.$behaviour = new CstyleBehaviour();
|
440
|
+
|
441
|
+
this.foldingRules = new CStyleFoldMode();
|
442
|
+
};
|
443
|
+
oop.inherits(Mode, TextMode);
|
444
|
+
|
445
|
+
(function() {
|
446
|
+
|
447
|
+
this.lineCommentStart = "//";
|
448
|
+
this.blockComment = {start: "/*", end: "*/"};
|
449
|
+
|
450
|
+
this.getNextLineIndent = function(state, line, tab) {
|
451
|
+
var indent = this.$getIndent(line);
|
452
|
+
|
453
|
+
var tokenizedLine = this.getTokenizer().getLineTokens(line, state);
|
454
|
+
var tokens = tokenizedLine.tokens;
|
455
|
+
var endState = tokenizedLine.state;
|
456
|
+
|
457
|
+
if (tokens.length && tokens[tokens.length-1].type == "comment") {
|
458
|
+
return indent;
|
459
|
+
}
|
460
|
+
|
461
|
+
if (state == "start") {
|
462
|
+
var match = line.match(/^.*[\{\(\[]\s*$/);
|
463
|
+
if (match) {
|
464
|
+
indent += tab;
|
465
|
+
}
|
466
|
+
} else if (state == "doc-start") {
|
467
|
+
if (endState == "start") {
|
468
|
+
return "";
|
469
|
+
}
|
470
|
+
var match = line.match(/^\s*(\/?)\*/);
|
471
|
+
if (match) {
|
472
|
+
if (match[1]) {
|
473
|
+
indent += " ";
|
474
|
+
}
|
475
|
+
indent += "* ";
|
476
|
+
}
|
477
|
+
}
|
478
|
+
|
479
|
+
return indent;
|
480
|
+
};
|
481
|
+
|
482
|
+
this.checkOutdent = function(state, line, input) {
|
483
|
+
return this.$outdent.checkOutdent(line, input);
|
484
|
+
};
|
485
|
+
|
486
|
+
this.autoOutdent = function(state, doc, row) {
|
487
|
+
this.$outdent.autoOutdent(doc, row);
|
488
|
+
};
|
489
|
+
|
490
|
+
this.$id = "ace/mode/c_cpp";
|
491
|
+
}).call(Mode.prototype);
|
492
|
+
|
493
|
+
exports.Mode = Mode;
|
494
|
+
});
|
495
|
+
|
496
|
+
define("ace/mode/dart_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/doc_comment_highlight_rules","ace/mode/text_highlight_rules"], function(require, exports, module) {
|
497
|
+
"use strict";
|
498
|
+
|
499
|
+
var oop = require("../lib/oop");
|
500
|
+
var DocCommentHighlightRules = require("./doc_comment_highlight_rules").DocCommentHighlightRules;
|
501
|
+
var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
|
502
|
+
|
503
|
+
var DartHighlightRules = function() {
|
504
|
+
|
505
|
+
var constantLanguage = "true|false|null";
|
506
|
+
var variableLanguage = "this|super";
|
507
|
+
var keywordControl = "try|catch|finally|throw|rethrow|assert|break|case|continue|default|do|else|for|if|in|return|switch|while|new|deferred|async|await";
|
508
|
+
var keywordDeclaration = "abstract|class|extends|external|factory|implements|get|native|operator|set|typedef|with|enum";
|
509
|
+
var storageModifier = "static|final|const";
|
510
|
+
var storageType = "void|bool|num|int|double|dynamic|var|String";
|
511
|
+
|
512
|
+
var keywordMapper = this.createKeywordMapper({
|
513
|
+
"constant.language.dart": constantLanguage,
|
514
|
+
"variable.language.dart": variableLanguage,
|
515
|
+
"keyword.control.dart": keywordControl,
|
516
|
+
"keyword.declaration.dart": keywordDeclaration,
|
517
|
+
"storage.modifier.dart": storageModifier,
|
518
|
+
"storage.type.primitive.dart": storageType
|
519
|
+
}, "identifier");
|
520
|
+
|
521
|
+
var stringfill = {
|
522
|
+
defaultToken : "string"
|
523
|
+
};
|
524
|
+
this.$rules =
|
525
|
+
{
|
526
|
+
"start": [
|
527
|
+
{
|
528
|
+
token : "comment",
|
529
|
+
regex : /\/\/.*$/
|
530
|
+
},
|
531
|
+
DocCommentHighlightRules.getStartRule("doc-start"),
|
532
|
+
{
|
533
|
+
token : "comment", // multi line comment
|
534
|
+
regex : /\/\*/,
|
535
|
+
next : "comment"
|
536
|
+
},
|
537
|
+
{
|
538
|
+
token: ["meta.preprocessor.script.dart"],
|
539
|
+
regex: "^(#!.*)$"
|
540
|
+
},
|
541
|
+
{
|
542
|
+
token: "keyword.other.import.dart",
|
543
|
+
regex: "(?:\\b)(?:library|import|export|part|of|show|hide)(?:\\b)"
|
544
|
+
},
|
545
|
+
{
|
546
|
+
token : ["keyword.other.import.dart", "text"],
|
547
|
+
regex : "(?:\\b)(prefix)(\\s*:)"
|
548
|
+
},
|
549
|
+
{
|
550
|
+
regex: "\\bas\\b",
|
551
|
+
token: "keyword.cast.dart"
|
552
|
+
},
|
553
|
+
{
|
554
|
+
regex: "\\?|:",
|
555
|
+
token: "keyword.control.ternary.dart"
|
556
|
+
},
|
557
|
+
{
|
558
|
+
regex: "(?:\\b)(is\\!?)(?:\\b)",
|
559
|
+
token: ["keyword.operator.dart"]
|
560
|
+
},
|
561
|
+
{
|
562
|
+
regex: "(<<|>>>?|~|\\^|\\||&)",
|
563
|
+
token: ["keyword.operator.bitwise.dart"]
|
564
|
+
},
|
565
|
+
{
|
566
|
+
regex: "((?:&|\\^|\\||<<|>>>?)=)",
|
567
|
+
token: ["keyword.operator.assignment.bitwise.dart"]
|
568
|
+
},
|
569
|
+
{
|
570
|
+
regex: "(===?|!==?|<=?|>=?)",
|
571
|
+
token: ["keyword.operator.comparison.dart"]
|
572
|
+
},
|
573
|
+
{
|
574
|
+
regex: "((?:[+*/%-]|\\~)=)",
|
575
|
+
token: ["keyword.operator.assignment.arithmetic.dart"]
|
576
|
+
},
|
577
|
+
{
|
578
|
+
regex: "=",
|
579
|
+
token: "keyword.operator.assignment.dart"
|
580
|
+
},
|
581
|
+
{
|
582
|
+
token : "string",
|
583
|
+
regex : "'''",
|
584
|
+
next : "qdoc"
|
585
|
+
},
|
586
|
+
{
|
587
|
+
token : "string",
|
588
|
+
regex : '"""',
|
589
|
+
next : "qqdoc"
|
590
|
+
},
|
591
|
+
{
|
592
|
+
token : "string",
|
593
|
+
regex : "'",
|
594
|
+
next : "qstring"
|
595
|
+
},
|
596
|
+
{
|
597
|
+
token : "string",
|
598
|
+
regex : '"',
|
599
|
+
next : "qqstring"
|
600
|
+
},
|
601
|
+
{
|
602
|
+
regex: "(\\-\\-|\\+\\+)",
|
603
|
+
token: ["keyword.operator.increment-decrement.dart"]
|
604
|
+
},
|
605
|
+
{
|
606
|
+
regex: "(\\-|\\+|\\*|\\/|\\~\\/|%)",
|
607
|
+
token: ["keyword.operator.arithmetic.dart"]
|
608
|
+
},
|
609
|
+
{
|
610
|
+
regex: "(!|&&|\\|\\|)",
|
611
|
+
token: ["keyword.operator.logical.dart"]
|
612
|
+
},
|
613
|
+
{
|
614
|
+
token : "constant.numeric", // hex
|
615
|
+
regex : "0[xX][0-9a-fA-F]+\\b"
|
616
|
+
},
|
617
|
+
{
|
618
|
+
token : "constant.numeric", // float
|
619
|
+
regex : "[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"
|
620
|
+
},
|
621
|
+
{
|
622
|
+
token : keywordMapper,
|
623
|
+
regex : "[a-zA-Z_$][a-zA-Z0-9_$]*\\b"
|
624
|
+
}
|
625
|
+
],
|
626
|
+
"comment" : [
|
627
|
+
{
|
628
|
+
token : "comment", // closing comment
|
629
|
+
regex : "\\*\\/",
|
630
|
+
next : "start"
|
631
|
+
}, {
|
632
|
+
defaultToken : "comment"
|
633
|
+
}
|
634
|
+
],
|
635
|
+
"qdoc" : [
|
636
|
+
{
|
637
|
+
token : "string",
|
638
|
+
regex : ".*?'''",
|
639
|
+
next : "start"
|
640
|
+
}, stringfill],
|
641
|
+
|
642
|
+
"qqdoc" : [
|
643
|
+
{
|
644
|
+
token : "string",
|
645
|
+
regex : '.*?"""',
|
646
|
+
next : "start"
|
647
|
+
}, stringfill],
|
648
|
+
|
649
|
+
"qstring" : [
|
650
|
+
{
|
651
|
+
token : "string",
|
652
|
+
regex : "[^\\\\']*(?:\\\\.[^\\\\']*)*'",
|
653
|
+
next : "start"
|
654
|
+
}, stringfill],
|
655
|
+
|
656
|
+
"qqstring" : [
|
657
|
+
{
|
658
|
+
token : "string",
|
659
|
+
regex : '[^\\\\"]*(?:\\\\.[^\\\\"]*)*"',
|
660
|
+
next : "start"
|
661
|
+
}, stringfill]
|
662
|
+
};
|
663
|
+
|
664
|
+
this.embedRules(DocCommentHighlightRules, "doc-",
|
665
|
+
[ DocCommentHighlightRules.getEndRule("start") ]);
|
666
|
+
};
|
667
|
+
|
668
|
+
oop.inherits(DartHighlightRules, TextHighlightRules);
|
669
|
+
|
670
|
+
exports.DartHighlightRules = DartHighlightRules;
|
671
|
+
});
|
672
|
+
|
673
|
+
define("ace/mode/dart",["require","exports","module","ace/lib/oop","ace/mode/c_cpp","ace/mode/dart_highlight_rules","ace/mode/folding/cstyle"], function(require, exports, module) {
|
674
|
+
"use strict";
|
675
|
+
|
676
|
+
var oop = require("../lib/oop");
|
677
|
+
var CMode = require("./c_cpp").Mode;
|
678
|
+
var DartHighlightRules = require("./dart_highlight_rules").DartHighlightRules;
|
679
|
+
var CStyleFoldMode = require("./folding/cstyle").FoldMode;
|
680
|
+
|
681
|
+
var Mode = function() {
|
682
|
+
CMode.call(this);
|
683
|
+
this.HighlightRules = DartHighlightRules;
|
684
|
+
this.foldingRules = new CStyleFoldMode();
|
685
|
+
};
|
686
|
+
oop.inherits(Mode, CMode);
|
687
|
+
|
688
|
+
(function() {
|
689
|
+
this.lineCommentStart = "//";
|
690
|
+
this.blockComment = {start: "/*", end: "*/"};
|
691
|
+
this.$id = "ace/mode/dart";
|
692
|
+
}).call(Mode.prototype);
|
693
|
+
|
694
|
+
exports.Mode = Mode;
|
695
|
+
});
|
696
|
+
(function() {
|
697
|
+
window.require(["ace/mode/dart"], function(m) {
|
698
|
+
if (typeof module == "object" && typeof exports == "object" && module) {
|
699
|
+
module.exports = m;
|
700
|
+
}
|
701
|
+
});
|
702
|
+
})();
|
703
|
+
|