├── .eslintignore
├── .eslintrc
├── .github
├── ISSUE_TEMPLATE
│ ├── add-to-website.yml
│ ├── bug-report.yml
│ ├── config.yml
│ ├── documentation.yml
│ └── feature-request.yml
├── PULL_REQUEST_TEMPLATE.md
└── workflows
│ ├── backwards-compatibility-commenter.yml
│ ├── close-stale-issues.yml
│ ├── issue-reprioritization.yml
│ ├── nodejs.yml
│ └── publish.yml
├── .gitignore
├── .gitmodules
├── .nojekyll
├── CHANGELOG.md
├── CNAME
├── CODE_OF_CONDUCT.md
├── CONTRIBUTING.md
├── LICENSE
├── Makefile
├── Makefile.dryice.js
├── Readme.md
├── _config.yml
├── ace-internal.d.ts
├── ace-modes.d.ts
├── ace.d.ts
├── amplify.yml
├── build_support
├── editor.html
└── mini_require.js
├── demo
├── autocompletion.html
├── autoresize.html
├── code_lens.html
├── csp.html
├── diff
│ ├── examples
│ │ ├── editor.16.js
│ │ ├── editor.17.js
│ │ └── editor.40.js
│ └── index.html
├── emmet.html
├── i18n.html
├── inline_autocompletion.html
├── keyboard_shortcuts.html
├── kitchen-sink
│ ├── demo.js
│ ├── dev_util.js
│ ├── doclist.js
│ ├── docs
│ │ ├── .gitignore
│ │ ├── Dockerfile
│ │ ├── Makefile
│ │ ├── abap.abap
│ │ ├── abc.abc
│ │ ├── actionscript.as
│ │ ├── ada.ada
│ │ ├── alda.alda
│ │ ├── apex.apex
│ │ ├── aql.aql
│ │ ├── asciidoc.asciidoc
│ │ ├── asl.dsl
│ │ ├── assembly_arm32.s
│ │ ├── assembly_x86.asm
│ │ ├── astro.astro
│ │ ├── autohotkey.ahk
│ │ ├── basic.bas
│ │ ├── batchfile.bat
│ │ ├── bibtex.bib
│ │ ├── c9search.c9search_results
│ │ ├── c_cpp.cpp
│ │ ├── cirru.cirru
│ │ ├── clojure.clj
│ │ ├── clue.clue
│ │ ├── cobol.CBL
│ │ ├── coffee.coffee
│ │ ├── coldfusion.cfm
│ │ ├── crystal.cr
│ │ ├── csharp.cs
│ │ ├── csound_document.csd
│ │ ├── csound_orchestra.orc
│ │ ├── csound_score.sco
│ │ ├── css.css
│ │ ├── csv.csv
│ │ ├── curly.curly
│ │ ├── cuttlefish.conf
│ │ ├── d.d
│ │ ├── dart.dart
│ │ ├── diff.diff
│ │ ├── django.djt
│ │ ├── dot.dot
│ │ ├── drools.drl
│ │ ├── edifact.edi
│ │ ├── eiffel.e
│ │ ├── ejs.ejs
│ │ ├── elixir.ex
│ │ ├── elm.elm
│ │ ├── erlang.erl
│ │ ├── flix.flix
│ │ ├── forth.frt
│ │ ├── fortran.f
│ │ ├── fsharp.fsi
│ │ ├── fsl.fsl
│ │ ├── ftl.ftl
│ │ ├── gcode.gcode
│ │ ├── gherkin.feature
│ │ ├── glsl.glsl
│ │ ├── gobstones.gbs
│ │ ├── golang.go
│ │ ├── graphqlschema.gql
│ │ ├── groovy.groovy
│ │ ├── haml.haml
│ │ ├── handlebars.hbs
│ │ ├── haskell.hs
│ │ ├── haskell_cabal.cabal
│ │ ├── haxe.hx
│ │ ├── hjson.hjson
│ │ ├── htaccess
│ │ ├── html.html
│ │ ├── html_elixir.eex
│ │ ├── html_ruby.erb
│ │ ├── ini.ini
│ │ ├── io.io
│ │ ├── ion.ion
│ │ ├── jack.jack
│ │ ├── jade.jade
│ │ ├── java.java
│ │ ├── javascript.js
│ │ ├── jexl.jexl
│ │ ├── json.json
│ │ ├── json5.json5
│ │ ├── jsoniq.jq
│ │ ├── jsp.jsp
│ │ ├── jssm.jssm
│ │ ├── jsx.jsx
│ │ ├── julia.jl
│ │ ├── kotlin.kt
│ │ ├── latex.tex
│ │ ├── latte.latte
│ │ ├── less.less
│ │ ├── liquid.liquid
│ │ ├── lisp.lisp
│ │ ├── livescript.ls
│ │ ├── logiql.logic
│ │ ├── logtalk.lgt
│ │ ├── lsl.lsl
│ │ ├── lua.lua
│ │ ├── luapage.lp
│ │ ├── lucene.lucene
│ │ ├── markdown.md
│ │ ├── mask.mask
│ │ ├── matlab.matlab
│ │ ├── maze.mz
│ │ ├── mediawiki.wiki
│ │ ├── mel.mel
│ │ ├── mips.s
│ │ ├── mixal.mixal
│ │ ├── mushcode.mc
│ │ ├── mysql.mysql
│ │ ├── nasal.nas
│ │ ├── nginx.nginx
│ │ ├── nim.nim
│ │ ├── nix.nix
│ │ ├── nsis.nsi
│ │ ├── nunjucks.nunjucks
│ │ ├── objectivec.m
│ │ ├── ocaml.ml
│ │ ├── odin.odin
│ │ ├── partiql.partiql
│ │ ├── pascal.pas
│ │ ├── perl.pl
│ │ ├── pgsql.pgsql
│ │ ├── php.php
│ │ ├── php_laravel_blade.blade.php
│ │ ├── pig.pig
│ │ ├── plaintext.txt
│ │ ├── plsql.plsql
│ │ ├── powershell.ps1
│ │ ├── praat.praat
│ │ ├── prisma.prisma
│ │ ├── prolog.plg
│ │ ├── properties.properties
│ │ ├── protobuf.proto
│ │ ├── prql.prql
│ │ ├── puppet.epp
│ │ ├── python.py
│ │ ├── qml.qml
│ │ ├── r.r
│ │ ├── raku.raku
│ │ ├── razor.cshtml
│ │ ├── rdoc.Rd
│ │ ├── red.red
│ │ ├── rhtml.Rhtml
│ │ ├── robot.robot
│ │ ├── rst.rst
│ │ ├── ruby.rb
│ │ ├── rust.rs
│ │ ├── sac.sac
│ │ ├── sass.sass
│ │ ├── scad.scad
│ │ ├── scala.scala
│ │ ├── scheme.scm
│ │ ├── scrypt.scrypt
│ │ ├── scss.scss
│ │ ├── sh.sh
│ │ ├── sjs.sjs
│ │ ├── slim.slim
│ │ ├── smarty.smarty
│ │ ├── smithy.smithy
│ │ ├── snippets.snippets
│ │ ├── soy_template.soy
│ │ ├── space.space
│ │ ├── sparql.rq
│ │ ├── sql.sql
│ │ ├── sqlserver.sqlserver
│ │ ├── stylus.styl
│ │ ├── svg.svg
│ │ ├── swift.swift
│ │ ├── tcl.tcl
│ │ ├── terraform.tf
│ │ ├── tex.tex
│ │ ├── text.txt
│ │ ├── textile.textile
│ │ ├── toml.toml
│ │ ├── tsv.tsv
│ │ ├── tsx.tsx
│ │ ├── turtle.ttl
│ │ ├── twig.twig
│ │ ├── typescript.ts
│ │ ├── vala.vala
│ │ ├── vbscript.vbs
│ │ ├── velocity.vm
│ │ ├── verilog.v
│ │ ├── vhdl.vhd
│ │ ├── visualforce.vfp
│ │ ├── vue.vue
│ │ ├── wollok.wlk
│ │ ├── xml.xml
│ │ ├── xquery.xq
│ │ ├── yaml.yaml
│ │ ├── zeek.zeek
│ │ └── zig.zig
│ ├── file_drop.js
│ ├── inline_editor.js
│ ├── layout.js
│ ├── logo.png
│ ├── require.js
│ ├── styles.css
│ ├── token_tooltip.js
│ └── util.js
├── modelist.html
├── r.js
│ ├── build.js
│ └── editor.html
├── requirejs+build.html
├── scrollable-page.html
├── settings_menu.html
├── shadow-dom.html
├── show_own_source.js
├── static-highlighter.html
├── static-highlighter
│ ├── client.html
│ └── server.js
├── statusbar.html
├── svg.svg
├── test_ace_builds
│ ├── index.ts
│ ├── package.json
│ └── tsconfig.json
├── test_package
│ ├── index.ts
│ ├── package.json
│ └── tsconfig.json
├── toolbar.html
├── transform.html
├── webpack
│ ├── demo.js
│ ├── demo.ts
│ ├── index.html
│ ├── package.json
│ └── webpack.config.js
└── xml.xml
├── doc
├── README.md
├── additionalObjs.json
├── build.js
├── index.md
├── package.json
├── site
│ ├── css
│ │ ├── bootstrap.no-icons.min.css
│ │ └── font-awesome.css
│ ├── images
│ │ ├── ace-logo.png
│ │ ├── ace-tab.png
│ │ ├── body_background.png
│ │ ├── cloud9-logo.png
│ │ ├── codecademy-logo.png
│ │ ├── codiad.png
│ │ ├── empty-logo.png
│ │ ├── favicon.ico
│ │ ├── fork_on_github.png
│ │ ├── habitat-logo.svg
│ │ ├── ideone-logo.png
│ │ ├── khan-logo.png
│ │ ├── logo.png
│ │ ├── logo_half.png
│ │ ├── modx-logo-4.png
│ │ ├── plunker.png
│ │ ├── rstudio_logo_64.png
│ │ ├── sassmeister-logo.png
│ │ ├── shiftedit-logo.png
│ │ ├── sx-logo.png
│ │ └── textimage.png
│ ├── iphone.css
│ ├── js
│ │ ├── bootstrap.min.js
│ │ ├── ga.js
│ │ ├── jquery.min.js
│ │ └── main.js
│ └── style.css
└── template
│ ├── jade
│ ├── common_layout.jade
│ ├── layout.jade
│ └── lib.jade
│ └── resources
│ ├── csses
│ └── ace_api.css
│ ├── font
│ ├── fontawesome-webfont.eot
│ ├── fontawesome-webfont.svg
│ ├── fontawesome-webfont.ttf
│ └── fontawesome-webfont.woff
│ ├── images
│ ├── Ace_ERD.png
│ ├── ace_logo.png
│ ├── ace_logo_menu.png
│ ├── c9-log-footer.png
│ ├── c9-sponsor.png
│ ├── cloud9-logo.png
│ ├── content-top.png
│ ├── content_bg.png
│ ├── content_top_bg.png
│ ├── dashed_back.png
│ ├── footer-bg.png
│ ├── main_bg.png
│ ├── member-sprites.png
│ ├── menu_disc.png
│ ├── method_bg.png
│ ├── scrolled-heading-shadow.png
│ ├── sidebar-top-bg.png
│ ├── sidebar_border.png
│ └── swirl_divider.png
│ └── javascripts
│ ├── bbq.js
│ ├── bootstrap.js
│ ├── clicker.js
│ ├── disqus-ext.js
│ ├── jquery-scrollspy.js
│ ├── jquery.collapse.js
│ ├── jquery.cookie.js
│ ├── plugins.js
│ ├── prettify-extension.js
│ ├── prettify.js
│ └── ux.js
├── experiments
├── animate_folding.html
├── basic_animation.html
├── capture.html
├── cut_copy.html
├── debug_mem_leak.html
├── dom.html
├── triple_click.html
├── worker.html
├── worker.js
└── zenbg.png
├── index.html
├── kitchen-sink.html
├── lib
└── ace
│ ├── loader_build.js
│ ├── mode
│ ├── _test
│ │ ├── tokens_jsoniq.json
│ │ └── tokens_xquery.json
│ ├── coffee
│ │ ├── coffee.js
│ │ └── parser_test.js
│ ├── coffee_worker.js
│ ├── css
│ │ └── csslint.js
│ ├── css_worker.js
│ ├── css_worker_test.js
│ ├── html
│ │ └── saxparser.js
│ ├── html_worker.js
│ ├── javascript
│ │ └── jshint.js
│ ├── javascript_worker.js
│ ├── javascript_worker_test.js
│ ├── json
│ │ └── json_parse.js
│ ├── json_worker.js
│ ├── json_worker_test.js
│ ├── jsoniq.js
│ ├── lua
│ │ └── luaparse.js
│ ├── lua_worker.js
│ ├── php
│ │ └── php.js
│ ├── php_worker.js
│ ├── xml
│ │ ├── dom-parser.js
│ │ ├── dom.js
│ │ └── sax.js
│ ├── xml_worker.js
│ ├── xquery.js
│ ├── xquery
│ │ ├── Readme.md
│ │ ├── jsoniq_lexer.js
│ │ ├── xqlint.js
│ │ └── xquery_lexer.js
│ ├── xquery_worker.js
│ ├── yaml
│ │ └── yaml-lint.js
│ ├── yaml_worker.js
│ └── yaml_worker_test.js
│ ├── snippets
│ ├── jsoniq.js
│ ├── jsoniq.snippets.js
│ ├── xquery.js
│ └── xquery.snippets.js
│ └── worker
│ ├── mirror.js
│ ├── worker.js
│ ├── worker_client.js
│ ├── worker_client_v2.js
│ ├── worker_test.js
│ └── worker_v2.js
├── package.json
├── src
├── ace.js
├── ace_test.js
├── anchor.js
├── anchor_test.js
├── apply_delta.js
├── autocomplete.js
├── autocomplete
│ ├── inline.js
│ ├── inline_screenreader.js
│ ├── inline_test.js
│ ├── popup.js
│ ├── popup_test.js
│ ├── text_completer.js
│ └── util.js
├── autocomplete_test.js
├── background_tokenizer.js
├── background_tokenizer_test.js
├── bidihandler.js
├── clipboard.js
├── commands
│ ├── command_manager.js
│ ├── command_manager_test.js
│ ├── default_commands.js
│ ├── incremental_search_commands.js
│ ├── multi_select_commands.js
│ └── occur_commands.js
├── config.js
├── config_test.js
├── css
│ ├── codefolding-fold-button-states.png
│ ├── editor-css.js
│ └── expand-marker.png
├── document.js
├── document_test.js
├── edit_session.js
├── edit_session
│ ├── bracket_match.js
│ ├── fold.js
│ ├── fold_line.js
│ └── folding.js
├── edit_session_test.js
├── editor.js
├── editor_change_document_test.js
├── editor_commands_test.js
├── editor_highlight_selected_word_test.js
├── editor_navigation_test.js
├── editor_options_test.js
├── editor_text_edit_test.js
├── ext
│ ├── beautify.js
│ ├── beautify_test.js
│ ├── code_lens.js
│ ├── code_lens_test.js
│ ├── command_bar.js
│ ├── command_bar_test.js
│ ├── diff
│ │ ├── base_diff_view.js
│ │ ├── diff_test.js
│ │ ├── diff_view.js
│ │ ├── gutter_decorator.js
│ │ ├── inline_diff_view.js
│ │ ├── providers
│ │ │ └── default.js
│ │ ├── scroll_diff_decorator.js
│ │ └── styles-css.js
│ ├── elastic_tabstops_lite.js
│ ├── emmet.js
│ ├── emmet_test.js
│ ├── error_marker.js
│ ├── error_marker_test.js
│ ├── hardwrap.js
│ ├── hardwrap_test.js
│ ├── inline_autocomplete.js
│ ├── inline_autocomplete_test.js
│ ├── keybinding_menu.js
│ ├── language_tools.js
│ ├── linking.js
│ ├── menu_tools
│ │ ├── get_editor_keyboard_shortcuts.js
│ │ ├── overlay_page.js
│ │ └── settings_menu.css.js
│ ├── modelist.js
│ ├── options.js
│ ├── prompt.js
│ ├── rtl.js
│ ├── searchbox-css.js
│ ├── searchbox.js
│ ├── settings_menu.js
│ ├── simple_tokenizer.js
│ ├── simple_tokenizer_test.js
│ ├── spellcheck.js
│ ├── split.js
│ ├── static-css.js
│ ├── static_highlight.js
│ ├── static_highlight_test.js
│ ├── statusbar.js
│ ├── textarea.js
│ ├── themelist.js
│ ├── whitespace.js
│ └── whitespace_test.js
├── incremental_search.js
├── incremental_search_test.js
├── keyboard
│ ├── emacs.js
│ ├── emacs_test.js
│ ├── gutter_handler.js
│ ├── gutter_handler_test.js
│ ├── hash_handler.js
│ ├── keybinding.js
│ ├── keybinding_test.js
│ ├── sublime.js
│ ├── sublime_test.js
│ ├── textarea.js
│ ├── textinput.js
│ ├── textinput_test.js
│ ├── vim.js
│ ├── vim_ace_test.js
│ ├── vim_test.js
│ └── vscode.js
├── layer
│ ├── cursor.js
│ ├── decorators.js
│ ├── font_metrics.js
│ ├── gutter.js
│ ├── gutter_test.js
│ ├── lines.js
│ ├── marker.js
│ ├── text.js
│ ├── text_test.js
│ └── text_util.js
├── lib
│ ├── app_config.js
│ ├── bidiutil.js
│ ├── deep_copy.js
│ ├── default_english_messages.js
│ ├── dom.js
│ ├── es6-shim.js
│ ├── event.js
│ ├── event_emitter.js
│ ├── event_emitter_test.js
│ ├── fixoldbrowsers.js
│ ├── keys.js
│ ├── lang.js
│ ├── net.js
│ ├── oop.js
│ ├── report_error.js
│ ├── scroll.js
│ └── useragent.js
├── line_widgets.js
├── marker_group.js
├── marker_group_test.js
├── mode
│ ├── _test
│ │ ├── Readme.md
│ │ ├── highlight_rules_test.js
│ │ ├── text_alda.txt
│ │ ├── text_asciidoc.txt
│ │ ├── text_coffee.txt
│ │ ├── text_coldfusion.txt
│ │ ├── text_curly.txt
│ │ ├── text_ejs.txt
│ │ ├── text_gobstones.txt
│ │ ├── text_html.txt
│ │ ├── text_javascript.txt
│ │ ├── text_livescript.txt
│ │ ├── text_lucene.txt
│ │ ├── text_markdown.txt
│ │ ├── text_php.txt
│ │ ├── text_prisma.txt
│ │ ├── text_ruby.txt
│ │ ├── text_rust.txt
│ │ ├── text_verilog.txt
│ │ ├── text_wollok.txt
│ │ ├── text_xml.txt
│ │ ├── text_yaml.txt
│ │ ├── tokens_abap.json
│ │ ├── tokens_abc.json
│ │ ├── tokens_actionscript.json
│ │ ├── tokens_ada.json
│ │ ├── tokens_alda.json
│ │ ├── tokens_apex.json
│ │ ├── tokens_aql.json
│ │ ├── tokens_asciidoc.json
│ │ ├── tokens_asl.json
│ │ ├── tokens_assembly_x86.json
│ │ ├── tokens_autohotkey.json
│ │ ├── tokens_basic.json
│ │ ├── tokens_batchfile.json
│ │ ├── tokens_bibtex.json
│ │ ├── tokens_c9search.json
│ │ ├── tokens_c_cpp.json
│ │ ├── tokens_cirru.json
│ │ ├── tokens_clojure.json
│ │ ├── tokens_cobol.json
│ │ ├── tokens_coffee.json
│ │ ├── tokens_coldfusion.json
│ │ ├── tokens_crystal.json
│ │ ├── tokens_csharp.json
│ │ ├── tokens_csound_document.json
│ │ ├── tokens_csound_orchestra.json
│ │ ├── tokens_csound_score.json
│ │ ├── tokens_csp.json
│ │ ├── tokens_css.json
│ │ ├── tokens_csv.json
│ │ ├── tokens_curly.json
│ │ ├── tokens_d.json
│ │ ├── tokens_dart.json
│ │ ├── tokens_diff.json
│ │ ├── tokens_django.json
│ │ ├── tokens_dot.json
│ │ ├── tokens_drools.json
│ │ ├── tokens_edifact.json
│ │ ├── tokens_eiffel.json
│ │ ├── tokens_ejs.json
│ │ ├── tokens_elixir.json
│ │ ├── tokens_elm.json
│ │ ├── tokens_erlang.json
│ │ ├── tokens_flix.json
│ │ ├── tokens_forth.json
│ │ ├── tokens_fortran.json
│ │ ├── tokens_fsharp.json
│ │ ├── tokens_fsl.json
│ │ ├── tokens_ftl.json
│ │ ├── tokens_gcode.json
│ │ ├── tokens_gherkin.json
│ │ ├── tokens_gitignore.json
│ │ ├── tokens_glsl.json
│ │ ├── tokens_gobstones.json
│ │ ├── tokens_golang.json
│ │ ├── tokens_graphqlschema.json
│ │ ├── tokens_groovy.json
│ │ ├── tokens_haml.json
│ │ ├── tokens_handlebars.json
│ │ ├── tokens_haskell.json
│ │ ├── tokens_haskell_cabal.json
│ │ ├── tokens_haxe.json
│ │ ├── tokens_hjson.json
│ │ ├── tokens_html.json
│ │ ├── tokens_html_elixir.json
│ │ ├── tokens_html_ruby.json
│ │ ├── tokens_ini.json
│ │ ├── tokens_io.json
│ │ ├── tokens_ion.json
│ │ ├── tokens_jack.json
│ │ ├── tokens_jade.json
│ │ ├── tokens_java.json
│ │ ├── tokens_javascript.json
│ │ ├── tokens_jexl.json
│ │ ├── tokens_json.json
│ │ ├── tokens_json5.json
│ │ ├── tokens_jsp.json
│ │ ├── tokens_jssm.json
│ │ ├── tokens_jsx.json
│ │ ├── tokens_julia.json
│ │ ├── tokens_kotlin.json
│ │ ├── tokens_latex.json
│ │ ├── tokens_latte.json
│ │ ├── tokens_less.json
│ │ ├── tokens_liquid.json
│ │ ├── tokens_lisp.json
│ │ ├── tokens_livescript.json
│ │ ├── tokens_logiql.json
│ │ ├── tokens_logtalk.json
│ │ ├── tokens_lsl.json
│ │ ├── tokens_lua.json
│ │ ├── tokens_luapage.json
│ │ ├── tokens_lucene.json
│ │ ├── tokens_markdown.json
│ │ ├── tokens_mask.json
│ │ ├── tokens_matlab.json
│ │ ├── tokens_maze.json
│ │ ├── tokens_mediawiki.json
│ │ ├── tokens_mel.json
│ │ ├── tokens_mips.json
│ │ ├── tokens_mixal.json
│ │ ├── tokens_mushcode.json
│ │ ├── tokens_mysql.json
│ │ ├── tokens_nasal.json
│ │ ├── tokens_nginx.json
│ │ ├── tokens_nim.json
│ │ ├── tokens_nix.json
│ │ ├── tokens_nsis.json
│ │ ├── tokens_nunjucks.json
│ │ ├── tokens_objectivec.json
│ │ ├── tokens_ocaml.json
│ │ ├── tokens_odin.json
│ │ ├── tokens_partiql.json
│ │ ├── tokens_pascal.json
│ │ ├── tokens_perl.json
│ │ ├── tokens_pgsql.json
│ │ ├── tokens_php.json
│ │ ├── tokens_php_laravel_blade.json
│ │ ├── tokens_pig.json
│ │ ├── tokens_plsql.json
│ │ ├── tokens_powershell.json
│ │ ├── tokens_praat.json
│ │ ├── tokens_prisma.json
│ │ ├── tokens_prolog.json
│ │ ├── tokens_properties.json
│ │ ├── tokens_protobuf.json
│ │ ├── tokens_puppet.json
│ │ ├── tokens_python.json
│ │ ├── tokens_qml.json
│ │ ├── tokens_r.json
│ │ ├── tokens_raku.json
│ │ ├── tokens_razor.json
│ │ ├── tokens_rdoc.json
│ │ ├── tokens_red.json
│ │ ├── tokens_rhtml.json
│ │ ├── tokens_robot.json
│ │ ├── tokens_rst.json
│ │ ├── tokens_ruby.json
│ │ ├── tokens_rust.json
│ │ ├── tokens_sac.json
│ │ ├── tokens_sass.json
│ │ ├── tokens_scad.json
│ │ ├── tokens_scala.json
│ │ ├── tokens_scheme.json
│ │ ├── tokens_scrypt.json
│ │ ├── tokens_scss.json
│ │ ├── tokens_sh.json
│ │ ├── tokens_sjs.json
│ │ ├── tokens_slim.json
│ │ ├── tokens_smarty.json
│ │ ├── tokens_smithy.json
│ │ ├── tokens_snippets.json
│ │ ├── tokens_soy_template.json
│ │ ├── tokens_space.json
│ │ ├── tokens_sparql.json
│ │ ├── tokens_sql.json
│ │ ├── tokens_sqlserver.json
│ │ ├── tokens_stylus.json
│ │ ├── tokens_svg.json
│ │ ├── tokens_swift.json
│ │ ├── tokens_tcl.json
│ │ ├── tokens_terraform.json
│ │ ├── tokens_tex.json
│ │ ├── tokens_text.json
│ │ ├── tokens_textile.json
│ │ ├── tokens_toml.json
│ │ ├── tokens_tsv.json
│ │ ├── tokens_tsx.json
│ │ ├── tokens_turtle.json
│ │ ├── tokens_twig.json
│ │ ├── tokens_typescript.json
│ │ ├── tokens_vala.json
│ │ ├── tokens_vbscript.json
│ │ ├── tokens_velocity.json
│ │ ├── tokens_verilog.json
│ │ ├── tokens_vhdl.json
│ │ ├── tokens_visualforce.json
│ │ ├── tokens_vue.json
│ │ ├── tokens_wollok.json
│ │ ├── tokens_xml.json
│ │ ├── tokens_yaml.json
│ │ └── tokens_zeek.json
│ ├── abap.js
│ ├── abap_highlight_rules.js
│ ├── abc.js
│ ├── abc_highlight_rules.js
│ ├── actionscript.js
│ ├── actionscript_highlight_rules.js
│ ├── ada.js
│ ├── ada_highlight_rules.js
│ ├── ada_test.js
│ ├── alda.js
│ ├── alda_highlight_rules.js
│ ├── apache_conf.js
│ ├── apache_conf_highlight_rules.js
│ ├── apex.js
│ ├── apex_highlight_rules.js
│ ├── applescript.js
│ ├── applescript_highlight_rules.js
│ ├── aql.js
│ ├── aql_highlight_rules.js
│ ├── asciidoc.js
│ ├── asciidoc_highlight_rules.js
│ ├── asl.js
│ ├── asl_highlight_rules.js
│ ├── assembly_arm32.js
│ ├── assembly_arm32_highlight_rules.js
│ ├── assembly_x86.js
│ ├── assembly_x86_highlight_rules.js
│ ├── astro.js
│ ├── astro_highlight_rules.js
│ ├── autohotkey.js
│ ├── autohotkey_highlight_rules.js
│ ├── basic.js
│ ├── basic_highlight_rules.js
│ ├── batchfile.js
│ ├── batchfile_highlight_rules.js
│ ├── behaviour.js
│ ├── behaviour
│ │ ├── behaviour_test.js
│ │ ├── css.js
│ │ ├── cstyle.js
│ │ ├── html.js
│ │ ├── javascript.js
│ │ ├── liquid.js
│ │ ├── xml.js
│ │ └── xquery.js
│ ├── bibtex.js
│ ├── bibtex_highlight_rules.js
│ ├── c9search.js
│ ├── c9search_highlight_rules.js
│ ├── c_cpp.js
│ ├── c_cpp_highlight_rules.js
│ ├── cirru.js
│ ├── cirru_highlight_rules.js
│ ├── clojure.js
│ ├── clojure_highlight_rules.js
│ ├── clue.js
│ ├── clue_highlight_rules.js
│ ├── cobol.js
│ ├── cobol_highlight_rules.js
│ ├── coffee.js
│ ├── coffee_highlight_rules.js
│ ├── coldfusion.js
│ ├── coldfusion_highlight_rules.js
│ ├── coldfusion_test.js
│ ├── crystal.js
│ ├── crystal_highlight_rules.js
│ ├── csharp.js
│ ├── csharp_highlight_rules.js
│ ├── csound_document.js
│ ├── csound_document_highlight_rules.js
│ ├── csound_orchestra.js
│ ├── csound_orchestra_highlight_rules.js
│ ├── csound_preprocessor_highlight_rules.js
│ ├── csound_score.js
│ ├── csound_score_highlight_rules.js
│ ├── csp.js
│ ├── csp_highlight_rules.js
│ ├── css.js
│ ├── css_completions.js
│ ├── css_highlight_rules.js
│ ├── css_test.js
│ ├── csv.js
│ ├── csv_highlight_rules.js
│ ├── curly.js
│ ├── curly_highlight_rules.js
│ ├── cuttlefish.js
│ ├── cuttlefish_highlight_rules.js
│ ├── d.js
│ ├── d_highlight_rules.js
│ ├── dart.js
│ ├── dart_highlight_rules.js
│ ├── diff.js
│ ├── diff_highlight_rules.js
│ ├── django.js
│ ├── doc_comment_highlight_rules.js
│ ├── dockerfile.js
│ ├── dockerfile_highlight_rules.js
│ ├── dot.js
│ ├── dot_highlight_rules.js
│ ├── drools.js
│ ├── drools_highlight_rules.js
│ ├── edifact.js
│ ├── edifact_highlight_rules.js
│ ├── eiffel.js
│ ├── eiffel_highlight_rules.js
│ ├── ejs.js
│ ├── elixir.js
│ ├── elixir_highlight_rules.js
│ ├── elm.js
│ ├── elm_highlight_rules.js
│ ├── erlang.js
│ ├── erlang_highlight_rules.js
│ ├── flix.js
│ ├── flix_highlight_rules.js
│ ├── folding
│ │ ├── asciidoc.js
│ │ ├── basic.js
│ │ ├── basic_test.js
│ │ ├── c9search.js
│ │ ├── coffee.js
│ │ ├── coffee_test.js
│ │ ├── csharp.js
│ │ ├── cstyle.js
│ │ ├── cstyle_test.js
│ │ ├── diff.js
│ │ ├── drools.js
│ │ ├── drools_test.js
│ │ ├── fold_mode.js
│ │ ├── fold_mode_test.js
│ │ ├── haskell_cabal.js
│ │ ├── html.js
│ │ ├── html_test.js
│ │ ├── ini.js
│ │ ├── java.js
│ │ ├── javascript.js
│ │ ├── javascript_test.js
│ │ ├── latex.js
│ │ ├── latex_test.js
│ │ ├── lua.js
│ │ ├── lua_test.js
│ │ ├── markdown.js
│ │ ├── mixed.js
│ │ ├── nunjucks.js
│ │ ├── nunjucks_test.js
│ │ ├── php.js
│ │ ├── php_test.js
│ │ ├── pythonic.js
│ │ ├── pythonic_test.js
│ │ ├── ruby.js
│ │ ├── ruby_test.js
│ │ ├── sql.js
│ │ ├── sqlserver.js
│ │ ├── vbscript.js
│ │ ├── vbscript_test.js
│ │ ├── velocity.js
│ │ ├── xml.js
│ │ ├── xml_test.js
│ │ ├── yaml.js
│ │ └── yaml_test.js
│ ├── forth.js
│ ├── forth_highlight_rules.js
│ ├── fortran.js
│ ├── fortran_highlight_rules.js
│ ├── fsharp.js
│ ├── fsharp_highlight_rules.js
│ ├── fsl.js
│ ├── fsl_highlight_rules.js
│ ├── ftl.js
│ ├── ftl_highlight_rules.js
│ ├── gcode.js
│ ├── gcode_highlight_rules.js
│ ├── gherkin.js
│ ├── gherkin_highlight_rules.js
│ ├── gitignore.js
│ ├── gitignore_highlight_rules.js
│ ├── glsl.js
│ ├── glsl_highlight_rules.js
│ ├── gobstones.js
│ ├── gobstones_highlight_rules.js
│ ├── golang.js
│ ├── golang_highlight_rules.js
│ ├── graphqlschema.js
│ ├── graphqlschema_highlight_rules.js
│ ├── groovy.js
│ ├── groovy_highlight_rules.js
│ ├── haml.js
│ ├── haml_highlight_rules.js
│ ├── handlebars.js
│ ├── handlebars_highlight_rules.js
│ ├── haskell.js
│ ├── haskell_cabal.js
│ ├── haskell_cabal_highlight_rules.js
│ ├── haskell_highlight_rules.js
│ ├── haxe.js
│ ├── haxe_highlight_rules.js
│ ├── hjson.js
│ ├── hjson_highlight_rules.js
│ ├── html.js
│ ├── html_completions.js
│ ├── html_elixir.js
│ ├── html_elixir_highlight_rules.js
│ ├── html_highlight_rules.js
│ ├── html_ruby.js
│ ├── html_ruby_highlight_rules.js
│ ├── html_test.js
│ ├── ini.js
│ ├── ini_highlight_rules.js
│ ├── io.js
│ ├── io_highlight_rules.js
│ ├── ion.js
│ ├── ion_highlight_rules.js
│ ├── jack.js
│ ├── jack_highlight_rules.js
│ ├── jade.js
│ ├── jade_highlight_rules.js
│ ├── java.js
│ ├── java_highlight_rules.js
│ ├── javascript.js
│ ├── javascript_highlight_rules.js
│ ├── javascript_test.js
│ ├── jexl.js
│ ├── jexl_highlight_rules.js
│ ├── js_regex_highlight_rules.js
│ ├── jsdoc_comment_highlight_rules.js
│ ├── json.js
│ ├── json5.js
│ ├── json5_highlight_rules.js
│ ├── json_highlight_rules.js
│ ├── jsp.js
│ ├── jsp_highlight_rules.js
│ ├── jssm.js
│ ├── jssm_highlight_rules.js
│ ├── jsx.js
│ ├── jsx_highlight_rules.js
│ ├── julia.js
│ ├── julia_highlight_rules.js
│ ├── kotlin.js
│ ├── kotlin_highlight_rules.js
│ ├── latex.js
│ ├── latex_highlight_rules.js
│ ├── latte.js
│ ├── latte_highlight_rules.js
│ ├── less.js
│ ├── less_highlight_rules.js
│ ├── liquid.js
│ ├── liquid_highlight_rules.js
│ ├── lisp.js
│ ├── lisp_highlight_rules.js
│ ├── livescript.js
│ ├── logiql.js
│ ├── logiql_highlight_rules.js
│ ├── logiql_test.js
│ ├── logtalk.js
│ ├── logtalk_highlight_rules.js
│ ├── lsl.js
│ ├── lsl_highlight_rules.js
│ ├── lua.js
│ ├── lua_highlight_rules.js
│ ├── luapage.js
│ ├── luapage_highlight_rules.js
│ ├── lucene.js
│ ├── lucene_highlight_rules.js
│ ├── makefile.js
│ ├── makefile_highlight_rules.js
│ ├── markdown.js
│ ├── markdown_highlight_rules.js
│ ├── mask.js
│ ├── mask_highlight_rules.js
│ ├── matching_brace_outdent.js
│ ├── matching_parens_outdent.js
│ ├── matlab.js
│ ├── matlab_highlight_rules.js
│ ├── maze.js
│ ├── maze_highlight_rules.js
│ ├── mediawiki.js
│ ├── mediawiki_highlight_rules.js
│ ├── mel.js
│ ├── mel_highlight_rules.js
│ ├── mips.js
│ ├── mips_highlight_rules.js
│ ├── mixal.js
│ ├── mixal_highlight_rules.js
│ ├── mushcode.js
│ ├── mushcode_highlight_rules.js
│ ├── mysql.js
│ ├── mysql_highlight_rules.js
│ ├── nasal.js
│ ├── nasal_highlight_rules.js
│ ├── nginx.js
│ ├── nginx_highlight_rules.js
│ ├── nim.js
│ ├── nim_highlight_rules.js
│ ├── nix.js
│ ├── nix_highlight_rules.js
│ ├── nsis.js
│ ├── nsis_highlight_rules.js
│ ├── nunjucks.js
│ ├── nunjucks_highlight_rules.js
│ ├── objectivec.js
│ ├── objectivec_highlight_rules.js
│ ├── ocaml.js
│ ├── ocaml_highlight_rules.js
│ ├── odin.js
│ ├── odin_highlight_rules.js
│ ├── odin_test.js
│ ├── partiql.js
│ ├── partiql_highlight_rules.js
│ ├── pascal.js
│ ├── pascal_highlight_rules.js
│ ├── perl.js
│ ├── perl_highlight_rules.js
│ ├── pgsql.js
│ ├── pgsql_highlight_rules.js
│ ├── php.js
│ ├── php_completions.js
│ ├── php_highlight_rules.js
│ ├── php_laravel_blade.js
│ ├── php_laravel_blade_highlight_rules.js
│ ├── php_test.js
│ ├── pig.js
│ ├── pig_highlight_rules.js
│ ├── plain_text.js
│ ├── plain_text_test.js
│ ├── plsql.js
│ ├── plsql_highlight_rules.js
│ ├── powershell.js
│ ├── powershell_highlight_rules.js
│ ├── praat.js
│ ├── praat_highlight_rules.js
│ ├── prisma.js
│ ├── prisma_highlight_rules.js
│ ├── prolog.js
│ ├── prolog_highlight_rules.js
│ ├── properties.js
│ ├── properties_highlight_rules.js
│ ├── protobuf.js
│ ├── protobuf_highlight_rules.js
│ ├── prql.js
│ ├── prql_highlight_rules.js
│ ├── puppet.js
│ ├── puppet_highlight_rules.js
│ ├── python.js
│ ├── python_highlight_rules.js
│ ├── python_test.js
│ ├── qml.js
│ ├── qml_highlight_rules.js
│ ├── r.js
│ ├── r_highlight_rules.js
│ ├── raku.js
│ ├── raku_highlight_rules.js
│ ├── razor.js
│ ├── razor_completions.js
│ ├── razor_highlight_rules.js
│ ├── rdoc.js
│ ├── rdoc_highlight_rules.js
│ ├── red.js
│ ├── red_highlight_rules.js
│ ├── redshift.js
│ ├── redshift_highlight_rules.js
│ ├── rhtml.js
│ ├── rhtml_highlight_rules.js
│ ├── robot.js
│ ├── robot_highlight_rules.js
│ ├── rst.js
│ ├── rst_highlight_rules.js
│ ├── ruby.js
│ ├── ruby_highlight_rules.js
│ ├── ruby_test.js
│ ├── rust.js
│ ├── rust_highlight_rules.js
│ ├── sac.js
│ ├── sac_highlight_rules.js
│ ├── sass.js
│ ├── sass_highlight_rules.js
│ ├── scad.js
│ ├── scad_highlight_rules.js
│ ├── scala.js
│ ├── scala_highlight_rules.js
│ ├── scheme.js
│ ├── scheme_highlight_rules.js
│ ├── scrypt.js
│ ├── scrypt_highlight_rules.js
│ ├── scss.js
│ ├── scss_highlight_rules.js
│ ├── sh.js
│ ├── sh_highlight_rules.js
│ ├── sjs.js
│ ├── sjs_highlight_rules.js
│ ├── slim.js
│ ├── slim_highlight_rules.js
│ ├── smarty.js
│ ├── smarty_highlight_rules.js
│ ├── smithy.js
│ ├── smithy_highlight_rules.js
│ ├── snippets.js
│ ├── soy_template.js
│ ├── soy_template_highlight_rules.js
│ ├── space.js
│ ├── space_highlight_rules.js
│ ├── sparql.js
│ ├── sparql_highlight_rules.js
│ ├── sql.js
│ ├── sql_highlight_rules.js
│ ├── sqlserver.js
│ ├── sqlserver_highlight_rules.js
│ ├── stylus.js
│ ├── stylus_highlight_rules.js
│ ├── svg.js
│ ├── svg_highlight_rules.js
│ ├── swift.js
│ ├── swift_highlight_rules.js
│ ├── tcl.js
│ ├── tcl_highlight_rules.js
│ ├── terraform.js
│ ├── terraform_highlight_rules.js
│ ├── tex.js
│ ├── tex_highlight_rules.js
│ ├── text.js
│ ├── text_highlight_rules.js
│ ├── text_test.js
│ ├── textile.js
│ ├── textile_highlight_rules.js
│ ├── toml.js
│ ├── toml_highlight_rules.js
│ ├── tsv.js
│ ├── tsv_highlight_rules.js
│ ├── tsx.js
│ ├── tsx_highlight_rules.js
│ ├── turtle.js
│ ├── turtle_highlight_rules.js
│ ├── twig.js
│ ├── twig_highlight_rules.js
│ ├── typescript.js
│ ├── typescript_highlight_rules.js
│ ├── vala.js
│ ├── vala_highlight_rules.js
│ ├── vbscript.js
│ ├── vbscript_highlight_rules.js
│ ├── vbscript_test.js
│ ├── velocity.js
│ ├── velocity_highlight_rules.js
│ ├── verilog.js
│ ├── verilog_highlight_rules.js
│ ├── vhdl.js
│ ├── vhdl_highlight_rules.js
│ ├── visualforce.js
│ ├── visualforce_highlight_rules.js
│ ├── vue.js
│ ├── vue_highlight_rules.js
│ ├── wollok.js
│ ├── wollok_highlight_rules.js
│ ├── xml.js
│ ├── xml_highlight_rules.js
│ ├── xml_test.js
│ ├── yaml.js
│ ├── yaml_highlight_rules.js
│ ├── zeek.js
│ ├── zeek_highlight_rules.js
│ ├── zig.js
│ └── zig_highlight_rules.js
├── mouse
│ ├── default_gutter_handler.js
│ ├── default_gutter_handler_test.js
│ ├── default_handlers.js
│ ├── dragdrop_handler.js
│ ├── fold_handler.js
│ ├── mouse_event.js
│ ├── mouse_handler.js
│ ├── mouse_handler_test.js
│ ├── multi_select_handler.js
│ └── touch_handler.js
├── multi_select.js
├── multi_select_test.js
├── occur.js
├── occur_test.js
├── placeholder.js
├── placeholder_test.js
├── range.js
├── range_list.js
├── range_list_test.js
├── range_test.js
├── renderloop.js
├── scrollbar.js
├── scrollbar_custom.js
├── scrollbar_test.js
├── search.js
├── search_highlight.js
├── search_test.js
├── selection.js
├── selection_test.js
├── snippets.js
├── snippets
│ ├── abc.js
│ ├── abc.snippets.js
│ ├── actionscript.js
│ ├── actionscript.snippets.js
│ ├── c_cpp.js
│ ├── c_cpp.snippets.js
│ ├── clojure.js
│ ├── clojure.snippets.js
│ ├── coffee.js
│ ├── coffee.snippets.js
│ ├── csound_document.js
│ ├── csound_document.snippets.js
│ ├── csound_orchestra.js
│ ├── csound_orchestra.snippets.js
│ ├── css.js
│ ├── css.snippets.js
│ ├── dart.js
│ ├── dart.snippets.js
│ ├── diff.js
│ ├── diff.snippets.js
│ ├── django.js
│ ├── django.snippets.js
│ ├── drools.js
│ ├── drools.snippets.js
│ ├── edifact.js
│ ├── edifact.snippets.js
│ ├── erlang.js
│ ├── erlang.snippets.js
│ ├── fsl.js
│ ├── fsl.snippets.js
│ ├── gobstones.js
│ ├── gobstones.snippets.js
│ ├── graphqlschema.js
│ ├── graphqlschema.snippets.js
│ ├── haml.js
│ ├── haml.snippets.js
│ ├── haskell.js
│ ├── haskell.snippets.js
│ ├── html.js
│ ├── html.snippets.js
│ ├── io.js
│ ├── java.js
│ ├── java.snippets.js
│ ├── javascript.js
│ ├── javascript.snippets.js
│ ├── jsp.js
│ ├── jsp.snippets.js
│ ├── liquid.js
│ ├── liquid.snippets.js
│ ├── lsl.js
│ ├── lsl.snippets.js
│ ├── lua.js
│ ├── lua.snippets.js
│ ├── makefile.js
│ ├── makefile.snippets.js
│ ├── markdown.js
│ ├── markdown.snippets.js
│ ├── maze.js
│ ├── maze.snippets.js
│ ├── perl.js
│ ├── perl.snippets.js
│ ├── php.js
│ ├── php.snippets.js
│ ├── python.js
│ ├── python.snippets.js
│ ├── r.js
│ ├── r.snippets.js
│ ├── razor.js
│ ├── razor.snippets.js
│ ├── robot.js
│ ├── robot.snippets.js
│ ├── rst.js
│ ├── rst.snippets.js
│ ├── ruby.js
│ ├── ruby.snippets.js
│ ├── sh.js
│ ├── sh.snippets.js
│ ├── snippets.js
│ ├── snippets.snippets.js
│ ├── sql.js
│ ├── sql.snippets.js
│ ├── sqlserver.js
│ ├── sqlserver.snippets.js
│ ├── tcl.js
│ ├── tcl.snippets.js
│ ├── tex.js
│ ├── tex.snippets.js
│ ├── textile.js
│ ├── textile.snippets.js
│ ├── vala.js
│ ├── velocity.js
│ ├── velocity.snippets.js
│ ├── wollok.js
│ └── wollok.snippets.js
├── snippets_test.js
├── split.js
├── test
│ ├── all.js
│ ├── all_browser.js
│ ├── assertions.js
│ ├── asyncjs
│ │ ├── assert.js
│ │ ├── async.js
│ │ ├── index.js
│ │ ├── test.js
│ │ └── utils.js
│ ├── benchmark.js
│ ├── mockdom.js
│ ├── mockdom_test.js
│ ├── mockrenderer.js
│ ├── tests.html
│ ├── update_test_list.js
│ ├── user.js
│ └── util.js
├── theme
│ ├── ambiance-css.js
│ ├── ambiance.js
│ ├── chaos-css.js
│ ├── chaos.js
│ ├── chrome-css.js
│ ├── chrome.js
│ ├── cloud9_day-css.js
│ ├── cloud9_day.js
│ ├── cloud9_night-css.js
│ ├── cloud9_night.js
│ ├── cloud9_night_low_color-css.js
│ ├── cloud9_night_low_color.js
│ ├── cloud_editor-css.js
│ ├── cloud_editor.js
│ ├── cloud_editor_dark-css.js
│ ├── cloud_editor_dark.js
│ ├── clouds-css.js
│ ├── clouds.js
│ ├── clouds_midnight-css.js
│ ├── clouds_midnight.js
│ ├── cobalt-css.js
│ ├── cobalt.js
│ ├── crimson_editor-css.js
│ ├── crimson_editor.js
│ ├── dawn-css.js
│ ├── dawn.js
│ ├── dracula-css.js
│ ├── dracula.js
│ ├── dreamweaver-css.js
│ ├── dreamweaver.js
│ ├── eclipse-css.js
│ ├── eclipse.js
│ ├── github-css.js
│ ├── github.js
│ ├── github_dark-css.js
│ ├── github_dark.js
│ ├── github_light_default-css.js
│ ├── github_light_default.js
│ ├── gob-css.js
│ ├── gob.js
│ ├── gruvbox-css.js
│ ├── gruvbox.js
│ ├── gruvbox_dark_hard-css.js
│ ├── gruvbox_dark_hard.js
│ ├── gruvbox_light_hard-css.js
│ ├── gruvbox_light_hard.js
│ ├── idle_fingers-css.js
│ ├── idle_fingers.js
│ ├── iplastic-css.js
│ ├── iplastic.js
│ ├── katzenmilch-css.js
│ ├── katzenmilch.js
│ ├── kr_theme-css.js
│ ├── kr_theme.js
│ ├── kuroir-css.js
│ ├── kuroir.js
│ ├── merbivore-css.js
│ ├── merbivore.js
│ ├── merbivore_soft-css.js
│ ├── merbivore_soft.js
│ ├── mono_industrial-css.js
│ ├── mono_industrial.js
│ ├── monokai-css.js
│ ├── monokai.js
│ ├── nord_dark-css.js
│ ├── nord_dark.js
│ ├── one_dark-css.js
│ ├── one_dark.js
│ ├── pastel_on_dark-css.js
│ ├── pastel_on_dark.js
│ ├── solarized_dark-css.js
│ ├── solarized_dark.js
│ ├── solarized_light-css.js
│ ├── solarized_light.js
│ ├── sqlserver-css.js
│ ├── sqlserver.js
│ ├── terminal-css.js
│ ├── terminal.js
│ ├── textmate-css.js
│ ├── textmate.js
│ ├── tomorrow-css.js
│ ├── tomorrow.js
│ ├── tomorrow_night-css.js
│ ├── tomorrow_night.js
│ ├── tomorrow_night_blue-css.js
│ ├── tomorrow_night_blue.js
│ ├── tomorrow_night_bright-css.js
│ ├── tomorrow_night_bright.js
│ ├── tomorrow_night_eighties-css.js
│ ├── tomorrow_night_eighties.js
│ ├── twilight-css.js
│ ├── twilight.js
│ ├── vibrant_ink-css.js
│ ├── vibrant_ink.js
│ ├── xcode-css.js
│ └── xcode.js
├── token_iterator.js
├── token_iterator_test.js
├── tokenizer.js
├── tokenizer_dev.js
├── tokenizer_test.js
├── tooltip.js
├── tooltip_test.js
├── undomanager.js
├── undomanager_test.js
├── unicode.js
├── virtual_renderer.js
├── virtual_renderer_test.js
└── worker
│ └── worker_client.js
├── static.js
├── tool
├── Readme.md
├── ace_declaration_generator.js
├── add_mode.js
├── esm_resolver_generator.js
├── lib.js
├── mode_creator.html
├── mode_creator.js
├── modes-declaration-generator.js
├── package.json
├── perf-test.html
├── regexp_to_keywords.js
├── regexp_tokenizer.js
├── regexp_tokenizer_test.js
├── release-api-docs.sh
├── release.sh
├── templates
│ ├── dummy.JSON-tmLanguage
│ ├── highlight_rules.js
│ ├── mode.js
│ ├── snippets.js
│ ├── theme.css
│ └── theme.js
├── test-ace-builds-package.sh
├── test-npm-package.sh
├── tmlanguage.js
├── tmsnippets.js
├── tmtheme.js
├── tmthemes
│ ├── Active4D.tmTheme
│ ├── All Hallows Eve.tmTheme
│ ├── Amy.tmTheme
│ ├── Blackboard.tmTheme
│ ├── Brilliance Black.tmTheme
│ ├── Brilliance Dull.tmTheme
│ ├── Chrome DevTools.tmTheme
│ ├── Clouds Midnight.tmTheme
│ ├── Clouds.tmTheme
│ ├── Cobalt.tmTheme
│ ├── Dawn.tmTheme
│ ├── Dreamweaver.tmTheme
│ ├── Eiffel.tmTheme
│ ├── Espresso Libre.tmTheme
│ ├── GitHub.tmTheme
│ ├── IDLE.tmTheme
│ ├── Katzenmilch.tmTheme
│ ├── Kuroir Theme.tmTheme
│ ├── LAZY.tmTheme
│ ├── LICENSE
│ ├── MagicWB (Amiga).tmTheme
│ ├── Merbivore Soft.tmTheme
│ ├── Merbivore.tmTheme
│ ├── Monokai.tmTheme
│ ├── Pastels on Dark.tmTheme
│ ├── Slush and Poppies.tmTheme
│ ├── Solarized-dark.tmTheme
│ ├── Solarized-light.tmTheme
│ ├── SpaceCadet.tmTheme
│ ├── Sunburst.tmTheme
│ ├── Textmate (Mac Classic).tmTheme
│ ├── Tomorrow-Night-Blue.tmTheme
│ ├── Tomorrow-Night-Bright.tmTheme
│ ├── Tomorrow-Night-Eighties.tmTheme
│ ├── Tomorrow-Night.tmTheme
│ ├── Tomorrow.tmTheme
│ ├── Twilight.tmTheme
│ ├── Vibrant Ink.tmTheme
│ ├── Xcode_default.tmTheme
│ ├── Zenburnesque.tmTheme
│ ├── gruvboxDarkHard.tmTheme
│ ├── gruvboxLightHard.tmTheme
│ ├── iPlastic.tmTheme
│ ├── idleFingers.tmTheme
│ ├── krTheme.tmTheme
│ └── monoindustrial.tmTheme
├── unicode.js
├── update_deps.js
└── wrap_keyword_regexp.js
├── translations
├── Readme.md
├── am.json
├── es.json
└── ru.json
├── tsconfig.json
├── types
├── ace-ext.d.ts
├── ace-lib.d.ts
├── ace-modules.d.ts
├── ace-snippets.d.ts
└── ace-theme.d.ts
└── version.js
/.eslintignore:
--------------------------------------------------------------------------------
1 | lib/ace/mode/css/*
2 | lib/ace/mode/coffee/*
3 | lib/ace/mode/html/*
4 | lib/ace/mode/javascript/*
5 | lib/ace/mode/json/*
6 | lib/ace/mode/lua/*
7 | lib/ace/mode/php/*
8 | lib/ace/mode/xml/*
9 | lib/ace/mode/xquery/*
10 | lib/ace/mode/xquery.js
11 | lib/ace/mode/yaml/*
12 | src/lib/default_english_messages.js
13 | **/test/asyncjs/*
14 | **/es5-shim.js
15 | **/vim*.js
16 | experiments/
17 | tool/
18 | doc/
19 | build/
20 | demo/
21 | api/
22 | **/* *
23 | **/node_modules
24 | 0*
25 | esm-resolver.js
26 | src/ext/diff/providers/*
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/config.yml:
--------------------------------------------------------------------------------
1 | ---
2 | blank_issues_enabled: false
3 | contact_links:
4 | - name: 🤔 General Question
5 | url: https://github.com/ajaxorg/ace/discussions/categories/q-a
6 | about: Please ask and answer questions as a discussion thread
7 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/documentation.yml:
--------------------------------------------------------------------------------
1 | ---
2 | name: "📕 Documentation Issue"
3 | description: Report an issue in the documentation
4 | title: "(short issue description)"
5 | labels: [documentation, needs-triage]
6 | assignees: []
7 | body:
8 | - type: textarea
9 | id: description
10 | attributes:
11 | label: Describe the issue
12 | description: A clear and concise description of the issue.
13 | validations:
14 | required: true
15 |
16 | - type: textarea
17 | id: links
18 | attributes:
19 | label: Links
20 | description: |
21 | Include links to affected documentation page(s).
22 | validations:
23 | required: true
24 |
--------------------------------------------------------------------------------
/.github/PULL_REQUEST_TEMPLATE.md:
--------------------------------------------------------------------------------
1 | *Issue #, if available:*
2 |
3 | *Description of changes:*
4 |
5 |
6 | By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
7 |
8 | Pull Request Checklist:
9 | * [ ] No backwards incompatible changes were made to Ace's public interface which is defined through the main typings file (`ace.d.ts`) and its references:
10 | * https://github.com/ajaxorg/ace/blob/master/ace.d.ts
11 | * https://github.com/ajaxorg/ace/blob/master/ace-modes.d.ts
12 | * https://github.com/ajaxorg/ace/blob/master/ace-extensions.d.ts
13 |
14 |
--------------------------------------------------------------------------------
/.github/workflows/backwards-compatibility-commenter.yml:
--------------------------------------------------------------------------------
1 | name: Comments for ensuring backward compatibility
2 |
3 | on:
4 | pull_request_target:
5 | paths:
6 | - 'ace.d.ts'
7 | - 'ace-modes.d.ts'
8 | - 'ace-extensions.d.ts'
9 |
10 | jobs:
11 | comment:
12 | runs-on: ubuntu-latest
13 | steps:
14 | - name: Comment on PR
15 | uses: peter-evans/create-or-update-comment@v1
16 | with:
17 | issue-number: ${{ github.event.pull_request.number }}
18 | body: |
19 | One of the public type files has been updated, plase make sure there are no backwards incompatible changes done in the PR.
20 | token: ${{ secrets.GITHUB_TOKEN }}
21 |
--------------------------------------------------------------------------------
/.github/workflows/issue-reprioritization.yml:
--------------------------------------------------------------------------------
1 | name: issue-reprioritization
2 | on:
3 | schedule:
4 | - cron: "0 0 * * 0"
5 |
6 | jobs:
7 | issue-reprioritization:
8 | permissions:
9 | issues: write
10 | runs-on: ubuntu-latest
11 | steps:
12 | - uses: kaizencc/issue-reprioritization-manager@main
13 | id: reprioritization-manager
14 | with:
15 | github-token: ${{ secrets.GITHUB_TOKEN }}
16 | original-label: p2
17 | new-label: p1
18 | reprioritization-threshold: 5
19 | - uses: kaizencc/pr-triage-manager@main
20 | with:
21 | github-token: ${{ secrets.GITHUB_TOKEN }}
22 | on-pulls: ${{ steps.reprioritization-manager.outputs.linked-pulls }}
23 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Junk that could exist anywhere:
2 | .DS_Store
3 | *.swp
4 | *.tmp
5 | *~
6 |
7 | # Project files that should not be in the repo
8 | .*
9 | \#*
10 | !/.github
11 | !/.gitignore
12 | .*.gz
13 | *.tmTheme.js
14 | package-lock.json
15 |
16 | # A handy place to put stuff that git should ignore:
17 | /coverage
18 | /ignore/
19 | node_modules/
20 | jam/
21 | * *
22 |
23 | .git-ref
24 | npm-debug.log
25 | deps/
26 | dist
27 |
28 | lib/ace
29 | styles
--------------------------------------------------------------------------------
/.gitmodules:
--------------------------------------------------------------------------------
1 | [submodule "doc/wiki"]
2 | path = doc/wiki
3 | url = https://github.com/ajaxorg/ace.wiki.git
4 | [submodule "build"]
5 | path = build
6 | url = https://github.com/ajaxorg/ace-builds.git
7 |
--------------------------------------------------------------------------------
/.nojekyll:
--------------------------------------------------------------------------------
1 | disable jekyll on gh-pages
2 |
--------------------------------------------------------------------------------
/CNAME:
--------------------------------------------------------------------------------
1 | ace.c9.io
--------------------------------------------------------------------------------
/CODE_OF_CONDUCT.md:
--------------------------------------------------------------------------------
1 | ## Code of Conduct
2 | This project has adopted the [Amazon Open Source Code of Conduct](https://aws.github.io/code-of-conduct).
3 | For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq) or contact
4 | opensource-codeofconduct@amazon.com with any additional questions or comments.
5 |
--------------------------------------------------------------------------------
/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | Contributing
2 | ------------
3 |
4 | Ace is a community project and wouldn't be what it is without contributions! We actively encourage and support contributions. The Ace source code is released under the BSD License. This license is very simple, and is friendly to all kinds of projects, whether open source or not. Take charge of your editor and add your favorite language highlighting and keybindings!
5 |
6 | Feel free to fork and improve/enhance Ace any way you want. If you feel that the editor or the Ace community will benefit from your changes, please open a pull request. Do make sure that your changes are covered by test cases to pass the pull request checks which exists inorder to keep ace robust.
7 |
8 | Happy coding, Cloud9
9 |
--------------------------------------------------------------------------------
/_config.yml:
--------------------------------------------------------------------------------
1 | # Config file for Jekyll, which is used by GH pages to build the Ace website.
2 | # Some files in the docs folder can cause Jekyll to trip up so we ignore those.
3 | # https://docs.github.com/en/pages/setting-up-a-github-pages-site-with-jekyll/about-github-pages-and-jekyll
4 | exclude:
5 | - "demo/kitchen-sink/docs"
--------------------------------------------------------------------------------
/amplify.yml:
--------------------------------------------------------------------------------
1 | version: 0.1
2 | frontend:
3 | phases:
4 | preBuild:
5 | commands:
6 | - npm install
7 | # IMPORTANT - Please verify your build commands
8 | build:
9 | commands:
10 | - make build
11 | artifacts:
12 | # IMPORTANT - Please verify your build output directory
13 | baseDirectory: /
14 | files:
15 | - '**/*'
16 | cache:
17 | paths:
18 | - node_modules/**/*
19 |
--------------------------------------------------------------------------------
/demo/kitchen-sink/docs/.gitignore:
--------------------------------------------------------------------------------
1 | # A sample .gitignore file.
2 |
3 | .buildlog
4 | .DS_Store
5 | .svn
6 |
7 | # Negated patterns:
8 | !foo.bar
9 |
10 | # Also ignore user settings...
11 | /.settings
12 |
--------------------------------------------------------------------------------
/demo/kitchen-sink/docs/ada.ada:
--------------------------------------------------------------------------------
1 | with Ada.Text_IO; use Ada.Text_IO;
2 | procedure Hello is
3 | begin
4 | Put_Line("Hello, world!");
5 | end Hello;
--------------------------------------------------------------------------------
/demo/kitchen-sink/docs/alda.alda:
--------------------------------------------------------------------------------
1 | # Example taken from https://github.com/alda-lang/alda-core/blob/master/examples/across_the_sea.alda
2 | (tempo! 90)
3 | (quant! 95)
4 |
5 | piano:
6 | o5 g- > g- g-/f > e- d-4. < b-8 d-2 | c-4 e- d- d-
Show me!
} 6 | 7 | {visible ?Show me!
:Else show me!
} 8 | 9 |Title | 6 |Summary | 7 |8 | | 9 | | 10 | |
---|---|---|---|---|
<%= book.title %> | 16 |<%= book.content %> | 17 |<%= link "Show", to: book_path(@conn, :show, book) %> | 18 |<%= link "Edit", to: book_path(@conn, :edit, book) %> | 19 |<%= link "Delete", to: book_path(@conn, :delete, book), method: :delete, data: [confirm: "Are you sure?"] %> | 20 |
Title | 6 |Summary | 7 |8 | | 9 | | 10 | |
---|---|---|---|---|
<%= book.title %> | 16 |<%= book.content %> | 17 |<%= link_to 'Show', book %> | 18 |<%= link_to 'Edit', edit_book_path(book) %> | 19 |<%= link_to 'Remove', book, :confirm => 'Are you sure?', :method => :delete %> | 20 |
This is an R HTML document. When you click the Knit HTML button a web page will be generated that includes both content as well as the output of any embedded R code chunks within the document. You can embed an R code chunk like this:
10 | 11 | 14 | 15 |You can also embed plots, for example:
16 | 17 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/ruby.rb: -------------------------------------------------------------------------------- 1 | #!/usr/bin/ruby 2 | 3 | # Program to find the factorial of a number 4 | def fact(n) 5 | if n == 0 6 | 1 7 | else 8 | n * fact(n-1) 9 | end 10 | end 11 | 12 | puts fact(ARGV[0].to_i) 13 | 14 | class Range 15 | def to_json(*a) 16 | { 17 | 'json_class' => self.class.name, # = 'Range' 18 | 'data' => [ first, last, exclude_end? ] 19 | }.to_json(*a) 20 | end 21 | end 22 | 23 | {:id => ?", :key => "value"} 24 | 25 | 26 | herDocs = [<<'FOO', <
2 | // elements on the page and add the "prettyprint" style. If at least one
3 | // prettyprint element was found, call the Google Prettify prettyPrint() API.
4 | //http://sstatic.net/so/js/master.js?v=6523
5 | function styleCode()
6 | {
7 | if (typeof disableStyleCode != "undefined")
8 | {
9 | return;
10 | }
11 |
12 | var a = false;
13 |
14 | $("pre code").parent().each(function()
15 | {
16 | if (!$(this).hasClass("prettyprint"))
17 | {
18 | $(this).addClass("prettyprint");
19 | a = true
20 | }
21 | });
22 |
23 | if (a) { prettyPrint() }
24 | }
--------------------------------------------------------------------------------
/experiments/worker.js:
--------------------------------------------------------------------------------
1 | onmessage = function(e) {
2 | onmessage = new Function("e", e.data);
3 | };
--------------------------------------------------------------------------------
/experiments/zenbg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ajaxorg/ace/b4748041d889274acc52e10a601729917b3fb10a/experiments/zenbg.png
--------------------------------------------------------------------------------
/lib/ace/mode/_test/tokens_jsoniq.json:
--------------------------------------------------------------------------------
1 | [[
2 | "[\"start\"]",
3 | ["support.function","TODO"]
4 | ]]
--------------------------------------------------------------------------------
/lib/ace/mode/xquery/Readme.md:
--------------------------------------------------------------------------------
1 | This files are build from [xqlint](https://github.com/wcandillon/xqlint) (using the `grunt ace_build`)
2 |
--------------------------------------------------------------------------------
/lib/ace/snippets/jsoniq.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | exports.snippetText = require("./jsoniq.snippets");
4 | exports.scope = "jsoniq";
5 |
--------------------------------------------------------------------------------
/lib/ace/snippets/xquery.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | exports.snippetText = require("./xquery.snippets");
4 | exports.scope = "xquery";
5 |
--------------------------------------------------------------------------------
/src/clipboard.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var $cancelT;
4 | module.exports = {
5 | /** @type {string|false} */
6 | lineMode: false,
7 | pasteCancelled: function() {
8 | if ($cancelT && $cancelT > Date.now() - 50)
9 | return true;
10 | return $cancelT = false;
11 | },
12 | cancel: function() {
13 | $cancelT = Date.now();
14 | }
15 | };
16 |
--------------------------------------------------------------------------------
/src/css/codefolding-fold-button-states.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ajaxorg/ace/b4748041d889274acc52e10a601729917b3fb10a/src/css/codefolding-fold-button-states.png
--------------------------------------------------------------------------------
/src/css/expand-marker.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ajaxorg/ace/b4748041d889274acc52e10a601729917b3fb10a/src/css/expand-marker.png
--------------------------------------------------------------------------------
/src/ext/split.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | /**
4 | * this is experimental, and subject to change, use at your own risk!
5 | */
6 | module.exports = require("../split");
7 |
--------------------------------------------------------------------------------
/src/layer/text_util.js:
--------------------------------------------------------------------------------
1 | // Tokens for which Ace just uses a simple TextNode and does not add any special className.
2 | const textTokens = new Set(["text", "rparen", "lparen"]);
3 |
4 | exports.isTextToken = function(tokenType) {
5 | return textTokens.has(tokenType);
6 | };
7 |
--------------------------------------------------------------------------------
/src/lib/deep_copy.js:
--------------------------------------------------------------------------------
1 | exports.deepCopy = function deepCopy(obj) {
2 | if (typeof obj !== "object" || !obj)
3 | return obj;
4 | var copy;
5 | if (Array.isArray(obj)) {
6 | copy = [];
7 | for (let key = 0; key < obj.length; key++) {
8 | copy[key] = deepCopy(obj[key]);
9 | }
10 | return copy;
11 | }
12 | if (Object.prototype.toString.call(obj) !== "[object Object]")
13 | return obj;
14 |
15 | copy = {};
16 | for (let key in obj)
17 | copy[key] = deepCopy(obj[key]);
18 | return copy;
19 | };
20 |
--------------------------------------------------------------------------------
/src/lib/fixoldbrowsers.js:
--------------------------------------------------------------------------------
1 | // vim:set ts=4 sts=4 sw=4 st:
2 | // -- kriskowal Kris Kowal Copyright (C) 2009-2010 MIT License
3 | // -- tlrobinson Tom Robinson Copyright (C) 2009-2010 MIT License (Narwhal Project)
4 | // -- dantman Daniel Friesen Copyright(C) 2010 XXX No License Specified
5 | // -- fschaefer Florian Schäfer Copyright (C) 2010 MIT License
6 | // -- Irakli Gozalishvili Copyright (C) 2010 MIT License
7 |
8 | /*!
9 | Copyright (c) 2009, 280 North Inc. http://280north.com/
10 | MIT License. http://github.com/280north/narwhal/blob/master/README.md
11 | */
12 |
13 | "use strict";
14 |
15 | // @ts-ignore
16 | require("./es6-shim");
17 |
--------------------------------------------------------------------------------
/src/lib/report_error.js:
--------------------------------------------------------------------------------
1 |
2 | exports.reportError = function reportError(msg, data) {
3 | var e = new Error(msg);
4 | e["data"] = data;
5 | if (typeof console == "object" && console.error)
6 | console.error(e);
7 | setTimeout(function() { throw e; });
8 | };
9 |
--------------------------------------------------------------------------------
/src/lib/scroll.js:
--------------------------------------------------------------------------------
1 | exports.preventParentScroll = function preventParentScroll(event) {
2 | event.stopPropagation();
3 | var target = event.currentTarget;
4 | var contentOverflows = target.scrollHeight > target.clientHeight;
5 | if (!contentOverflows) {
6 | event.preventDefault();
7 | }
8 | };
--------------------------------------------------------------------------------
/src/mode/_test/Readme.md:
--------------------------------------------------------------------------------
1 | `tokens_.json` files keep information about correct tokens and tokenizer states for all modes supported by ace.
2 | They are generated from `text_.txt` or `demo/kitchen-sink/docs/*` with
3 |
4 | ```sh
5 | node highlight_rules_test.js -gen
6 | ```
7 |
8 | command.
9 |
10 |
--------------------------------------------------------------------------------
/src/mode/_test/text_alda.txt:
--------------------------------------------------------------------------------
1 | vibraphone:
2 | (quant 200)
3 | (key-signature "f+ c+ g+")
4 | a8 b > c d e f g a <
5 | a b > c_ d e f_ g_ a <
6 |
7 | (key-signature [:g :minor])
8 | g a b > c+ d e f+ g <
9 |
10 | (key-signature {:e [:flat] :b [:flat]})
11 | g1~1/b/d
--------------------------------------------------------------------------------
/src/mode/_test/text_coldfusion.txt:
--------------------------------------------------------------------------------
1 |
2 |
3 | z ---> welcome="Hello World!">
4 | z -->
5 | #welcome#
6 |
7 | Dateformat(now())
8 |
--------------------------------------------------------------------------------
/src/mode/_test/text_curly.txt:
--------------------------------------------------------------------------------
1 | tokenize Curly template{{test}}
2 | tokenize embedded script
3 | '123'
4 | tokenize multiline attribute value with double quotes
5 |
7 | tokenize multiline attribute value with single quotes
8 |
10 |
--------------------------------------------------------------------------------
/src/mode/_test/text_html.txt:
--------------------------------------------------------------------------------
1 |
2 |
3 | '123'
4 |
5 |
7 |
9 |
10 |
--------------------------------------------------------------------------------
/src/mode/_test/text_livescript.txt:
--------------------------------------------------------------------------------
1 | # comment
2 |
--------------------------------------------------------------------------------
/src/mode/_test/text_markdown.txt:
--------------------------------------------------------------------------------
1 | test: header 1
2 | #f
3 | # f
4 | test: header 2
5 | ## foo
6 | test: header ends with ' #'
7 | # # #
8 | test: header ends with '#'
9 | # foo#
10 | test: 6+ #s is not a valid header
11 | ####### foo
12 | test: # followed be only space is a valid header
13 | #
14 | test: only space between #s is a valid header
15 | # #
16 |
17 | # test links [Cloud9 IDE](http://www.c9.io/) #
18 | * [demo](http://ajaxorg.github.com/ace/) [+](escape(\) ) [+](a "title") [+](a "space" )
19 | * usually *work* fine (_em_)
20 | in lists
21 |
22 | in plain text http://ace.ajaxorg.com
23 |
24 |
--------------------------------------------------------------------------------
/src/mode/_test/text_php.txt:
--------------------------------------------------------------------------------
1 | not &js;
34 |
--------------------------------------------------------------------------------
/src/mode/_test/text_verilog.txt:
--------------------------------------------------------------------------------
1 | always @(negedge reset or posedge clk) begin
2 | if (reset == 0) begin
3 | d_out <= 16'h0000;
4 | d_out_mem[resetcount] <= d_out;
5 | laststoredvalue <= d_out;
6 | end else begin
7 | d_out <= d_out + 1'b1;
8 | end
9 | end
10 |
11 | always @(bufreadaddr)
12 | bufreadval = d_out_mem[bufreadaddr];
13 |
14 | module test;
15 | assign a = "1";
16 | initial begin
17 | $display("Hello \778\xaa\
18 | \n world")
19 | $finish;
20 | end
21 | endmodule
--------------------------------------------------------------------------------
/src/mode/_test/text_wollok.txt:
--------------------------------------------------------------------------------
1 | class Actividad {
2 | method calcularMejora()
3 | }
4 |
5 | class EstudiarMateria inherits Actividad {
6 | var materia
7 | var puntos = 0
8 |
9 | new(m, p) {
10 | materia = m
11 | puntos = p
12 | }
13 |
14 | override method calcularMejora() = puntos
15 | }
16 |
17 | class EjercitarEnSimulador inherits Actividad {
18 | var horas = 0
19 | new(h) { horas = h }
20 | override method calcularMejora() = 10 * horas
21 | }
22 |
23 | object pepita {
24 | var energia = 100
25 | method volar(m) {
26 | energia -= m
27 | }
28 | }
--------------------------------------------------------------------------------
/src/mode/_test/text_xml.txt:
--------------------------------------------------------------------------------
1 | //Juhu Kinners
2 | test: two tags in the same lines should be in separate tokens"
3 |
4 | test: multiline attributes"
5 |
--------------------------------------------------------------------------------
/src/mode/_test/tokens_aql.json:
--------------------------------------------------------------------------------
1 | [[
2 | "start",
3 | ["keyword","FOR"],
4 | ["text"," "],
5 | ["identifier","user"],
6 | ["text"," "],
7 | ["keyword","IN"],
8 | ["text"," "],
9 | ["identifier","users"]
10 | ],[
11 | "start",
12 | ["text"," "],
13 | ["keyword","FILTER"],
14 | ["text"," "],
15 | ["identifier","user"],
16 | ["text","."],
17 | ["identifier","username"],
18 | ["text"," "],
19 | ["keyword.operator","=="],
20 | ["text"," "],
21 | ["string","\"olivier\""]
22 | ],[
23 | "start",
24 | ["text"," "],
25 | ["keyword","RETURN"],
26 | ["text"," "],
27 | ["identifier","user"]
28 | ]]
--------------------------------------------------------------------------------
/src/mode/_test/tokens_cobol.json:
--------------------------------------------------------------------------------
1 | [[
2 | "start",
3 | ["identifier","TODO"]
4 | ]]
--------------------------------------------------------------------------------
/src/mode/_test/tokens_csharp.json:
--------------------------------------------------------------------------------
1 | [[
2 | "start",
3 | ["keyword","public"],
4 | ["text"," "],
5 | ["keyword","void"],
6 | ["text"," "],
7 | ["identifier","HelloWorld"],
8 | ["paren.lparen","("],
9 | ["paren.rparen",")"],
10 | ["text"," "],
11 | ["paren.lparen","{"]
12 | ],[
13 | "start",
14 | ["text"," "],
15 | ["comment","//Say Hello!"]
16 | ],[
17 | "start",
18 | ["text"," "],
19 | ["identifier","Console"],
20 | ["punctuation.operator","."],
21 | ["identifier","WriteLine"],
22 | ["paren.lparen","("],
23 | ["string.start","\""],
24 | ["string","Hello World"],
25 | ["string.end","\""],
26 | ["paren.rparen",")"],
27 | ["punctuation.operator",";"]
28 | ],[
29 | "start",
30 | ["paren.rparen","}"]
31 | ]]
--------------------------------------------------------------------------------
/src/mode/_test/tokens_gitignore.json:
--------------------------------------------------------------------------------
1 | [[
2 | "start",
3 | ["comment","# A sample .gitignore file."]
4 | ],[
5 | "start"
6 | ],[
7 | "start",
8 | ["text",".buildlog"]
9 | ],[
10 | "start",
11 | ["text",".DS_Store"]
12 | ],[
13 | "start",
14 | ["text",".svn"]
15 | ],[
16 | "start"
17 | ],[
18 | "start",
19 | ["comment","# Negated patterns:"]
20 | ],[
21 | "start",
22 | ["keyword","!foo.bar"]
23 | ],[
24 | "start"
25 | ],[
26 | "start",
27 | ["comment","# Also ignore user settings..."]
28 | ],[
29 | "start",
30 | ["text","/.settings"]
31 | ],[
32 | "start"
33 | ]]
--------------------------------------------------------------------------------
/src/mode/_test/tokens_ini.json:
--------------------------------------------------------------------------------
1 | [[
2 | "start",
3 | ["punctuation.definition.entity.ini","["],
4 | ["constant.section.group-title.ini",".ShellClassInfo"],
5 | ["punctuation.definition.entity.ini","]"]
6 | ],[
7 | "start",
8 | ["keyword.other.definition.ini","IconResource"],
9 | ["punctuation.separator.key-value.ini","="],
10 | ["text","..\\logo.png"]
11 | ],[
12 | "start",
13 | ["punctuation.definition.entity.ini","["],
14 | ["constant.section.group-title.ini","ViewState"],
15 | ["punctuation.definition.entity.ini","]"]
16 | ],[
17 | "start",
18 | ["keyword.other.definition.ini","FolderType"],
19 | ["punctuation.separator.key-value.ini","="],
20 | ["text","Generic"]
21 | ],[
22 | "start"
23 | ]]
--------------------------------------------------------------------------------
/src/mode/_test/tokens_livescript.json:
--------------------------------------------------------------------------------
1 | [[
2 | "start",
3 | ["comment","# comment"]
4 | ],[
5 | "start"
6 | ]]
--------------------------------------------------------------------------------
/src/mode/_test/tokens_mysql.json:
--------------------------------------------------------------------------------
1 | [[
2 | "start",
3 | ["identifier","TODO"]
4 | ]]
--------------------------------------------------------------------------------
/src/mode/_test/tokens_razor.json:
--------------------------------------------------------------------------------
1 | [[
2 | ["razor-block-start","@{"],
3 | ["punctuation.block.razor","@{"]
4 | ],[
5 | ["razor-block-start","@{"],
6 | ["text","\t"],
7 | ["identifier","Layout"],
8 | ["text"," "],
9 | ["keyword.operator","="],
10 | ["text"," "],
11 | ["string.start","\""],
12 | ["string","~/layout"],
13 | ["string.end","\""]
14 | ],[
15 | "start",
16 | ["punctuation.block.razor","}"]
17 | ]]
--------------------------------------------------------------------------------
/src/mode/abap.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var Rules = require("./abap_highlight_rules").AbapHighlightRules;
4 | var FoldMode = require("./folding/coffee").FoldMode;
5 | var Range = require("../range").Range;
6 | var TextMode = require("./text").Mode;
7 | var oop = require("../lib/oop");
8 |
9 | function Mode() {
10 | this.HighlightRules = Rules;
11 | this.foldingRules = new FoldMode();
12 | }
13 |
14 | oop.inherits(Mode, TextMode);
15 |
16 | (function() {
17 |
18 | this.lineCommentStart = '"';
19 |
20 | this.getNextLineIndent = function(state, line, tab) {
21 | var indent = this.$getIndent(line);
22 | return indent;
23 | };
24 |
25 | this.$id = "ace/mode/abap";
26 | }).call(Mode.prototype);
27 |
28 | exports.Mode = Mode;
29 |
--------------------------------------------------------------------------------
/src/mode/alda.js:
--------------------------------------------------------------------------------
1 | /*
2 | THIS FILE WAS AUTOGENERATED BY mode.tmpl.js
3 | */
4 |
5 | "use strict";
6 |
7 | var oop = require("../lib/oop");
8 | var TextMode = require("./text").Mode;
9 | var AldaHighlightRules = require("./alda_highlight_rules").AldaHighlightRules;
10 | // TODO: pick appropriate fold mode
11 | var FoldMode = require("./folding/cstyle").FoldMode;
12 |
13 | var Mode = function() {
14 | this.HighlightRules = AldaHighlightRules;
15 | this.foldingRules = new FoldMode();
16 | };
17 | oop.inherits(Mode, TextMode);
18 |
19 | (function() {
20 | // this.lineCommentStart = ""\\(comment\\b"";
21 | // this.blockComment = {start: ""/*"", end: ""*/""};
22 | // Extra logic goes here.
23 | this.$id = "ace/mode/alda";
24 | }).call(Mode.prototype);
25 |
26 | exports.Mode = Mode;
27 |
--------------------------------------------------------------------------------
/src/mode/apache_conf.js:
--------------------------------------------------------------------------------
1 | /*
2 | THIS FILE WAS AUTOGENERATED BY mode.tmpl.js
3 | */
4 |
5 | "use strict";
6 |
7 | var oop = require("../lib/oop");
8 | var TextMode = require("./text").Mode;
9 | var ApacheConfHighlightRules = require("./apache_conf_highlight_rules").ApacheConfHighlightRules;
10 | var FoldMode = require("./folding/cstyle").FoldMode;
11 |
12 | var Mode = function() {
13 | this.HighlightRules = ApacheConfHighlightRules;
14 | this.foldingRules = new FoldMode();
15 | this.$behaviour = this.$defaultBehaviour;
16 | };
17 | oop.inherits(Mode, TextMode);
18 |
19 | (function() {
20 | this.lineCommentStart = "#";
21 | this.$id = "ace/mode/apache_conf";
22 | // Extra logic goes here.
23 | }).call(Mode.prototype);
24 |
25 | exports.Mode = Mode;
26 |
--------------------------------------------------------------------------------
/src/mode/apex.js:
--------------------------------------------------------------------------------
1 | /* caption: Apex; extensions: apex,cls,trigger,tgr */
2 |
3 | "use strict";
4 |
5 | var oop = require("../lib/oop");
6 | var TextMode = require("../mode/text").Mode;
7 | var ApexHighlightRules = require("./apex_highlight_rules").ApexHighlightRules;
8 | var FoldMode = require("../mode/folding/cstyle").FoldMode;
9 |
10 | function ApexMode() {
11 | TextMode.call(this);
12 |
13 | this.HighlightRules = ApexHighlightRules;
14 | this.foldingRules = new FoldMode();
15 | this.$behaviour = this.$defaultBehaviour;
16 | }
17 |
18 | oop.inherits(ApexMode, TextMode);
19 |
20 | ApexMode.prototype.lineCommentStart = "//";
21 |
22 | ApexMode.prototype.blockComment = {
23 | start: "/*",
24 | end: "*/"
25 | };
26 |
27 | exports.Mode = ApexMode;
28 |
--------------------------------------------------------------------------------
/src/mode/applescript.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var TextMode = require("./text").Mode;
5 | var AppleScriptHighlightRules = require("./applescript_highlight_rules").AppleScriptHighlightRules;
6 | var FoldMode = require("./folding/cstyle").FoldMode;
7 |
8 | var Mode = function() {
9 | this.HighlightRules = AppleScriptHighlightRules;
10 | this.foldingRules = new FoldMode();
11 | this.$behaviour = this.$defaultBehaviour;
12 | };
13 | oop.inherits(Mode, TextMode);
14 |
15 | (function() {
16 | this.lineCommentStart = "--";
17 | this.blockComment = {start: "(*", end: "*)"};
18 | this.$id = "ace/mode/applescript";
19 | // Extra logic goes here.
20 | }).call(Mode.prototype);
21 |
22 | exports.Mode = Mode;
23 |
--------------------------------------------------------------------------------
/src/mode/aql.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var TextMode = require("./text").Mode;
5 | var AqlHighlightRules = require("./aql_highlight_rules").AqlHighlightRules;
6 |
7 | var Mode = function() {
8 | this.HighlightRules = AqlHighlightRules;
9 | this.$behaviour = this.$defaultBehaviour;
10 | };
11 | oop.inherits(Mode, TextMode);
12 |
13 | (function() {
14 |
15 | this.lineCommentStart = "//";
16 |
17 | this.$id = "ace/mode/aql";
18 | }).call(Mode.prototype);
19 |
20 | exports.Mode = Mode;
21 |
--------------------------------------------------------------------------------
/src/mode/asl.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var TextMode = require("./text").Mode;
5 | var ASLHighlightRules = require("./asl_highlight_rules").ASLHighlightRules;
6 | var FoldMode = require("./folding/cstyle").FoldMode;
7 |
8 | var Mode = function () {
9 | this.HighlightRules = ASLHighlightRules;
10 | this.foldingRules = new FoldMode();
11 | this.$behaviour = this.$defaultBehaviour;
12 | };
13 | oop.inherits(Mode, TextMode);
14 |
15 | (function () {
16 | this.$id = "ace/mode/asl";
17 | }).call(Mode.prototype);
18 |
19 | exports.Mode = Mode;
20 |
--------------------------------------------------------------------------------
/src/mode/assembly_arm32.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var TextMode = require("./text").Mode;
5 | var AssemblyARM32HighlightRules = require("./assembly_arm32_highlight_rules").AssemblyARM32HighlightRules;
6 | var FoldMode = require("./folding/coffee").FoldMode;
7 |
8 | var Mode = function() {
9 | this.HighlightRules = AssemblyARM32HighlightRules;
10 | this.foldingRules = new FoldMode();
11 | this.$behaviour = this.$defaultBehaviour;
12 | };
13 | oop.inherits(Mode, TextMode);
14 |
15 | (function() {
16 | this.lineCommentStart = [";"];
17 | this.blockComment = {start: "/*", end: "*/"};
18 | this.$id = "ace/mode/assembly_arm32";
19 | }).call(Mode.prototype);
20 |
21 | exports.Mode = Mode;
--------------------------------------------------------------------------------
/src/mode/assembly_x86.js:
--------------------------------------------------------------------------------
1 | /*
2 | THIS FILE WAS AUTOGENERATED BY mode.tmpl.js
3 | */
4 |
5 | "use strict";
6 |
7 | var oop = require("../lib/oop");
8 | var TextMode = require("./text").Mode;
9 | var AssemblyX86HighlightRules = require("./assembly_x86_highlight_rules").AssemblyX86HighlightRules;
10 | var FoldMode = require("./folding/coffee").FoldMode;
11 |
12 | var Mode = function() {
13 | this.HighlightRules = AssemblyX86HighlightRules;
14 | this.foldingRules = new FoldMode();
15 | this.$behaviour = this.$defaultBehaviour;
16 | };
17 | oop.inherits(Mode, TextMode);
18 |
19 | (function() {
20 | this.lineCommentStart = [";"];
21 | this.$id = "ace/mode/assembly_x86";
22 | }).call(Mode.prototype);
23 |
24 | exports.Mode = Mode;
25 |
--------------------------------------------------------------------------------
/src/mode/astro.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var HtmlMode = require("./html").Mode;
5 | var AstroHighlightRules = require("./astro_highlight_rules").AstroHighlightRules;
6 | var HtmlBehaviour = require("./behaviour/html").HtmlBehaviour;
7 |
8 | var Mode = function() {
9 | HtmlMode.call(this);
10 | this.HighlightRules = AstroHighlightRules;
11 | this.$behaviour = new HtmlBehaviour();
12 | };
13 |
14 | oop.inherits(Mode, HtmlMode);
15 |
16 | (function() {
17 | this.$id = "ace/mode/astro";
18 | }).call(Mode.prototype);
19 |
20 | exports.Mode = Mode;
--------------------------------------------------------------------------------
/src/mode/autohotkey.js:
--------------------------------------------------------------------------------
1 | /*
2 | THIS FILE WAS AUTOGENERATED BY mode.tmpl.js
3 | */
4 |
5 | "use strict";
6 |
7 | var oop = require("../lib/oop");
8 | var TextMode = require("./text").Mode;
9 | var AutoHotKeyHighlightRules = require("./autohotkey_highlight_rules").AutoHotKeyHighlightRules;
10 | var FoldMode = require("./folding/cstyle").FoldMode;
11 |
12 | var Mode = function() {
13 | this.HighlightRules = AutoHotKeyHighlightRules;
14 | this.foldingRules = new FoldMode();
15 | this.$behaviour = this.$defaultBehaviour;
16 | };
17 | oop.inherits(Mode, TextMode);
18 |
19 | (function() {
20 | this.lineCommentStart = ";";
21 | this.blockComment = {start: "/*", end: "*/"};
22 | this.$id = "ace/mode/autohotkey";
23 | }).call(Mode.prototype);
24 |
25 | exports.Mode = Mode;
26 |
--------------------------------------------------------------------------------
/src/mode/batchfile.js:
--------------------------------------------------------------------------------
1 | /*
2 | THIS FILE WAS AUTOGENERATED BY mode.tmpl.js
3 | */
4 |
5 | "use strict";
6 |
7 | var oop = require("../lib/oop");
8 | var TextMode = require("./text").Mode;
9 | var BatchFileHighlightRules = require("./batchfile_highlight_rules").BatchFileHighlightRules;
10 | var FoldMode = require("./folding/cstyle").FoldMode;
11 |
12 | var Mode = function() {
13 | this.HighlightRules = BatchFileHighlightRules;
14 | this.foldingRules = new FoldMode();
15 | this.$behaviour = this.$defaultBehaviour;
16 | };
17 | oop.inherits(Mode, TextMode);
18 |
19 | (function() {
20 | this.lineCommentStart = "::";
21 | this.blockComment = "";
22 | this.$id = "ace/mode/batchfile";
23 | }).call(Mode.prototype);
24 |
25 | exports.Mode = Mode;
26 |
--------------------------------------------------------------------------------
/src/mode/behaviour/html.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../../lib/oop");
4 | var XmlBehaviour = require("../behaviour/xml").XmlBehaviour;
5 |
6 | /**@type {(new() => Partial)}*/
7 | var HtmlBehaviour = function () {
8 |
9 | XmlBehaviour.call(this);
10 |
11 | };
12 |
13 | oop.inherits(HtmlBehaviour, XmlBehaviour);
14 |
15 | exports.HtmlBehaviour = HtmlBehaviour;
16 |
--------------------------------------------------------------------------------
/src/mode/bibtex.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var TextMode = require("./text").Mode;
5 | var BibTeXHighlightRules = require("./bibtex_highlight_rules").BibTeXHighlightRules;
6 | var FoldMode = require("./folding/cstyle").FoldMode;
7 |
8 | var Mode = function() {
9 | this.HighlightRules = BibTeXHighlightRules;
10 | this.foldingRules = new FoldMode();
11 | };
12 | oop.inherits(Mode, TextMode);
13 |
14 | (function() {
15 | this.$id = "ace/mode/bibtex";
16 | }).call(Mode.prototype);
17 |
18 | exports.Mode = Mode;
--------------------------------------------------------------------------------
/src/mode/cirru.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var TextMode = require("./text").Mode;
5 | var CirruHighlightRules = require("./cirru_highlight_rules").CirruHighlightRules;
6 | var CoffeeFoldMode = require("./folding/coffee").FoldMode;
7 |
8 | var Mode = function() {
9 | this.HighlightRules = CirruHighlightRules;
10 | this.foldingRules = new CoffeeFoldMode();
11 | this.$behaviour = this.$defaultBehaviour;
12 | };
13 | oop.inherits(Mode, TextMode);
14 |
15 | (function() {
16 | this.lineCommentStart = "--";
17 | this.$id = "ace/mode/cirru";
18 | }).call(Mode.prototype);
19 |
20 | exports.Mode = Mode;
21 |
--------------------------------------------------------------------------------
/src/mode/cobol.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var TextMode = require("./text").Mode;
5 | var CobolHighlightRules = require("./cobol_highlight_rules").CobolHighlightRules;
6 |
7 | var Mode = function() {
8 | this.HighlightRules = CobolHighlightRules;
9 | this.$behaviour = this.$defaultBehaviour;
10 | };
11 | oop.inherits(Mode, TextMode);
12 |
13 | (function() {
14 |
15 | this.lineCommentStart = "*";
16 |
17 | this.$id = "ace/mode/cobol";
18 | }).call(Mode.prototype);
19 |
20 | exports.Mode = Mode;
21 |
--------------------------------------------------------------------------------
/src/mode/csound_document.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var TextMode = require("./text").Mode;
5 | var CsoundDocumentHighlightRules = require("./csound_document_highlight_rules").CsoundDocumentHighlightRules;
6 |
7 | var Mode = function() {
8 | this.HighlightRules = CsoundDocumentHighlightRules;
9 | };
10 | oop.inherits(Mode, TextMode);
11 |
12 | (function() {
13 | this.$id = "ace/mode/csound_document";
14 | this.snippetFileId = "ace/snippets/csound_document";
15 | }).call(Mode.prototype);
16 |
17 | exports.Mode = Mode;
18 |
--------------------------------------------------------------------------------
/src/mode/csound_orchestra.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var TextMode = require("./text").Mode;
5 | var CsoundOrchestraHighlightRules = require("./csound_orchestra_highlight_rules").CsoundOrchestraHighlightRules;
6 |
7 | var Mode = function() {
8 | this.HighlightRules = CsoundOrchestraHighlightRules;
9 | };
10 | oop.inherits(Mode, TextMode);
11 |
12 | (function() {
13 |
14 | this.lineCommentStart = ";";
15 | this.blockComment = {start: "/*", end: "*/"};
16 |
17 | this.$id = "ace/mode/csound_orchestra";
18 | this.snippetFileId = "ace/snippets/csound_orchestra";
19 | }).call(Mode.prototype);
20 |
21 | exports.Mode = Mode;
22 |
--------------------------------------------------------------------------------
/src/mode/csound_score.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var TextMode = require("./text").Mode;
5 | var CsoundScoreHighlightRules = require("./csound_score_highlight_rules").CsoundScoreHighlightRules;
6 |
7 | var Mode = function() {
8 | this.HighlightRules = CsoundScoreHighlightRules;
9 | };
10 | oop.inherits(Mode, TextMode);
11 |
12 | (function() {
13 |
14 | this.lineCommentStart = ";";
15 | this.blockComment = {start: "/*", end: "*/"};
16 |
17 | this.$id = "ace/mode/csound_score";
18 | }).call(Mode.prototype);
19 |
20 | exports.Mode = Mode;
21 |
--------------------------------------------------------------------------------
/src/mode/csp.js:
--------------------------------------------------------------------------------
1 | /*
2 | THIS FILE WAS AUTOGENERATED BY mode.tmpl.js
3 | */
4 |
5 | "use strict";
6 |
7 | var TextMode = require("./text").Mode;
8 | var CspHighlightRules = require("./csp_highlight_rules").CspHighlightRules;
9 | var oop = require("../lib/oop");
10 |
11 | var Mode = function() {
12 | this.HighlightRules = CspHighlightRules;
13 | };
14 |
15 | oop.inherits(Mode, TextMode);
16 |
17 | (function() {
18 | this.$id = "ace/mode/csp";
19 | }).call(Mode.prototype);
20 |
21 | exports.Mode = Mode;
22 |
--------------------------------------------------------------------------------
/src/mode/csv_highlight_rules.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
5 |
6 |
7 | var CsvHighlightRules = function() {
8 | TextHighlightRules.call(this);
9 | };
10 |
11 | oop.inherits(CsvHighlightRules, TextHighlightRules);
12 |
13 | exports.CsvHighlightRules = CsvHighlightRules;
14 |
--------------------------------------------------------------------------------
/src/mode/curly_highlight_rules.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var HtmlHighlightRules = require("./html_highlight_rules").HtmlHighlightRules;
5 |
6 |
7 | var CurlyHighlightRules = function() {
8 | HtmlHighlightRules.call(this);
9 |
10 | this.$rules["start"].unshift({
11 | token: "variable",
12 | regex: "{{",
13 | push: "curly-start"
14 | });
15 |
16 | this.$rules["curly-start"] = [{
17 | token: "variable",
18 | regex: "}}",
19 | next: "pop"
20 | }];
21 |
22 | this.normalizeRules();
23 | };
24 |
25 | oop.inherits(CurlyHighlightRules, HtmlHighlightRules);
26 |
27 | exports.CurlyHighlightRules = CurlyHighlightRules;
28 |
--------------------------------------------------------------------------------
/src/mode/cuttlefish.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var TextMode = require("./text").Mode;
5 | var CuttlefishHighlightRules = require("./cuttlefish_highlight_rules").CuttlefishHighlightRules;
6 |
7 | var Mode = function() {
8 | this.HighlightRules = CuttlefishHighlightRules;
9 | this.foldingRules = null;
10 | this.$behaviour = this.$defaultBehaviour;
11 | };
12 | oop.inherits(Mode, TextMode);
13 |
14 | (function() {
15 | this.lineCommentStart = "#";
16 | this.blockComment = null;
17 | this.$id = "ace/mode/cuttlefish";
18 | }).call(Mode.prototype);
19 |
20 | exports.Mode = Mode;
21 |
--------------------------------------------------------------------------------
/src/mode/d.js:
--------------------------------------------------------------------------------
1 | /*
2 | THIS FILE WAS AUTOGENERATED BY mode.tmpl.js
3 | */
4 |
5 | "use strict";
6 |
7 | var oop = require("../lib/oop");
8 | var TextMode = require("./text").Mode;
9 | var DHighlightRules = require("./d_highlight_rules").DHighlightRules;
10 | var FoldMode = require("./folding/cstyle").FoldMode;
11 |
12 | var Mode = function() {
13 | this.HighlightRules = DHighlightRules;
14 | this.foldingRules = new FoldMode();
15 | this.$behaviour = this.$defaultBehaviour;
16 | };
17 | oop.inherits(Mode, TextMode);
18 |
19 | (function() {
20 | this.lineCommentStart = "//";
21 | this.blockComment = {start: "/*", end: "*/"};
22 | this.$id = "ace/mode/d";
23 | }).call(Mode.prototype);
24 |
25 | exports.Mode = Mode;
26 |
--------------------------------------------------------------------------------
/src/mode/diff.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var TextMode = require("./text").Mode;
5 | var HighlightRules = require("./diff_highlight_rules").DiffHighlightRules;
6 | var FoldMode = require("./folding/diff").FoldMode;
7 |
8 | var Mode = function() {
9 | this.HighlightRules = HighlightRules;
10 | this.foldingRules = new FoldMode(["diff", "@@|\\*{5}"], "i");
11 | };
12 | oop.inherits(Mode, TextMode);
13 |
14 | (function() {
15 |
16 | this.$id = "ace/mode/diff";
17 | this.snippetFileId = "ace/snippets/diff";
18 | }).call(Mode.prototype);
19 |
20 | exports.Mode = Mode;
21 |
--------------------------------------------------------------------------------
/src/mode/dockerfile.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var ShMode = require("./sh").Mode;
5 | var DockerfileHighlightRules = require("./dockerfile_highlight_rules").DockerfileHighlightRules;
6 | var CStyleFoldMode = require("./folding/cstyle").FoldMode;
7 |
8 | var Mode = function() {
9 | ShMode.call(this);
10 |
11 | this.HighlightRules = DockerfileHighlightRules;
12 | this.foldingRules = new CStyleFoldMode();
13 | };
14 | oop.inherits(Mode, ShMode);
15 |
16 | (function() {
17 | this.$id = "ace/mode/dockerfile";
18 | }).call(Mode.prototype);
19 |
20 | exports.Mode = Mode;
21 |
--------------------------------------------------------------------------------
/src/mode/drools.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var TextMode = require("./text").Mode;
5 | var DroolsHighlightRules = require("./drools_highlight_rules").DroolsHighlightRules;
6 | var DroolsFoldMode = require("./folding/drools").FoldMode;
7 |
8 | var Mode = function() {
9 | this.HighlightRules = DroolsHighlightRules;
10 | this.foldingRules = new DroolsFoldMode();
11 | this.$behaviour = this.$defaultBehaviour;
12 |
13 | };
14 | oop.inherits(Mode, TextMode);
15 |
16 | (function() {
17 | this.lineCommentStart = "//";
18 | this.$id = "ace/mode/drools";
19 | this.snippetFileId = "ace/snippets/drools";
20 | }).call(Mode.prototype);
21 |
22 | exports.Mode = Mode;
23 |
--------------------------------------------------------------------------------
/src/mode/edifact.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var TextMode = require("./text").Mode;
5 | var EdifactHighlightRules = require("./edifact_highlight_rules").EdifactHighlightRules;
6 |
7 | var Mode = function() {
8 |
9 | this.HighlightRules = EdifactHighlightRules;
10 | this.$behaviour = this.$defaultBehaviour;
11 | };
12 | oop.inherits(Mode, TextMode);
13 |
14 | (function() {
15 | this.$id = "ace/mode/edifact";
16 | this.snippetFileId = "ace/snippets/edifact";
17 | }).call(Mode.prototype);
18 |
19 | exports.Mode = Mode;
20 |
--------------------------------------------------------------------------------
/src/mode/eiffel.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var TextMode = require("./text").Mode;
5 | var EiffelHighlightRules = require("./eiffel_highlight_rules").EiffelHighlightRules;
6 |
7 | var Mode = function() {
8 | this.HighlightRules = EiffelHighlightRules;
9 | this.$behaviour = this.$defaultBehaviour;
10 | };
11 | oop.inherits(Mode, TextMode);
12 |
13 | (function() {
14 | this.lineCommentStart = "--";
15 | this.$id = "ace/mode/eiffel";
16 | }).call(Mode.prototype);
17 |
18 | exports.Mode = Mode;
19 |
--------------------------------------------------------------------------------
/src/mode/elixir.js:
--------------------------------------------------------------------------------
1 | /*
2 | THIS FILE WAS AUTOGENERATED BY mode.tmpl.js
3 | */
4 |
5 | "use strict";
6 |
7 | var oop = require("../lib/oop");
8 | var TextMode = require("./text").Mode;
9 | var ElixirHighlightRules = require("./elixir_highlight_rules").ElixirHighlightRules;
10 | var FoldMode = require("./folding/coffee").FoldMode;
11 |
12 | var Mode = function() {
13 | this.HighlightRules = ElixirHighlightRules;
14 | this.foldingRules = new FoldMode();
15 | this.$behaviour = this.$defaultBehaviour;
16 | };
17 | oop.inherits(Mode, TextMode);
18 |
19 | (function() {
20 | this.lineCommentStart = "#";
21 | // this.blockComment = {start: ""/*"", end: ""*/""};
22 | // Extra logic goes here.
23 | this.$id = "ace/mode/elixir";
24 | }).call(Mode.prototype);
25 |
26 | exports.Mode = Mode;
27 |
--------------------------------------------------------------------------------
/src/mode/elm.js:
--------------------------------------------------------------------------------
1 | /*
2 | THIS FILE WAS AUTOGENERATED BY mode.tmpl.js
3 | */
4 |
5 | "use strict";
6 |
7 | var oop = require("../lib/oop");
8 | var TextMode = require("./text").Mode;
9 | var HighlightRules = require("./elm_highlight_rules").ElmHighlightRules;
10 | var FoldMode = require("./folding/cstyle").FoldMode;
11 |
12 | var Mode = function() {
13 | this.HighlightRules = HighlightRules;
14 | this.foldingRules = new FoldMode();
15 | this.$behaviour = this.$defaultBehaviour;
16 | };
17 | oop.inherits(Mode, TextMode);
18 |
19 | (function() {
20 | this.lineCommentStart = "--";
21 | this.blockComment = {start: "{-", end: "-}", nestable: true};
22 | // Extra logic goes here.
23 | this.$id = "ace/mode/elm";
24 | }).call(Mode.prototype);
25 |
26 | exports.Mode = Mode;
27 |
--------------------------------------------------------------------------------
/src/mode/erlang.js:
--------------------------------------------------------------------------------
1 | /*
2 | THIS FILE WAS AUTOGENERATED BY mode.tmpl.js
3 | */
4 |
5 | "use strict";
6 |
7 | var oop = require("../lib/oop");
8 | var TextMode = require("./text").Mode;
9 | var ErlangHighlightRules = require("./erlang_highlight_rules").ErlangHighlightRules;
10 | var FoldMode = require("./folding/cstyle").FoldMode;
11 |
12 | var Mode = function() {
13 | this.HighlightRules = ErlangHighlightRules;
14 | this.foldingRules = new FoldMode();
15 | this.$behaviour = this.$defaultBehaviour;
16 | };
17 | oop.inherits(Mode, TextMode);
18 |
19 | (function() {
20 | this.lineCommentStart = "%";
21 | this.blockComment = null;
22 | this.$id = "ace/mode/erlang";
23 | this.snippetFileId = "ace/snippets/erlang";
24 | }).call(Mode.prototype);
25 |
26 | exports.Mode = Mode;
27 |
--------------------------------------------------------------------------------
/src/mode/flix.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var TextMode = require("./text").Mode;
5 | var FlixHighlightRules = require("./flix_highlight_rules").FlixHighlightRules;
6 |
7 | var Mode = function() {
8 | this.HighlightRules = FlixHighlightRules;
9 | };
10 | oop.inherits(Mode, TextMode);
11 |
12 | (function() {
13 | this.$id = "ace/mode/flix";
14 | }).call(Mode.prototype);
15 |
16 | exports.Mode = Mode;
--------------------------------------------------------------------------------
/src/mode/folding/html.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../../lib/oop");
4 | var MixedFoldMode = require("./mixed").FoldMode;
5 | var XmlFoldMode = require("./xml").FoldMode;
6 | var CStyleFoldMode = require("./cstyle").FoldMode;
7 |
8 | var FoldMode = exports.FoldMode = function(voidElements, optionalTags) {
9 | MixedFoldMode.call(this, new XmlFoldMode(voidElements, optionalTags), {
10 | "js-": new CStyleFoldMode(),
11 | "css-": new CStyleFoldMode()
12 | });
13 | };
14 |
15 | oop.inherits(FoldMode, MixedFoldMode);
16 |
--------------------------------------------------------------------------------
/src/mode/folding/sql.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../../lib/oop");
4 | var BaseFoldMode = require("./cstyle").FoldMode;
5 |
6 | var FoldMode = exports.FoldMode = function() {};
7 |
8 | oop.inherits(FoldMode, BaseFoldMode);
9 |
10 | (function() {
11 | /**
12 | * Inheriting cstyle folding because it handles the region comment folding
13 | * and special block comment folding appropriately.
14 | *
15 | * Cstyle's getCommentRegionBlock() contains the sql comment characters '--' for end region block.
16 | */
17 |
18 |
19 | }).call(FoldMode.prototype);
20 |
--------------------------------------------------------------------------------
/src/mode/forth.js:
--------------------------------------------------------------------------------
1 | /*
2 | THIS FILE WAS AUTOGENERATED BY mode.tmpl.js
3 | */
4 |
5 | "use strict";
6 |
7 | var oop = require("../lib/oop");
8 | var TextMode = require("./text").Mode;
9 | var ForthHighlightRules = require("./forth_highlight_rules").ForthHighlightRules;
10 | var FoldMode = require("./folding/cstyle").FoldMode;
11 |
12 | var Mode = function() {
13 | this.HighlightRules = ForthHighlightRules;
14 | this.foldingRules = new FoldMode();
15 | this.$behaviour = this.$defaultBehaviour;
16 | };
17 | oop.inherits(Mode, TextMode);
18 |
19 | (function() {
20 | this.lineCommentStart = "--";
21 | this.blockComment = null;
22 | this.$id = "ace/mode/forth";
23 | }).call(Mode.prototype);
24 |
25 | exports.Mode = Mode;
26 |
--------------------------------------------------------------------------------
/src/mode/fsharp.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var TextMode = require("./text").Mode;
5 | var FSharpHighlightRules = require("./fsharp_highlight_rules").FSharpHighlightRules;
6 | var CStyleFoldMode = require("./folding/cstyle").FoldMode;
7 |
8 | var Mode = function () {
9 | TextMode.call(this);
10 | this.HighlightRules = FSharpHighlightRules;
11 | this.foldingRules = new CStyleFoldMode();
12 | };
13 |
14 | oop.inherits(Mode, TextMode);
15 |
16 |
17 | (function () {
18 | this.lineCommentStart = "//";
19 | this.blockComment = {start: "(*", end: "*)", nestable: true};
20 |
21 |
22 | this.$id = "ace/mode/fsharp";
23 | }).call(Mode.prototype);
24 |
25 | exports.Mode = Mode;
26 |
--------------------------------------------------------------------------------
/src/mode/ftl.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var TextMode = require("./text").Mode;
5 | var FtlHighlightRules = require("./ftl_highlight_rules").FtlHighlightRules;
6 |
7 | var Mode = function() {
8 | this.HighlightRules = FtlHighlightRules;
9 | this.$behaviour = this.$defaultBehaviour;
10 | };
11 | oop.inherits(Mode, TextMode);
12 |
13 | (function() {
14 |
15 | this.$id = "ace/mode/ftl";
16 | }).call(Mode.prototype);
17 |
18 | exports.Mode = Mode;
19 |
--------------------------------------------------------------------------------
/src/mode/gcode.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var TextMode = require("./text").Mode;
5 | var GcodeHighlightRules = require("./gcode_highlight_rules").GcodeHighlightRules;
6 | var Range = require("../range").Range;
7 |
8 | var Mode = function() {
9 | this.HighlightRules = GcodeHighlightRules;
10 | this.$behaviour = this.$defaultBehaviour;
11 | };
12 | oop.inherits(Mode, TextMode);
13 |
14 | (function() {
15 | this.$id = "ace/mode/gcode";
16 | }).call(Mode.prototype);
17 |
18 | exports.Mode = Mode;
19 |
--------------------------------------------------------------------------------
/src/mode/gitignore.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var TextMode = require("./text").Mode;
5 | var GitignoreHighlightRules = require("./gitignore_highlight_rules").GitignoreHighlightRules;
6 |
7 | var Mode = function() {
8 | this.HighlightRules = GitignoreHighlightRules;
9 | this.$behaviour = this.$defaultBehaviour;
10 | };
11 | oop.inherits(Mode, TextMode);
12 |
13 | (function() {
14 | this.lineCommentStart = "#";
15 | this.$id = "ace/mode/gitignore";
16 | }).call(Mode.prototype);
17 |
18 | exports.Mode = Mode;
19 |
--------------------------------------------------------------------------------
/src/mode/glsl.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var CMode = require("./c_cpp").Mode;
5 | var glslHighlightRules = require("./glsl_highlight_rules").glslHighlightRules;
6 | var MatchingBraceOutdent = require("./matching_brace_outdent").MatchingBraceOutdent;
7 | var CStyleFoldMode = require("./folding/cstyle").FoldMode;
8 |
9 | var Mode = function() {
10 | this.HighlightRules = glslHighlightRules;
11 |
12 | this.$outdent = new MatchingBraceOutdent();
13 | this.$behaviour = this.$defaultBehaviour;
14 | this.foldingRules = new CStyleFoldMode();
15 | };
16 | oop.inherits(Mode, CMode);
17 |
18 | (function() {
19 | this.$id = "ace/mode/glsl";
20 | }).call(Mode.prototype);
21 |
22 | exports.Mode = Mode;
23 |
--------------------------------------------------------------------------------
/src/mode/gobstones.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var JavaScriptMode = require("./javascript").Mode;
5 | var GobstonesHighlightRules = require("./gobstones_highlight_rules").GobstonesHighlightRules;
6 |
7 | var Mode = function() {
8 | JavaScriptMode.call(this);
9 | this.HighlightRules = GobstonesHighlightRules;
10 | this.$behaviour = this.$defaultBehaviour;
11 | };
12 | oop.inherits(Mode, JavaScriptMode);
13 |
14 | (function() {
15 |
16 | this.createWorker = function() {
17 | return null;
18 | };
19 |
20 | this.$id = "ace/mode/gobstones";
21 | this.snippetFileId = "ace/snippets/gobstones";
22 | }).call(Mode.prototype);
23 |
24 | exports.Mode = Mode;
25 |
--------------------------------------------------------------------------------
/src/mode/graphqlschema.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var TextMode = require("./text").Mode;
5 | var GraphQLSchemaHighlightRules = require("./graphqlschema_highlight_rules").GraphQLSchemaHighlightRules;
6 | var FoldMode = require("./folding/cstyle").FoldMode;
7 |
8 | var Mode = function() {
9 | this.HighlightRules = GraphQLSchemaHighlightRules;
10 | this.foldingRules = new FoldMode();
11 | };
12 | oop.inherits(Mode, TextMode);
13 |
14 | (function() {
15 | this.lineCommentStart = "#";
16 | this.$id = "ace/mode/graphqlschema";
17 | this.snippetFileId = "ace/snippets/graphqlschema";
18 | }).call(Mode.prototype);
19 |
20 | exports.Mode = Mode;
21 |
--------------------------------------------------------------------------------
/src/mode/groovy.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var JavaScriptMode = require("./javascript").Mode;
5 | var GroovyHighlightRules = require("./groovy_highlight_rules").GroovyHighlightRules;
6 |
7 | var Mode = function() {
8 | JavaScriptMode.call(this);
9 | this.HighlightRules = GroovyHighlightRules;
10 | this.$behaviour = this.$defaultBehaviour;
11 | };
12 | oop.inherits(Mode, JavaScriptMode);
13 |
14 | (function() {
15 |
16 | this.createWorker = function(session) {
17 | return null;
18 | };
19 |
20 | this.$id = "ace/mode/groovy";
21 | }).call(Mode.prototype);
22 |
23 | exports.Mode = Mode;
24 |
--------------------------------------------------------------------------------
/src/mode/haml.js:
--------------------------------------------------------------------------------
1 | /*
2 | THIS FILE WAS AUTOGENERATED BY mode.tmpl.js
3 | */
4 |
5 | "use strict";
6 |
7 | var oop = require("../lib/oop");
8 | var TextMode = require("./text").Mode;
9 | var HamlHighlightRules = require("./haml_highlight_rules").HamlHighlightRules;
10 | var FoldMode = require("./folding/coffee").FoldMode;
11 |
12 | var Mode = function() {
13 | this.HighlightRules = HamlHighlightRules;
14 | this.foldingRules = new FoldMode();
15 | this.$behaviour = this.$defaultBehaviour;
16 | };
17 | oop.inherits(Mode, TextMode);
18 |
19 | (function() {
20 | this.lineCommentStart = "//";
21 |
22 | this.$id = "ace/mode/haml";
23 | this.snippetFileId = "ace/snippets/haml";
24 | }).call(Mode.prototype);
25 |
26 | exports.Mode = Mode;
27 |
--------------------------------------------------------------------------------
/src/mode/handlebars.js:
--------------------------------------------------------------------------------
1 | /* global define */
2 |
3 | "use strict";
4 |
5 | var oop = require("../lib/oop");
6 | var HtmlMode = require("./html").Mode;
7 | var HandlebarsHighlightRules = require("./handlebars_highlight_rules").HandlebarsHighlightRules;
8 | var HtmlBehaviour = require("./behaviour/html").HtmlBehaviour;
9 | var HtmlFoldMode = require("./folding/html").FoldMode;
10 |
11 | var Mode = function() {
12 | HtmlMode.call(this);
13 | this.HighlightRules = HandlebarsHighlightRules;
14 | this.$behaviour = new HtmlBehaviour();
15 | };
16 |
17 | oop.inherits(Mode, HtmlMode);
18 |
19 | (function() {
20 | this.blockComment = {start: "{{!--", end: "--}}"};
21 | this.$id = "ace/mode/handlebars";
22 | }).call(Mode.prototype);
23 |
24 | exports.Mode = Mode;
25 |
--------------------------------------------------------------------------------
/src/mode/hjson.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var TextMode = require("./text").Mode;
5 | var HjsonHighlightRules = require("./hjson_highlight_rules").HjsonHighlightRules;
6 | var FoldMode = require("./folding/cstyle").FoldMode;
7 |
8 | var Mode = function() {
9 | this.HighlightRules = HjsonHighlightRules;
10 | this.foldingRules = new FoldMode();
11 | };
12 | oop.inherits(Mode, TextMode);
13 |
14 | (function() {
15 | this.lineCommentStart = "//";
16 | this.blockComment = { start: "/*", end: "*/" };
17 | this.$id = "ace/mode/hjson";
18 | }).call(Mode.prototype);
19 |
20 | exports.Mode = Mode;
21 |
--------------------------------------------------------------------------------
/src/mode/html_elixir.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var HtmlElixirHighlightRules = require("./html_elixir_highlight_rules").HtmlElixirHighlightRules;
5 | var HtmlMode = require("./html").Mode;
6 | var JavaScriptMode = require("./javascript").Mode;
7 | var CssMode = require("./css").Mode;
8 | var ElixirMode = require("./elixir").Mode;
9 |
10 | var Mode = function() {
11 | HtmlMode.call(this);
12 | this.HighlightRules = HtmlElixirHighlightRules;
13 | this.createModeDelegates({
14 | "js-": JavaScriptMode,
15 | "css-": CssMode,
16 | "elixir-": ElixirMode
17 | });
18 | };
19 | oop.inherits(Mode, HtmlMode);
20 |
21 | (function() {
22 |
23 | this.$id = "ace/mode/html_elixir";
24 | }).call(Mode.prototype);
25 |
26 | exports.Mode = Mode;
27 |
--------------------------------------------------------------------------------
/src/mode/html_ruby.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var HtmlRubyHighlightRules = require("./html_ruby_highlight_rules").HtmlRubyHighlightRules;
5 | var HtmlMode = require("./html").Mode;
6 | var JavaScriptMode = require("./javascript").Mode;
7 | var CssMode = require("./css").Mode;
8 | var RubyMode = require("./ruby").Mode;
9 |
10 | var Mode = function() {
11 | HtmlMode.call(this);
12 | this.HighlightRules = HtmlRubyHighlightRules;
13 | this.createModeDelegates({
14 | "js-": JavaScriptMode,
15 | "css-": CssMode,
16 | "ruby-": RubyMode
17 | });
18 | };
19 | oop.inherits(Mode, HtmlMode);
20 |
21 | (function() {
22 |
23 | this.$id = "ace/mode/html_ruby";
24 | }).call(Mode.prototype);
25 |
26 | exports.Mode = Mode;
27 |
--------------------------------------------------------------------------------
/src/mode/ini.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var TextMode = require("./text").Mode;
5 | var IniHighlightRules = require("./ini_highlight_rules").IniHighlightRules;
6 | // TODO: pick appropriate fold mode
7 | var FoldMode = require("./folding/ini").FoldMode;
8 |
9 | var Mode = function() {
10 | this.HighlightRules = IniHighlightRules;
11 | this.foldingRules = new FoldMode();
12 | this.$behaviour = this.$defaultBehaviour;
13 | };
14 | oop.inherits(Mode, TextMode);
15 |
16 | (function() {
17 | this.lineCommentStart = ";";
18 | this.blockComment = null;
19 | this.$id = "ace/mode/ini";
20 | }).call(Mode.prototype);
21 |
22 | exports.Mode = Mode;
23 |
--------------------------------------------------------------------------------
/src/mode/jade.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var TextMode = require("./text").Mode;
5 | var JadeHighlightRules = require("./jade_highlight_rules").JadeHighlightRules;
6 | var FoldMode = require("./folding/coffee").FoldMode;
7 |
8 | var Mode = function() {
9 | this.HighlightRules = JadeHighlightRules;
10 | this.foldingRules = new FoldMode();
11 | this.$behaviour = this.$defaultBehaviour;
12 | };
13 | oop.inherits(Mode, TextMode);
14 |
15 | (function() {
16 | this.lineCommentStart = "//";
17 | this.$id = "ace/mode/jade";
18 | }).call(Mode.prototype);
19 |
20 | exports.Mode = Mode;
21 |
--------------------------------------------------------------------------------
/src/mode/java.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var JavaScriptMode = require("./javascript").Mode;
5 | var JavaHighlightRules = require("./java_highlight_rules").JavaHighlightRules;
6 | var JavaFoldMode = require("./folding/java").FoldMode;
7 |
8 | var Mode = function() {
9 | JavaScriptMode.call(this);
10 | this.HighlightRules = JavaHighlightRules;
11 | this.foldingRules = new JavaFoldMode();
12 | this.$behaviour = this.$defaultBehaviour;
13 | };
14 | oop.inherits(Mode, JavaScriptMode);
15 |
16 | (function() {
17 |
18 | this.createWorker = function(session) {
19 | return null;
20 | };
21 |
22 | this.$id = "ace/mode/java";
23 | this.snippetFileId = "ace/snippets/java";
24 | }).call(Mode.prototype);
25 |
26 | exports.Mode = Mode;
27 |
--------------------------------------------------------------------------------
/src/mode/jexl.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var JexlHighlightRules = require("./jexl_highlight_rules").JexlHighlightRules;
5 | var TextMode = require("./text").Mode;
6 | var CStyleFoldMode = require("./folding/cstyle").FoldMode;
7 |
8 | var Mode = function () {
9 | this.HighlightRules = JexlHighlightRules;
10 | this.$behaviour = this.$defaultBehaviour;
11 | this.foldingRules = new CStyleFoldMode();
12 | };
13 | oop.inherits(Mode, TextMode);
14 |
15 | (function () {
16 | this.lineCommentStart = ["//", "##"];
17 | this.blockComment = {start: "/*", end: "*/"};
18 |
19 | this.$id = "ace/mode/jexl";
20 | }).call(Mode.prototype);
21 |
22 | exports.Mode = Mode;
23 |
--------------------------------------------------------------------------------
/src/mode/jsp.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var TextMode = require("./text").Mode;
5 | var JspHighlightRules = require("./jsp_highlight_rules").JspHighlightRules;
6 | var MatchingBraceOutdent = require("./matching_brace_outdent").MatchingBraceOutdent;
7 | var CStyleFoldMode = require("./folding/cstyle").FoldMode;
8 |
9 | var Mode = function() {
10 | this.HighlightRules = JspHighlightRules;
11 | this.$outdent = new MatchingBraceOutdent();
12 | this.$behaviour = this.$defaultBehaviour;
13 | this.foldingRules = new CStyleFoldMode();
14 | };
15 | oop.inherits(Mode, TextMode);
16 |
17 | (function() {
18 |
19 | this.$id = "ace/mode/jsp";
20 | this.snippetFileId = "ace/snippets/jsp";
21 | }).call(Mode.prototype);
22 |
23 | exports.Mode = Mode;
24 |
--------------------------------------------------------------------------------
/src/mode/jssm.js:
--------------------------------------------------------------------------------
1 | /*
2 | THIS FILE WAS AUTOGENERATED BY mode.tmpl.js
3 | */
4 |
5 | "use strict";
6 |
7 | var oop = require("../lib/oop");
8 | var TextMode = require("./text").Mode;
9 | var JSSMHighlightRules = require("./jssm_highlight_rules").JSSMHighlightRules;
10 | // TODO: pick appropriate fold mode
11 | var FoldMode = require("./folding/cstyle").FoldMode;
12 |
13 | var Mode = function() {
14 | this.HighlightRules = JSSMHighlightRules;
15 | this.foldingRules = new FoldMode();
16 | };
17 | oop.inherits(Mode, TextMode);
18 |
19 | (function() {
20 | this.lineCommentStart = "//";
21 | this.blockComment = {start: "/*", end: "*/"};
22 | // Extra logic goes here.
23 | this.$id = "ace/mode/jssm";
24 | }).call(Mode.prototype);
25 |
26 | exports.Mode = Mode;
27 |
--------------------------------------------------------------------------------
/src/mode/jsx.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var jsMode = require("./javascript").Mode;
5 |
6 | function Mode() {
7 | jsMode.call(this);
8 | this.$highlightRuleConfig = {jsx: true};
9 | }
10 | oop.inherits(Mode, jsMode);
11 |
12 | (function() {
13 | // disable jshint
14 | this.createWorker = function() {
15 | return null;
16 | };
17 | this.$id = "ace/mode/jsx";
18 | }).call(Mode.prototype);
19 |
20 | exports.Mode = Mode;
21 |
--------------------------------------------------------------------------------
/src/mode/jsx_highlight_rules.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var JavaScriptHighlightRules = require("./javascript_highlight_rules").JavaScriptHighlightRules;
5 |
6 |
7 | var JsxHighlightRules = function () {
8 | JavaScriptHighlightRules.call(this, {
9 | jsx: true
10 | });
11 | };
12 | oop.inherits(JsxHighlightRules, JavaScriptHighlightRules);
13 |
14 | exports.JsxHighlightRules = JsxHighlightRules;
--------------------------------------------------------------------------------
/src/mode/julia.js:
--------------------------------------------------------------------------------
1 | /*
2 | THIS FILE WAS AUTOGENERATED BY mode.tmpl.js
3 | */
4 |
5 | "use strict";
6 |
7 | var oop = require("../lib/oop");
8 | var TextMode = require("./text").Mode;
9 | var JuliaHighlightRules = require("./julia_highlight_rules").JuliaHighlightRules;
10 | // TODO: pick appropriate fold mode
11 | var FoldMode = require("./folding/cstyle").FoldMode;
12 |
13 | var Mode = function() {
14 | this.HighlightRules = JuliaHighlightRules;
15 | this.foldingRules = new FoldMode();
16 | this.$behaviour = this.$defaultBehaviour;
17 | };
18 | oop.inherits(Mode, TextMode);
19 |
20 | (function() {
21 | this.lineCommentStart = "#";
22 | this.blockComment = "";
23 | this.$id = "ace/mode/julia";
24 | }).call(Mode.prototype);
25 |
26 | exports.Mode = Mode;
27 |
--------------------------------------------------------------------------------
/src/mode/kotlin.js:
--------------------------------------------------------------------------------
1 | /*
2 | THIS FILE WAS AUTOGENERATED BY mode.tmpl.js
3 | */
4 |
5 | "use strict";
6 |
7 | var oop = require("../lib/oop");
8 | var TextMode = require("./text").Mode;
9 | var KotlinHighlightRules = require("./kotlin_highlight_rules").KotlinHighlightRules;
10 | var FoldMode = require("./folding/cstyle").FoldMode;
11 |
12 | var Mode = function() {
13 | this.HighlightRules = KotlinHighlightRules;
14 | this.foldingRules = new FoldMode();
15 | this.$behaviour = this.$defaultBehaviour;
16 | };
17 | oop.inherits(Mode, TextMode);
18 |
19 | (function() {
20 | this.lineCommentStart = "//";
21 | this.blockComment = {start: "/*", end: "*/"};
22 | // Extra logic goes here.
23 | this.$id = "ace/mode/kotlin";
24 | }).call(Mode.prototype);
25 |
26 | exports.Mode = Mode;
27 |
--------------------------------------------------------------------------------
/src/mode/lisp.js:
--------------------------------------------------------------------------------
1 | /*
2 | THIS FILE WAS AUTOGENERATED BY mode.tmpl.js
3 | */
4 |
5 | "use strict";
6 |
7 | var oop = require("../lib/oop");
8 | var TextMode = require("./text").Mode;
9 | var LispHighlightRules = require("./lisp_highlight_rules").LispHighlightRules;
10 |
11 | var Mode = function() {
12 | this.HighlightRules = LispHighlightRules;
13 | this.$behaviour = this.$defaultBehaviour;
14 | };
15 | oop.inherits(Mode, TextMode);
16 |
17 | (function() {
18 |
19 | this.lineCommentStart = ";";
20 |
21 | this.$id = "ace/mode/lisp";
22 | }).call(Mode.prototype);
23 |
24 | exports.Mode = Mode;
25 |
--------------------------------------------------------------------------------
/src/mode/logtalk.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var TextMode = require("./text").Mode;
5 | var Tokenizer = require("../tokenizer").Tokenizer;
6 | var LogtalkHighlightRules = require("./logtalk_highlight_rules").LogtalkHighlightRules;
7 | // TODO: pick appropriate fold mode
8 | var FoldMode = require("./folding/cstyle").FoldMode;
9 |
10 | var Mode = function() {
11 | this.HighlightRules = LogtalkHighlightRules;
12 | this.foldingRules = new FoldMode();
13 | this.$behaviour = this.$defaultBehaviour;
14 | };
15 | oop.inherits(Mode, TextMode);
16 |
17 | (function() {
18 | this.lineCommentStart = "%";
19 | this.blockComment = {start: "/*", end: "*/"};
20 | this.$id = "ace/mode/logtalk";
21 | }).call(Mode.prototype);
22 |
23 | exports.Mode = Mode;
24 |
--------------------------------------------------------------------------------
/src/mode/luapage.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var HtmlMode = require("./html").Mode;
5 | var LuaMode = require("./lua").Mode;
6 | var LuaPageHighlightRules = require("./luapage_highlight_rules").LuaPageHighlightRules;
7 |
8 | var Mode = function() {
9 | HtmlMode.call(this);
10 |
11 | this.HighlightRules = LuaPageHighlightRules;
12 | this.createModeDelegates({
13 | "lua-": LuaMode
14 | });
15 | };
16 | oop.inherits(Mode, HtmlMode);
17 |
18 | (function() {
19 | this.$id = "ace/mode/luapage";
20 | }).call(Mode.prototype);
21 |
22 | exports.Mode = Mode;
23 |
--------------------------------------------------------------------------------
/src/mode/lucene.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var oop = require("../lib/oop");
4 | var TextMode = require("./text").Mode;
5 | var LuceneHighlightRules = require("./lucene_highlight_rules").LuceneHighlightRules;
6 |
7 | var Mode = function() {
8 | this.HighlightRules = LuceneHighlightRules;
9 | this.$behaviour = this.$defaultBehaviour;
10 | };
11 |
12 | oop.inherits(Mode, TextMode);
13 |
14 | (function() {
15 | this.$id = "ace/mode/lucene";
16 | }).call(Mode.prototype);
17 |
18 | exports.Mode = Mode;
19 |
--------------------------------------------------------------------------------
/src/mode/matlab.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var TextMode = require("./text").Mode;
5 | var MatlabHighlightRules = require("./matlab_highlight_rules").MatlabHighlightRules;
6 |
7 | var Mode = function() {
8 | this.HighlightRules = MatlabHighlightRules;
9 | this.$behaviour = this.$defaultBehaviour;
10 | };
11 | oop.inherits(Mode, TextMode);
12 |
13 | (function() {
14 |
15 | this.lineCommentStart = "%";
16 | this.blockComment = {start: "%{", end: "%}"};
17 |
18 | this.$id = "ace/mode/matlab";
19 | }).call(Mode.prototype);
20 |
21 | exports.Mode = Mode;
22 |
--------------------------------------------------------------------------------
/src/mode/maze.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var TextMode = require("./text").Mode;
5 | var MazeHighlightRules = require("./maze_highlight_rules").MazeHighlightRules;
6 | var FoldMode = require("./folding/cstyle").FoldMode;
7 |
8 | var Mode = function() {
9 | this.HighlightRules = MazeHighlightRules;
10 | this.foldingRules = new FoldMode();
11 | this.$behaviour = this.$defaultBehaviour;
12 | };
13 | oop.inherits(Mode, TextMode);
14 |
15 | (function() {
16 | this.lineCommentStart = "//";
17 | this.$id = "ace/mode/maze";
18 | this.snippetFileId = "ace/snippets/maze";
19 | }).call(Mode.prototype);
20 |
21 | exports.Mode = Mode;
22 |
--------------------------------------------------------------------------------
/src/mode/mediawiki.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var TextMode = require("./text").Mode;
5 | var MediaWikiHighlightRules = require("./mediawiki_highlight_rules").MediaWikiHighlightRules;
6 |
7 | var Mode = function() {
8 | this.HighlightRules = MediaWikiHighlightRules;
9 | };
10 | oop.inherits(Mode, TextMode);
11 |
12 | (function() {
13 | this.type = "text";
14 | this.blockComment = {start: ""};
15 | this.$id = "ace/mode/mediawiki";
16 | }).call(Mode.prototype);
17 |
18 | exports.Mode = Mode;
19 |
--------------------------------------------------------------------------------
/src/mode/mel.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var TextMode = require("./text").Mode;
5 | var MELHighlightRules = require("./mel_highlight_rules").MELHighlightRules;
6 | var CStyleFoldMode = require("./folding/cstyle").FoldMode;
7 |
8 | var Mode = function() {
9 | this.HighlightRules = MELHighlightRules;
10 | this.$behaviour = this.$defaultBehaviour;
11 | this.foldingRules = new CStyleFoldMode();
12 | };
13 | oop.inherits(Mode, TextMode);
14 |
15 | (function() {
16 |
17 | this.lineCommentStart = "//";
18 | this.blockComment = {start: "/*", end: "*/"};
19 | this.$id = "ace/mode/mel";
20 | }).call(Mode.prototype);
21 |
22 | exports.Mode = Mode;
23 |
--------------------------------------------------------------------------------
/src/mode/mips.js:
--------------------------------------------------------------------------------
1 | /*
2 | THIS FILE WAS AUTOGENERATED BY mode.tmpl.js
3 | */
4 |
5 | "use strict";
6 |
7 | var oop = require("../lib/oop");
8 | var TextMode = require("./text").Mode;
9 | var MIPSHighlightRules = require("./mips_highlight_rules").MIPSHighlightRules;
10 | // TODO: pick appropriate fold mode
11 | var FoldMode = require("./folding/cstyle").FoldMode;
12 |
13 | var Mode = function() {
14 | this.HighlightRules = MIPSHighlightRules;
15 | this.foldingRules = new FoldMode();
16 | };
17 | oop.inherits(Mode, TextMode);
18 |
19 | (function() {
20 | this.lineCommentStart = ["#"];
21 | this.$id = "ace/mode/mips";
22 | }).call(Mode.prototype);
23 |
24 | exports.Mode = Mode;
25 |
--------------------------------------------------------------------------------
/src/mode/mixal.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var TextMode = require("./text").Mode;
5 | var MixalHighlightRules = require("./mixal_highlight_rules").MixalHighlightRules;
6 |
7 | var Mode = function() {
8 | this.HighlightRules = MixalHighlightRules;
9 | };
10 | oop.inherits(Mode, TextMode);
11 |
12 | (function() {
13 | this.$id = "ace/mode/mixal";
14 | this.lineCommentStart = "*";
15 | }).call(Mode.prototype);
16 |
17 | exports.Mode = Mode;
18 |
--------------------------------------------------------------------------------
/src/mode/mysql.js:
--------------------------------------------------------------------------------
1 | var oop = require("../lib/oop");
2 | var TextMode = require("../mode/text").Mode;
3 | var MysqlHighlightRules = require("./mysql_highlight_rules").MysqlHighlightRules;
4 |
5 | var Mode = function() {
6 | this.HighlightRules = MysqlHighlightRules;
7 | this.$behaviour = this.$defaultBehaviour;
8 | };
9 | oop.inherits(Mode, TextMode);
10 |
11 | (function() {
12 | this.lineCommentStart = ["--", "#"]; // todo space
13 | this.blockComment = {start: "/*", end: "*/"};
14 |
15 | this.$id = "ace/mode/mysql";
16 | }).call(Mode.prototype);
17 |
18 | exports.Mode = Mode;
19 |
--------------------------------------------------------------------------------
/src/mode/nginx.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var TextMode = require("./text").Mode;
5 | var NginxHighlightRules = require("./nginx_highlight_rules").NginxHighlightRules;
6 | var CStyleFoldMode = require("./folding/cstyle").FoldMode;
7 |
8 | var Mode = function () {
9 | TextMode.call(this);
10 | this.HighlightRules = NginxHighlightRules;
11 | this.foldingRules = new CStyleFoldMode();
12 | this.$behaviour = this.$defaultBehaviour;
13 | };
14 |
15 | oop.inherits(Mode, TextMode);
16 |
17 |
18 | (function () {
19 | this.lineCommentStart = "#";
20 |
21 | this.$id = "ace/mode/nginx";
22 | }).call(Mode.prototype);
23 |
24 | exports.Mode = Mode;
25 |
--------------------------------------------------------------------------------
/src/mode/nim.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var TextMode = require("./text").Mode;
5 | var NimHighlightRules = require("./nim_highlight_rules").NimHighlightRules;
6 | var CStyleFoldMode = require("./folding/cstyle").FoldMode;
7 |
8 | var Mode = function () {
9 | TextMode.call(this);
10 | this.HighlightRules = NimHighlightRules;
11 | this.foldingRules = new CStyleFoldMode();
12 | this.$behaviour = this.$defaultBehaviour;
13 | };
14 |
15 | oop.inherits(Mode, TextMode);
16 |
17 |
18 | (function () {
19 | this.lineCommentStart = "#";
20 | this.blockComment = {start: "#[", end: "]#", nestable: true};
21 |
22 |
23 | this.$id = "ace/mode/nim";
24 | }).call(Mode.prototype);
25 |
26 | exports.Mode = Mode;
27 |
--------------------------------------------------------------------------------
/src/mode/nix.js:
--------------------------------------------------------------------------------
1 | /*
2 | THIS FILE WAS AUTOGENERATED BY mode.tmpl.js
3 | */
4 |
5 | "use strict";
6 |
7 | var oop = require("../lib/oop");
8 | var CMode = require("./c_cpp").Mode;
9 | var NixHighlightRules = require("./nix_highlight_rules").NixHighlightRules;
10 | var CStyleFoldMode = require("./folding/cstyle").FoldMode;
11 |
12 | var Mode = function() {
13 | CMode.call(this);
14 | this.HighlightRules = NixHighlightRules;
15 | this.foldingRules = new CStyleFoldMode();
16 | this.$behaviour = this.$defaultBehaviour;
17 | };
18 | oop.inherits(Mode, CMode);
19 |
20 | (function() {
21 | this.lineCommentStart = "#";
22 | this.blockComment = {start: "/*", end: "*/"};
23 | this.$id = "ace/mode/nix";
24 | }).call(Mode.prototype);
25 |
26 | exports.Mode = Mode;
27 |
--------------------------------------------------------------------------------
/src/mode/nsis.js:
--------------------------------------------------------------------------------
1 | /*
2 | THIS FILE WAS AUTOGENERATED BY mode.tmpl.js
3 | */
4 |
5 | "use strict";
6 |
7 | var oop = require("../lib/oop");
8 | var TextMode = require("./text").Mode;
9 | var NSISHighlightRules = require("./nsis_highlight_rules").NSISHighlightRules;
10 | var FoldMode = require("./folding/cstyle").FoldMode;
11 |
12 | var Mode = function() {
13 | this.HighlightRules = NSISHighlightRules;
14 | this.foldingRules = new FoldMode();
15 | this.$behaviour = this.$defaultBehaviour;
16 | };
17 | oop.inherits(Mode, TextMode);
18 |
19 | (function() {
20 | this.lineCommentStart = [";", "#"];
21 | this.blockComment = {start: "/*", end: "*/"};
22 | this.$id = "ace/mode/nsis";
23 | }).call(Mode.prototype);
24 |
25 | exports.Mode = Mode;
26 |
--------------------------------------------------------------------------------
/src/mode/objectivec.js:
--------------------------------------------------------------------------------
1 | /*
2 | THIS FILE WAS AUTOGENERATED BY mode.tmpl.js
3 | */
4 |
5 | "use strict";
6 |
7 | var oop = require("../lib/oop");
8 | var TextMode = require("./text").Mode;
9 | var ObjectiveCHighlightRules = require("./objectivec_highlight_rules").ObjectiveCHighlightRules;
10 | var CStyleFoldMode = require("./folding/cstyle").FoldMode;
11 |
12 | var Mode = function() {
13 | this.HighlightRules = ObjectiveCHighlightRules;
14 | this.foldingRules = new CStyleFoldMode();
15 | this.$behaviour = this.$defaultBehaviour;
16 | };
17 | oop.inherits(Mode, TextMode);
18 |
19 | (function() {
20 | this.lineCommentStart = "//";
21 | this.blockComment = {start: "/*", end: "*/"};
22 | this.$id = "ace/mode/objectivec";
23 | }).call(Mode.prototype);
24 |
25 | exports.Mode = Mode;
26 |
--------------------------------------------------------------------------------
/src/mode/pig.js:
--------------------------------------------------------------------------------
1 | /*
2 | THIS FILE WAS AUTOGENERATED BY mode.tmpl.js
3 | */
4 |
5 | "use strict";
6 |
7 | var oop = require("../lib/oop");
8 | var TextMode = require("./text").Mode;
9 | var PigHighlightRules = require("./pig_highlight_rules").PigHighlightRules;
10 | // TODO: pick appropriate fold mode
11 | var FoldMode = require("./folding/cstyle").FoldMode;
12 |
13 | var Mode = function() {
14 | this.HighlightRules = PigHighlightRules;
15 | this.foldingRules = new FoldMode();
16 | };
17 | oop.inherits(Mode, TextMode);
18 |
19 | (function() {
20 | this.lineCommentStart = "--";
21 | this.blockComment = {start: "/*", end: "*/"};
22 | // Extra logic goes here.
23 | this.$id = "ace/mode/pig";
24 | }).call(Mode.prototype);
25 |
26 | exports.Mode = Mode;
27 |
--------------------------------------------------------------------------------
/src/mode/plain_text.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var TextMode = require("./text").Mode;
5 | var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
6 | var Behaviour = require("./behaviour").Behaviour;
7 |
8 | var Mode = function() {
9 | this.HighlightRules = TextHighlightRules;
10 | this.$behaviour = new Behaviour();
11 | };
12 |
13 | oop.inherits(Mode, TextMode);
14 |
15 | (function() {
16 | this.type = "text";
17 | this.getNextLineIndent = function(state, line, tab) {
18 | return '';
19 | };
20 | this.$id = "ace/mode/plain_text";
21 | }).call(Mode.prototype);
22 |
23 | exports.Mode = Mode;
24 |
--------------------------------------------------------------------------------
/src/mode/plain_text_test.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var EditSession = require("../edit_session").EditSession;
4 | var PlainTextMode = require("./plain_text").Mode;
5 | var assert = require("../test/assertions");
6 |
7 | module.exports = {
8 | setUp : function() {
9 | this.mode = new PlainTextMode();
10 | },
11 |
12 | "test: lines should not be indented" : function() {
13 | assert.equal("", this.mode.getNextLineIndent("start", " abc", " "));
14 | }
15 | };
16 |
17 |
18 | if (typeof module !== "undefined" && module === require.main) {
19 | require("asyncjs").test.testcase(module.exports).exec();
20 | }
21 |
--------------------------------------------------------------------------------
/src/mode/prisma.js:
--------------------------------------------------------------------------------
1 | /*
2 | THIS FILE WAS AUTOGENERATED BY mode.tmpl.js
3 | */
4 |
5 | "use strict";
6 |
7 | var oop = require("../lib/oop");
8 | var TextMode = require("./text").Mode;
9 | var PrismaHighlightRules = require("./prisma_highlight_rules").PrismaHighlightRules;
10 | // TODO: pick appropriate fold mode
11 | var FoldMode = require("./folding/cstyle").FoldMode;
12 |
13 | var Mode = function() {
14 | this.HighlightRules = PrismaHighlightRules;
15 | this.foldingRules = new FoldMode();
16 | };
17 | oop.inherits(Mode, TextMode);
18 |
19 | (function() {
20 | this.lineCommentStart = "//";
21 | // this.blockComment = {start: ""/*"", end: ""*/""};
22 | // Extra logic goes here.
23 | this.$id = "ace/mode/prisma";
24 | }).call(Mode.prototype);
25 |
26 | exports.Mode = Mode;
27 |
--------------------------------------------------------------------------------
/src/mode/prolog.js:
--------------------------------------------------------------------------------
1 | /*
2 | THIS FILE WAS AUTOGENERATED BY mode.tmpl.js
3 | */
4 |
5 | "use strict";
6 |
7 | var oop = require("../lib/oop");
8 | var TextMode = require("./text").Mode;
9 | var PrologHighlightRules = require("./prolog_highlight_rules").PrologHighlightRules;
10 | var FoldMode = require("./folding/cstyle").FoldMode;
11 |
12 | var Mode = function() {
13 | this.HighlightRules = PrologHighlightRules;
14 | this.foldingRules = new FoldMode();
15 | this.$behaviour = this.$defaultBehaviour;
16 | };
17 | oop.inherits(Mode, TextMode);
18 |
19 | (function() {
20 | this.lineCommentStart = "%";
21 | this.blockComment = {start: "/*", end: "*/"};
22 | this.$id = "ace/mode/prolog";
23 | }).call(Mode.prototype);
24 |
25 | exports.Mode = Mode;
26 |
--------------------------------------------------------------------------------
/src/mode/properties.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var TextMode = require("./text").Mode;
5 | var PropertiesHighlightRules = require("./properties_highlight_rules").PropertiesHighlightRules;
6 |
7 | var Mode = function() {
8 | this.HighlightRules = PropertiesHighlightRules;
9 | this.$behaviour = this.$defaultBehaviour;
10 | };
11 | oop.inherits(Mode, TextMode);
12 |
13 | (function() {
14 | this.$id = "ace/mode/properties";
15 | }).call(Mode.prototype);
16 |
17 | exports.Mode = Mode;
18 |
--------------------------------------------------------------------------------
/src/mode/protobuf.js:
--------------------------------------------------------------------------------
1 | /*
2 | THIS FILE WAS AUTOGENERATED BY mode.tmpl.js
3 | */
4 |
5 | "use strict";
6 |
7 | var oop = require("../lib/oop");
8 | var CMode = require("./c_cpp").Mode;
9 | var ProtobufHighlightRules = require("./protobuf_highlight_rules").ProtobufHighlightRules;
10 | var CStyleFoldMode = require("./folding/cstyle").FoldMode;
11 |
12 | var Mode = function() {
13 | CMode.call(this);
14 | this.foldingRules = new CStyleFoldMode();
15 | this.HighlightRules = ProtobufHighlightRules;
16 | };
17 | oop.inherits(Mode, CMode);
18 |
19 | (function() {
20 | // Extra logic goes here.
21 | this.lineCommentStart = "//";
22 | this.blockComment = {start: "/*", end: "*/"};
23 | this.$id = "ace/mode/protobuf";
24 | }).call(Mode.prototype);
25 |
26 | exports.Mode = Mode;
27 |
--------------------------------------------------------------------------------
/src/mode/prql.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var TextMode = require("./text").Mode;
5 | var HighlightRules = require("./prql_highlight_rules").PrqlHighlightRules;
6 | var FoldMode = require("./folding/cstyle").FoldMode;
7 |
8 | var Mode = function() {
9 | this.HighlightRules = HighlightRules;
10 | this.foldingRules = new FoldMode();
11 | this.$behaviour = this.$defaultBehaviour;
12 | };
13 | oop.inherits(Mode, TextMode);
14 |
15 | (function() {
16 | this.lineCommentStart = "#";
17 | // Extra logic goes here.
18 | this.$id = "ace/mode/prql";
19 | }).call(Mode.prototype);
20 |
21 | exports.Mode = Mode;
22 |
--------------------------------------------------------------------------------
/src/mode/robot.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var TextMode = require("./text").Mode;
5 | var RobotHighlightRules = require("./robot_highlight_rules").RobotHighlightRules;
6 | var FoldMode = require("./folding/pythonic").FoldMode;
7 |
8 | var Mode = function() {
9 | this.HighlightRules = RobotHighlightRules;
10 | this.foldingRules = new FoldMode();
11 | this.$behaviour = this.$defaultBehaviour;
12 | };
13 | oop.inherits(Mode, TextMode);
14 |
15 | (function() {
16 | this.lineCommentStart = "#";
17 | this.$id = "ace/mode/robot";
18 | this.snippetFileId = "ace/snippets/robot";
19 | }).call(Mode.prototype);
20 |
21 | exports.Mode = Mode;
22 |
--------------------------------------------------------------------------------
/src/mode/rst.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var TextMode = require("./text").Mode;
5 | var RSTHighlightRules = require("./rst_highlight_rules").RSTHighlightRules;
6 |
7 | var Mode = function() {
8 | this.HighlightRules = RSTHighlightRules;
9 | };
10 | oop.inherits(Mode, TextMode);
11 |
12 | (function() {
13 | this.type = "text";
14 |
15 | this.$id = "ace/mode/rst";
16 | this.snippetFileId = "ace/snippets/rst";
17 | }).call(Mode.prototype);
18 |
19 | exports.Mode = Mode;
20 |
--------------------------------------------------------------------------------
/src/mode/rust.js:
--------------------------------------------------------------------------------
1 | /*
2 | THIS FILE WAS AUTOGENERATED BY mode.tmpl.js
3 | */
4 |
5 | "use strict";
6 |
7 | var oop = require("../lib/oop");
8 | var TextMode = require("./text").Mode;
9 | var RustHighlightRules = require("./rust_highlight_rules").RustHighlightRules;
10 | var FoldMode = require("./folding/cstyle").FoldMode;
11 |
12 | var Mode = function() {
13 | this.HighlightRules = RustHighlightRules;
14 | this.foldingRules = new FoldMode();
15 | this.$behaviour = this.$defaultBehaviour;
16 | };
17 | oop.inherits(Mode, TextMode);
18 |
19 | (function() {
20 | this.lineCommentStart = "//";
21 | this.blockComment = {start: "/*", end: "*/", nestable: true};
22 | this.$quotes = { '"': '"' };
23 | this.$id = "ace/mode/rust";
24 | }).call(Mode.prototype);
25 |
26 | exports.Mode = Mode;
27 |
--------------------------------------------------------------------------------
/src/mode/sac.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var TextMode = require("./text").Mode;
5 | var SaCHighlightRules = require("./sac_highlight_rules").sacHighlightRules;
6 | var FoldMode = require("./folding/cstyle").FoldMode;
7 |
8 | var Mode = function() {
9 | this.HighlightRules = SaCHighlightRules;
10 | this.foldingRules = new FoldMode();
11 | this.$behaviour = this.$defaultBehaviour;
12 | };
13 | oop.inherits(Mode, TextMode);
14 |
15 | (function() {
16 | this.lineCommentStart = "//";
17 | this.blockComment = {start: "/*", end: "*/"};
18 | this.$id = "ace/mode/sac";
19 | }).call(Mode.prototype);
20 |
21 | exports.Mode = Mode;
22 |
--------------------------------------------------------------------------------
/src/mode/sass.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var TextMode = require("./text").Mode;
5 | var SassHighlightRules = require("./sass_highlight_rules").SassHighlightRules;
6 | var FoldMode = require("./folding/coffee").FoldMode;
7 |
8 | var Mode = function() {
9 | this.HighlightRules = SassHighlightRules;
10 | this.foldingRules = new FoldMode();
11 | this.$behaviour = this.$defaultBehaviour;
12 | };
13 | oop.inherits(Mode, TextMode);
14 |
15 | (function() {
16 | this.lineCommentStart = "//";
17 | this.$id = "ace/mode/sass";
18 | }).call(Mode.prototype);
19 |
20 | exports.Mode = Mode;
21 |
--------------------------------------------------------------------------------
/src/mode/scala.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var JavaScriptMode = require("./javascript").Mode;
5 | var ScalaHighlightRules = require("./scala_highlight_rules").ScalaHighlightRules;
6 |
7 | var Mode = function() {
8 | JavaScriptMode.call(this);
9 | this.HighlightRules = ScalaHighlightRules;
10 | this.$behaviour = this.$defaultBehaviour;
11 | };
12 | oop.inherits(Mode, JavaScriptMode);
13 |
14 | (function() {
15 |
16 | this.createWorker = function(session) {
17 | return null;
18 | };
19 |
20 | this.$id = "ace/mode/scala";
21 | }).call(Mode.prototype);
22 |
23 | exports.Mode = Mode;
24 |
--------------------------------------------------------------------------------
/src/mode/smarty.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var HtmlMode = require("./html").Mode;
5 | var SmartyHighlightRules = require("./smarty_highlight_rules").SmartyHighlightRules;
6 |
7 | var Mode = function() {
8 | HtmlMode.call(this);
9 | this.HighlightRules = SmartyHighlightRules;
10 | };
11 |
12 | oop.inherits(Mode, HtmlMode);
13 |
14 | (function() {
15 |
16 | this.$id = "ace/mode/smarty";
17 | }).call(Mode.prototype);
18 |
19 | exports.Mode = Mode;
20 |
--------------------------------------------------------------------------------
/src/mode/soy_template.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var HtmlMode = require("./html").Mode;
5 | var SoyTemplateHighlightRules = require("./soy_template_highlight_rules").SoyTemplateHighlightRules;
6 |
7 | var Mode = function() {
8 | HtmlMode.call(this);
9 | this.HighlightRules = SoyTemplateHighlightRules;
10 | };
11 | oop.inherits(Mode, HtmlMode);
12 |
13 | (function() {
14 | this.lineCommentStart = "//";
15 | this.blockComment = {start: "/*", end: "*/"};
16 | this.$id = "ace/mode/soy_template";
17 | }).call(Mode.prototype);
18 |
19 | exports.Mode = Mode;
20 |
--------------------------------------------------------------------------------
/src/mode/space.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | var oop = require("../lib/oop");
3 | // defines the parent mode
4 | var TextMode = require("./text").Mode;
5 | var FoldMode = require("./folding/coffee").FoldMode;
6 | // defines the language specific highlighters and folding rules
7 | var SpaceHighlightRules = require("./space_highlight_rules").SpaceHighlightRules;
8 | var Mode = function() {
9 | // set everything up
10 | this.HighlightRules = SpaceHighlightRules;
11 | this.foldingRules = new FoldMode();
12 | this.$behaviour = this.$defaultBehaviour;
13 | };
14 | oop.inherits(Mode, TextMode);
15 | (function() {
16 |
17 | this.$id = "ace/mode/space";
18 | }).call(Mode.prototype);
19 | exports.Mode = Mode;
20 |
--------------------------------------------------------------------------------
/src/mode/sparql.js:
--------------------------------------------------------------------------------
1 | /*
2 | THIS FILE WAS AUTOGENERATED BY mode.tmpl.js
3 | */
4 |
5 | "use strict";
6 |
7 | var oop = require("../lib/oop");
8 | var TextMode = require("./text").Mode;
9 | var SPARQLHighlightRules = require("./sparql_highlight_rules").SPARQLHighlightRules;
10 | // TODO: pick appropriate fold mode
11 | var FoldMode = require("./folding/cstyle").FoldMode;
12 |
13 | var Mode = function() {
14 | this.HighlightRules = SPARQLHighlightRules;
15 | this.foldingRules = new FoldMode();
16 | };
17 | oop.inherits(Mode, TextMode);
18 |
19 | (function() {
20 | // this.lineCommentStart = ""#"";
21 | // Extra logic goes here.
22 | this.$id = "ace/mode/sparql";
23 | }).call(Mode.prototype);
24 |
25 | exports.Mode = Mode;
26 |
--------------------------------------------------------------------------------
/src/mode/sql.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var TextMode = require("./text").Mode;
5 | var SqlHighlightRules = require("./sql_highlight_rules").SqlHighlightRules;
6 | var SqlFoldMode = require("./folding/sql").FoldMode;
7 |
8 | var Mode = function() {
9 | this.HighlightRules = SqlHighlightRules;
10 | this.foldingRules = new SqlFoldMode();
11 | this.$behaviour = this.$defaultBehaviour;
12 | };
13 | oop.inherits(Mode, TextMode);
14 |
15 | (function() {
16 |
17 | this.lineCommentStart = "--";
18 | this.blockComment = {start: "/*", end: "*/"};
19 |
20 | this.$id = "ace/mode/sql";
21 | this.snippetFileId = "ace/snippets/sql";
22 | }).call(Mode.prototype);
23 |
24 | exports.Mode = Mode;
25 |
--------------------------------------------------------------------------------
/src/mode/stylus.js:
--------------------------------------------------------------------------------
1 | /*
2 | THIS FILE WAS AUTOGENERATED BY mode.tmpl.js
3 | */
4 |
5 | "use strict";
6 |
7 | var oop = require("../lib/oop");
8 | var TextMode = require("./text").Mode;
9 | var StylusHighlightRules = require("./stylus_highlight_rules").StylusHighlightRules;
10 | var FoldMode = require("./folding/coffee").FoldMode;
11 |
12 | var Mode = function() {
13 | this.HighlightRules = StylusHighlightRules;
14 | this.foldingRules = new FoldMode();
15 | this.$behaviour = this.$defaultBehaviour;
16 | };
17 | oop.inherits(Mode, TextMode);
18 |
19 | (function() {
20 | this.lineCommentStart = "//";
21 | this.blockComment = {start: "/*", end: "*/"};
22 |
23 | this.$id = "ace/mode/stylus";
24 | }).call(Mode.prototype);
25 |
26 | exports.Mode = Mode;
27 |
--------------------------------------------------------------------------------
/src/mode/svg_highlight_rules.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var JavaScriptHighlightRules = require("./javascript_highlight_rules").JavaScriptHighlightRules;
5 | var XmlHighlightRules = require("./xml_highlight_rules").XmlHighlightRules;
6 |
7 | var SvgHighlightRules = function() {
8 | XmlHighlightRules.call(this);
9 |
10 | this.embedTagRules(JavaScriptHighlightRules, "js-", "script");
11 |
12 | this.normalizeRules();
13 | };
14 |
15 | oop.inherits(SvgHighlightRules, XmlHighlightRules);
16 |
17 | exports.SvgHighlightRules = SvgHighlightRules;
18 |
--------------------------------------------------------------------------------
/src/mode/toml.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var TextMode = require("./text").Mode;
5 | var TomlHighlightRules = require("./toml_highlight_rules").TomlHighlightRules;
6 | var FoldMode = require("./folding/ini").FoldMode;
7 |
8 | var Mode = function() {
9 | this.HighlightRules = TomlHighlightRules;
10 | this.foldingRules = new FoldMode();
11 | this.$behaviour = this.$defaultBehaviour;
12 | };
13 | oop.inherits(Mode, TextMode);
14 |
15 | (function() {
16 | this.lineCommentStart = "#";
17 | this.$id = "ace/mode/toml";
18 | }).call(Mode.prototype);
19 |
20 | exports.Mode = Mode;
21 |
--------------------------------------------------------------------------------
/src/mode/tsv.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var CSVMode = require("./csv").Mode;
4 | var TsvHighlightRules = require("./tsv_highlight_rules").TsvHighlightRules;
5 |
6 | var Mode = function(options) {
7 | var mode = new CSVMode({
8 | splitter: "\t",
9 | quote: '"'
10 | });
11 | mode.HighlightRules = TsvHighlightRules;
12 | mode.$id = "ace/mode/tsv";
13 | return mode;
14 | };
15 |
16 | exports.Mode = Mode;
17 |
--------------------------------------------------------------------------------
/src/mode/tsv_highlight_rules.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
5 |
6 |
7 | var TsvHighlightRules = function() {
8 | TextHighlightRules.call(this);
9 | };
10 |
11 | oop.inherits(TsvHighlightRules, TextHighlightRules);
12 |
13 | exports.TsvHighlightRules = TsvHighlightRules;
14 |
--------------------------------------------------------------------------------
/src/mode/tsx.js:
--------------------------------------------------------------------------------
1 | /*
2 | THIS FILE WAS AUTOGENERATED BY mode.tmpl.js
3 | */
4 |
5 | "use strict";
6 |
7 | var oop = require("../lib/oop");
8 | const JavaScriptBehaviour = require("./behaviour/javascript").JavaScriptBehaviour;
9 | const JavaScriptFoldMode = require("./folding/javascript").FoldMode;
10 | var tsMode = require("./typescript").Mode;
11 |
12 | var Mode = function() {
13 | tsMode.call(this);
14 | this.$highlightRuleConfig = {jsx: true};
15 | this.foldingRules = new JavaScriptFoldMode();
16 | this.$behaviour = new JavaScriptBehaviour();
17 | };
18 | oop.inherits(Mode, tsMode);
19 |
20 | (function() {
21 | this.$id = "ace/mode/tsx";
22 | }).call(Mode.prototype);
23 |
24 | exports.Mode = Mode;
25 |
--------------------------------------------------------------------------------
/src/mode/tsx_highlight_rules.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var TypeScriptHighlightRules = require("./typescript_highlight_rules").TypeScriptHighlightRules;
5 |
6 | var TsxHighlightRules = function () {
7 | TypeScriptHighlightRules.call(this, {
8 | jsx: true
9 | });
10 | };
11 | oop.inherits(TsxHighlightRules, TypeScriptHighlightRules);
12 |
13 | exports.TsxHighlightRules = TsxHighlightRules;
--------------------------------------------------------------------------------
/src/mode/turtle.js:
--------------------------------------------------------------------------------
1 | /*
2 | THIS FILE WAS AUTOGENERATED BY mode.tmpl.js
3 | */
4 |
5 | "use strict";
6 |
7 | var oop = require("../lib/oop");
8 | var TextMode = require("./text").Mode;
9 | var TurtleHighlightRules = require("./turtle_highlight_rules").TurtleHighlightRules;
10 | // TODO: pick appropriate fold mode
11 | var FoldMode = require("./folding/cstyle").FoldMode;
12 |
13 | var Mode = function() {
14 | this.HighlightRules = TurtleHighlightRules;
15 | this.foldingRules = new FoldMode();
16 | };
17 | oop.inherits(Mode, TextMode);
18 |
19 | (function() {
20 | // this.lineCommentStart = ""#"";
21 | // Extra logic goes here.
22 | this.$id = "ace/mode/turtle";
23 | }).call(Mode.prototype);
24 |
25 | exports.Mode = Mode;
26 |
--------------------------------------------------------------------------------
/src/mode/verilog.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var TextMode = require("./text").Mode;
5 | var VerilogHighlightRules = require("./verilog_highlight_rules").VerilogHighlightRules;
6 | var Range = require("../range").Range;
7 |
8 | var Mode = function() {
9 | this.HighlightRules = VerilogHighlightRules;
10 | this.$behaviour = this.$defaultBehaviour;
11 | };
12 | oop.inherits(Mode, TextMode);
13 |
14 | (function() {
15 |
16 | this.lineCommentStart = "//";
17 | this.blockComment = {start: "/*", end: "*/"};
18 | this.$quotes = { '"': '"' };
19 |
20 |
21 | this.$id = "ace/mode/verilog";
22 | }).call(Mode.prototype);
23 |
24 | exports.Mode = Mode;
25 |
--------------------------------------------------------------------------------
/src/mode/vhdl.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var TextMode = require("./text").Mode;
5 | var VHDLHighlightRules = require("./vhdl_highlight_rules").VHDLHighlightRules;
6 |
7 | var Mode = function() {
8 | this.HighlightRules = VHDLHighlightRules;
9 | this.$behaviour = this.$defaultBehaviour;
10 | };
11 | oop.inherits(Mode, TextMode);
12 |
13 | (function() {
14 |
15 | this.lineCommentStart = "--";
16 |
17 | this.$id = "ace/mode/vhdl";
18 | }).call(Mode.prototype);
19 |
20 | exports.Mode = Mode;
21 |
--------------------------------------------------------------------------------
/src/mode/wollok.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var JavaScriptMode = require("./javascript").Mode;
5 | var WollokHighlightRules = require("./wollok_highlight_rules").WollokHighlightRules;
6 |
7 | var Mode = function() {
8 | JavaScriptMode.call(this);
9 | this.HighlightRules = WollokHighlightRules;
10 | this.$behaviour = this.$defaultBehaviour;
11 | };
12 | oop.inherits(Mode, JavaScriptMode);
13 |
14 | (function() {
15 |
16 | this.createWorker = function(session) {
17 | return null;
18 | };
19 |
20 | this.$id = "ace/mode/wollok";
21 | this.snippetFileId = "ace/snippets/wollok";
22 | }).call(Mode.prototype);
23 |
24 | exports.Mode = Mode;
25 |
--------------------------------------------------------------------------------
/src/mode/zeek.js:
--------------------------------------------------------------------------------
1 | /*
2 | THIS FILE WAS AUTOGENERATED BY mode.tmpl.js
3 | */
4 |
5 | "use strict";
6 |
7 | var oop = require("../lib/oop");
8 | var TextMode = require("./text").Mode;
9 | var ZeekHighlightRules = require("./zeek_highlight_rules").ZeekHighlightRules;
10 | var FoldMode = require("./folding/cstyle").FoldMode;
11 |
12 | var Mode = function() {
13 | this.HighlightRules = ZeekHighlightRules;
14 | this.foldingRules = new FoldMode();
15 | };
16 | oop.inherits(Mode, TextMode);
17 |
18 | (function() {
19 | this.lineCommentStart = "#";
20 | // Extra logic goes here.
21 | this.$id = "ace/mode/zeek";
22 | }).call(Mode.prototype);
23 |
24 | exports.Mode = Mode;
25 |
--------------------------------------------------------------------------------
/src/mode/zig.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var oop = require("../lib/oop");
4 | var TextMode = require("./text").Mode;
5 | var ZigHighlightRules = require("./zig_highlight_rules").ZigHighlightRules;
6 | var FoldMode = require("./folding/cstyle").FoldMode;
7 |
8 | var Mode = function() {
9 | this.HighlightRules = ZigHighlightRules;
10 | this.foldingRules = new FoldMode();
11 | this.$behaviour = this.$defaultBehaviour;
12 | };
13 | oop.inherits(Mode, TextMode);
14 |
15 | (function() {
16 | this.lineCommentStart = "//";
17 | this.$id = "ace/mode/zig";
18 | }).call(Mode.prototype);
19 |
20 | exports.Mode = Mode;
21 |
--------------------------------------------------------------------------------
/src/snippets/abc.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | exports.snippetText = require("./abc.snippets");
4 | exports.scope = "abc";
5 |
--------------------------------------------------------------------------------
/src/snippets/actionscript.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | exports.snippetText = require("./actionscript.snippets");
4 | exports.scope = "actionscript";
5 |
--------------------------------------------------------------------------------
/src/snippets/c_cpp.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | exports.snippetText = require("./c_cpp.snippets");
4 | exports.scope = "c_cpp";
5 |
--------------------------------------------------------------------------------
/src/snippets/clojure.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | exports.snippetText = require("./clojure.snippets");
4 | exports.scope = "clojure";
5 |
--------------------------------------------------------------------------------
/src/snippets/coffee.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | exports.snippetText = require("./coffee.snippets");
4 | exports.scope = "coffee";
5 |
--------------------------------------------------------------------------------
/src/snippets/csound_document.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | exports.snippetText = require("./csound_document.snippets");
4 | exports.scope = "csound_document";
5 |
--------------------------------------------------------------------------------
/src/snippets/csound_document.snippets.js:
--------------------------------------------------------------------------------
1 | module.exports = `#
2 | snippet synth
3 |
4 |
5 | \${1}
6 |
7 |
8 | e
9 |
10 |
11 | `;
12 |
--------------------------------------------------------------------------------
/src/snippets/csound_orchestra.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | exports.snippetText = require("./csound_orchestra.snippets");
4 | exports.scope = "csound_orchestra";
5 |
--------------------------------------------------------------------------------
/src/snippets/css.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | exports.snippetText = require("./css.snippets");
4 | exports.scope = "css";
5 |
--------------------------------------------------------------------------------
/src/snippets/dart.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | exports.snippetText = require("./dart.snippets");
4 | exports.scope = "dart";
5 |
--------------------------------------------------------------------------------
/src/snippets/diff.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | exports.snippetText = require("./diff.snippets");
4 | exports.scope = "diff";
5 |
--------------------------------------------------------------------------------
/src/snippets/diff.snippets.js:
--------------------------------------------------------------------------------
1 | module.exports = `# DEP-3 (http://dep.debian.net/deps/dep3/) style patch header
2 | snippet header DEP-3 style header
3 | Description: \${1}
4 | Origin: \${2:vendor|upstream|other}, \${3:url of the original patch}
5 | Bug: \${4:url in upstream bugtracker}
6 | Forwarded: \${5:no|not-needed|url}
7 | Author: \${6:\`g:snips_author\`}
8 | Reviewed-by: \${7:name and email}
9 | Last-Update: \${8:\`strftime("%Y-%m-%d")\`}
10 | Applied-Upstream: \${9:upstream version|url|commit}
11 |
12 | `;
13 |
--------------------------------------------------------------------------------
/src/snippets/django.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | exports.snippetText = require("./django.snippets");
4 | exports.scope = "django";
5 |
--------------------------------------------------------------------------------
/src/snippets/drools.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | exports.snippetText = require("./drools.snippets");
4 | exports.scope = "drools";
5 |
--------------------------------------------------------------------------------
/src/snippets/drools.snippets.js:
--------------------------------------------------------------------------------
1 | module.exports = `
2 | snippet rule
3 | rule "\${1?:rule_name}"
4 | when
5 | \${2:// when...}
6 | then
7 | \${3:// then...}
8 | end
9 |
10 | snippet query
11 | query \${1?:query_name}
12 | \${2:// find}
13 | end
14 |
15 | snippet declare
16 | declare \${1?:type_name}
17 | \${2:// attributes}
18 | end
19 |
20 | `;
21 |
--------------------------------------------------------------------------------
/src/snippets/edifact.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | exports.snippetText = require("./edifact.snippets");
4 | exports.scope = "edifact";
5 |
--------------------------------------------------------------------------------
/src/snippets/erlang.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | exports.snippetText = require("./erlang.snippets");
4 | exports.scope = "erlang";
5 |
--------------------------------------------------------------------------------
/src/snippets/fsl.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | exports.snippetText = require("./fsl.snippets");
4 | exports.scope = "fsl";
5 |
--------------------------------------------------------------------------------
/src/snippets/fsl.snippets.js:
--------------------------------------------------------------------------------
1 | module.exports = `snippet header
2 | machine_name : "";
3 | machine_author : "";
4 | machine_license : MIT;
5 | machine_comment : "";
6 | machine_language : en;
7 | machine_version : 1.0.0;
8 | fsl_version : 1.0.0;
9 | start_states : [];
10 | `;
11 |
--------------------------------------------------------------------------------
/src/snippets/gobstones.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | exports.snippetText = require("./gobstones.snippets");
4 | exports.scope = "gobstones";
5 |
--------------------------------------------------------------------------------
/src/snippets/graphqlschema.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | exports.snippetText = require("./graphqlschema.snippets");
4 | exports.scope = "graphqlschema";
5 |
--------------------------------------------------------------------------------
/src/snippets/graphqlschema.snippets.js:
--------------------------------------------------------------------------------
1 | module.exports = `# Type Snippet
2 | trigger type
3 | snippet type
4 | type \${1:type_name} {
5 | \${2:type_siblings}
6 | }
7 |
8 | # Input Snippet
9 | trigger input
10 | snippet input
11 | input \${1:input_name} {
12 | \${2:input_siblings}
13 | }
14 |
15 | # Interface Snippet
16 | trigger interface
17 | snippet interface
18 | interface \${1:interface_name} {
19 | \${2:interface_siblings}
20 | }
21 |
22 | # Interface Snippet
23 | trigger union
24 | snippet union
25 | union \${1:union_name} = \${2:type} | \${3: type}
26 |
27 | # Enum Snippet
28 | trigger enum
29 | snippet enum
30 | enum \${1:enum_name} {
31 | \${2:enum_siblings}
32 | }
33 | `;
34 |
--------------------------------------------------------------------------------
/src/snippets/haml.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | exports.snippetText = require("./haml.snippets");
4 | exports.scope = "haml";
5 |
--------------------------------------------------------------------------------
/src/snippets/haml.snippets.js:
--------------------------------------------------------------------------------
1 | module.exports = `snippet t
2 | %table
3 | %tr
4 | %th
5 | \${1:headers}
6 | %tr
7 | %td
8 | \${2:headers}
9 | snippet ul
10 | %ul
11 | %li
12 | \${1:item}
13 | %li
14 | snippet =rp
15 | = render :partial => '\${1:partial}'
16 | snippet =rpl
17 | = render :partial => '\${1:partial}', :locals => {}
18 | snippet =rpc
19 | = render :partial => '\${1:partial}', :collection => @\$1
20 |
21 | `;
22 |
--------------------------------------------------------------------------------
/src/snippets/haskell.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | exports.snippetText = require("./haskell.snippets");
4 | exports.scope = "haskell";
5 |
--------------------------------------------------------------------------------
/src/snippets/html.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | exports.snippetText = require("./html.snippets");
4 | exports.scope = "html";
5 |
--------------------------------------------------------------------------------
/src/snippets/java.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | exports.snippetText = require("./java.snippets");
4 | exports.scope = "java";
5 |
--------------------------------------------------------------------------------
/src/snippets/javascript.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | exports.snippetText = require("./javascript.snippets");
4 | exports.scope = "javascript";
5 |
--------------------------------------------------------------------------------
/src/snippets/jsp.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | exports.snippetText = require("./jsp.snippets");
4 | exports.scope = "jsp";
5 |
--------------------------------------------------------------------------------
/src/snippets/liquid.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | exports.snippetText = require("./liquid.snippets");
4 | exports.scope = "liquid";
5 |
--------------------------------------------------------------------------------
/src/snippets/lsl.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | exports.snippetText = require("./lsl.snippets");
4 | exports.scope = "lsl";
5 |
--------------------------------------------------------------------------------
/src/snippets/lua.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | exports.snippetText = require("./lua.snippets");
4 | exports.scope = "lua";
5 |
--------------------------------------------------------------------------------
/src/snippets/lua.snippets.js:
--------------------------------------------------------------------------------
1 | module.exports = `snippet #!
2 | #!/usr/bin/env lua
3 | \$1
4 | snippet local
5 | local \${1:x} = \${2:1}
6 | snippet fun
7 | function \${1:fname}(\${2:...})
8 | \${3:-- body}
9 | end
10 | snippet for
11 | for \${1:i}=\${2:1},\${3:10} do
12 | \${4:print(i)}
13 | end
14 | snippet forp
15 | for \${1:i},\${2:v} in pairs(\${3:table_name}) do
16 | \${4:-- body}
17 | end
18 | snippet fori
19 | for \${1:i},\${2:v} in ipairs(\${3:table_name}) do
20 | \${4:-- body}
21 | end
22 | `;
23 |
--------------------------------------------------------------------------------
/src/snippets/makefile.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | exports.snippetText = require("./makefile.snippets");
4 | exports.scope = "makefile";
5 |
--------------------------------------------------------------------------------
/src/snippets/makefile.snippets.js:
--------------------------------------------------------------------------------
1 | module.exports = `snippet ifeq
2 | ifeq (\${1:cond0},\${2:cond1})
3 | \${3:code}
4 | endif
5 | `;
6 |
--------------------------------------------------------------------------------
/src/snippets/markdown.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | exports.snippetText = require("./markdown.snippets");
4 | exports.scope = "markdown";
5 |
--------------------------------------------------------------------------------
/src/snippets/maze.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | exports.snippetText = require("./maze.snippets");
4 | exports.scope = "maze";
5 |
--------------------------------------------------------------------------------
/src/snippets/maze.snippets.js:
--------------------------------------------------------------------------------
1 | module.exports = `snippet >
2 | description assignment
3 | scope maze
4 | -> \${1}= \${2}
5 |
6 | snippet >
7 | description if
8 | scope maze
9 | -> IF \${2:**} THEN %\${3:L} ELSE %\${4:R}
10 | `;
11 |
--------------------------------------------------------------------------------
/src/snippets/perl.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | exports.snippetText = require("./perl.snippets");
4 | exports.scope = "perl";
5 |
--------------------------------------------------------------------------------
/src/snippets/php.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | exports.snippetText = require("./php.snippets");
4 | exports.scope = "php";
5 |
--------------------------------------------------------------------------------
/src/snippets/python.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | exports.snippetText = require("./python.snippets");
4 | exports.scope = "python";
5 |
--------------------------------------------------------------------------------
/src/snippets/r.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | exports.snippetText = require("./r.snippets");
4 | exports.scope = "r";
5 |
--------------------------------------------------------------------------------
/src/snippets/razor.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | exports.snippetText = require("./razor.snippets");
4 | exports.scope = "razor";
5 |
--------------------------------------------------------------------------------
/src/snippets/razor.snippets.js:
--------------------------------------------------------------------------------
1 | module.exports = `snippet if
2 | (\${1} == \${2}) {
3 | \${3}
4 | }`;
5 |
--------------------------------------------------------------------------------
/src/snippets/robot.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | exports.snippetText = require("./robot.snippets");
4 | exports.scope = "robot";
5 |
--------------------------------------------------------------------------------
/src/snippets/rst.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | exports.snippetText = require("./rst.snippets");
4 | exports.scope = "rst";
5 |
--------------------------------------------------------------------------------
/src/snippets/rst.snippets.js:
--------------------------------------------------------------------------------
1 | module.exports = `# rst
2 |
3 | snippet :
4 | :\${1:field name}: \${2:field body}
5 | snippet *
6 | *\${1:Emphasis}*
7 | snippet **
8 | **\${1:Strong emphasis}**
9 | snippet _
10 | \\\`\${1:hyperlink-name}\\\`_
11 | .. _\\\`\$1\\\`: \${2:link-block}
12 | snippet =
13 | \${1:Title}
14 | =====\${2:=}
15 | \${3}
16 | snippet -
17 | \${1:Title}
18 | -----\${2:-}
19 | \${3}
20 | snippet cont:
21 | .. contents::
22 |
23 | `;
24 |
--------------------------------------------------------------------------------
/src/snippets/ruby.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | exports.snippetText = require("./ruby.snippets");
4 | exports.scope = "ruby";
5 |
--------------------------------------------------------------------------------
/src/snippets/sh.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | exports.snippetText = require("./sh.snippets");
4 | exports.scope = "sh";
5 |
--------------------------------------------------------------------------------
/src/snippets/snippets.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | exports.snippetText = require("./snippets.snippets");
4 | exports.scope = "snippets";
5 |
--------------------------------------------------------------------------------
/src/snippets/snippets.snippets.js:
--------------------------------------------------------------------------------
1 | module.exports = `# snippets for making snippets :)
2 | snippet snip
3 | snippet \${1:trigger}
4 | \${2}
5 | snippet msnip
6 | snippet \${1:trigger} \${2:description}
7 | \${3}
8 | snippet v
9 | {VISUAL}
10 | `;
11 |
--------------------------------------------------------------------------------
/src/snippets/sql.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | exports.snippetText = require("./sql.snippets");
4 | exports.scope = "sql";
5 |
--------------------------------------------------------------------------------
/src/snippets/sqlserver.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | exports.snippetText = require("./sqlserver.snippets");
4 | exports.scope = "sqlserver";
5 |
--------------------------------------------------------------------------------
/src/snippets/tcl.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | exports.snippetText = require("./tcl.snippets");
4 | exports.scope = "tcl";
5 |
--------------------------------------------------------------------------------
/src/snippets/tex.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | exports.snippetText = require("./tex.snippets");
4 | exports.scope = "tex";
5 |
--------------------------------------------------------------------------------
/src/snippets/textile.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | exports.snippetText = require("./textile.snippets");
4 | exports.scope = "textile";
5 |
--------------------------------------------------------------------------------
/src/snippets/textile.snippets.js:
--------------------------------------------------------------------------------
1 | module.exports = `# Jekyll post header
2 | snippet header
3 | ---
4 | title: \${1:title}
5 | layout: post
6 | date: \${2:date} \${3:hour:minute:second} -05:00
7 | ---
8 |
9 | # Image
10 | snippet img
11 | !\${1:url}(\${2:title}):\${3:link}!
12 |
13 | # Table
14 | snippet |
15 | |\${1}|\${2}
16 |
17 | # Link
18 | snippet link
19 | "\${1:link text}":\${2:url}
20 |
21 | # Acronym
22 | snippet (
23 | (\${1:Expand acronym})\${2}
24 |
25 | # Footnote
26 | snippet fn
27 | [\${1:ref number}] \${3}
28 |
29 | fn\$1. \${2:footnote}
30 |
31 | `;
32 |
--------------------------------------------------------------------------------
/src/snippets/velocity.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | exports.snippetText = require("./velocity.snippets");
4 | exports.scope = "velocity";
5 | exports.includeScopes = ["html", "javascript", "css"];
6 |
--------------------------------------------------------------------------------
/src/snippets/velocity.snippets.js:
--------------------------------------------------------------------------------
1 | module.exports = `# macro
2 | snippet #macro
3 | #macro ( \${1:macroName} \${2:\\\$var1, [\\\$var2, ...]} )
4 | \${3:## macro code}
5 | #end
6 | # foreach
7 | snippet #foreach
8 | #foreach ( \${1:\\\$item} in \${2:\\\$collection} )
9 | \${3:## foreach code}
10 | #end
11 | # if
12 | snippet #if
13 | #if ( \${1:true} )
14 | \${0}
15 | #end
16 | # if ... else
17 | snippet #ife
18 | #if ( \${1:true} )
19 | \${2}
20 | #else
21 | \${0}
22 | #end
23 | #import
24 | snippet #import
25 | #import ( "\${1:path/to/velocity/format}" )
26 | # set
27 | snippet #set
28 | #set ( \$\${1:var} = \${0} )
29 | `;
30 |
--------------------------------------------------------------------------------
/src/snippets/wollok.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | exports.snippetText = require("./wollok.snippets");
4 | exports.scope = "wollok";
5 |
--------------------------------------------------------------------------------
/src/test/all.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | require("amd-loader");
4 | var test = require("asyncjs").test;
5 | test.walkTestCases(__dirname + "/..").exec();
6 |
--------------------------------------------------------------------------------
/src/test/asyncjs/index.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * async.js
3 | * Copyright(c) 2010 Fabian Jakobs
4 | * MIT Licensed
5 | */
6 |
7 |
8 | module.exports = require("./async")
9 | module.exports.test = require("./test")
10 | require("./utils")
11 |
--------------------------------------------------------------------------------
/src/test/util.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @returns {boolean} true if it's a Node.js environment, false otherwise
3 | */
4 | function isNodeEnvironment() {
5 | return typeof process !== "undefined";
6 | }
7 |
8 | module.exports = {
9 | isNodeEnvironment
10 | };
--------------------------------------------------------------------------------
/src/theme/ambiance.js:
--------------------------------------------------------------------------------
1 | exports.isDark = true;
2 | exports.cssClass = "ace-ambiance";
3 | exports.cssText = require("./ambiance-css");
4 |
5 | var dom = require("../lib/dom");
6 | dom.importCssString(exports.cssText, exports.cssClass, false);
7 |
--------------------------------------------------------------------------------
/src/theme/chaos.js:
--------------------------------------------------------------------------------
1 | exports.isDark = true;
2 | exports.cssClass = "ace-chaos";
3 | exports.cssText = require("./chaos-css");
4 |
5 | var dom = require("../lib/dom");
6 | dom.importCssString(exports.cssText, exports.cssClass, false);
7 |
--------------------------------------------------------------------------------
/src/theme/chrome.js:
--------------------------------------------------------------------------------
1 | exports.isDark = false;
2 | exports.cssClass = "ace-chrome";
3 | exports.cssText = require("./chrome-css");
4 |
5 | var dom = require("../lib/dom");
6 | dom.importCssString(exports.cssText, exports.cssClass, false);
7 |
--------------------------------------------------------------------------------
/src/theme/cloud9_day.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | exports.isDark = false;
4 | exports.cssClass = "ace-cloud9-day";
5 | exports.cssText = require("./cloud9_day-css");
6 |
7 | var dom = require("../lib/dom");
8 | dom.importCssString(exports.cssText, exports.cssClass);
9 |
--------------------------------------------------------------------------------
/src/theme/cloud9_night.js:
--------------------------------------------------------------------------------
1 | exports.isDark = true;
2 | exports.cssClass = "ace-cloud9-night";
3 | exports.cssText = require("./cloud9_night-css");
4 |
5 | var dom = require("../lib/dom");
6 | dom.importCssString(exports.cssText, exports.cssClass);
7 |
--------------------------------------------------------------------------------
/src/theme/cloud9_night_low_color.js:
--------------------------------------------------------------------------------
1 | exports.isDark = true;
2 | exports.cssClass = "ace-cloud9-night-low-color";
3 | exports.cssText = require("./cloud9_night_low_color-css");
4 |
5 | var dom = require("../lib/dom");
6 | dom.importCssString(exports.cssText, exports.cssClass);
7 |
--------------------------------------------------------------------------------
/src/theme/cloud_editor.js:
--------------------------------------------------------------------------------
1 | exports.isDark = false;
2 | exports.cssClass = "ace-cloud_editor";
3 | exports.cssText = require("./cloud_editor-css");
4 |
5 | var dom = require("../lib/dom");
6 | dom.importCssString(exports.cssText, exports.cssClass, false);
7 |
--------------------------------------------------------------------------------
/src/theme/cloud_editor_dark.js:
--------------------------------------------------------------------------------
1 | exports.isDark = true;
2 | exports.cssClass = "ace-cloud_editor_dark";
3 | exports.cssText = require("./cloud_editor_dark-css");
4 |
5 | var dom = require("../lib/dom");
6 | dom.importCssString(exports.cssText, exports.cssClass, false);
7 |
--------------------------------------------------------------------------------
/src/theme/clouds.js:
--------------------------------------------------------------------------------
1 | exports.isDark = false;
2 | exports.cssClass = "ace-clouds";
3 | exports.cssText = require("./clouds-css");
4 |
5 | var dom = require("../lib/dom");
6 | dom.importCssString(exports.cssText, exports.cssClass, false);
7 |
--------------------------------------------------------------------------------
/src/theme/clouds_midnight.js:
--------------------------------------------------------------------------------
1 | exports.isDark = true;
2 | exports.cssClass = "ace-clouds-midnight";
3 | exports.cssText = require("./clouds_midnight-css");
4 |
5 | var dom = require("../lib/dom");
6 | dom.importCssString(exports.cssText, exports.cssClass, false);
7 |
--------------------------------------------------------------------------------
/src/theme/cobalt.js:
--------------------------------------------------------------------------------
1 | exports.isDark = true;
2 | exports.cssClass = "ace-cobalt";
3 | exports.cssText = require("./cobalt-css");
4 |
5 | var dom = require("../lib/dom");
6 | dom.importCssString(exports.cssText, exports.cssClass, false);
7 |
--------------------------------------------------------------------------------
/src/theme/crimson_editor.js:
--------------------------------------------------------------------------------
1 | exports.isDark = false;
2 | exports.cssText = require("./crimson_editor-css");
3 |
4 | exports.cssClass = "ace-crimson-editor";
5 |
6 | var dom = require("../lib/dom");
7 | dom.importCssString(exports.cssText, exports.cssClass, false);
8 |
--------------------------------------------------------------------------------
/src/theme/dawn.js:
--------------------------------------------------------------------------------
1 | exports.isDark = false;
2 | exports.cssClass = "ace-dawn";
3 | exports.cssText = require("./dawn-css");
4 |
5 | var dom = require("../lib/dom");
6 | dom.importCssString(exports.cssText, exports.cssClass, false);
7 |
--------------------------------------------------------------------------------
/src/theme/dracula.js:
--------------------------------------------------------------------------------
1 | exports.isDark = true;
2 | exports.cssClass = "ace-dracula";
3 | exports.cssText = require("./dracula-css");
4 | exports.$selectionColorConflict = true;
5 |
6 | var dom = require("../lib/dom");
7 | dom.importCssString(exports.cssText, exports.cssClass, false);
8 |
--------------------------------------------------------------------------------
/src/theme/dreamweaver.js:
--------------------------------------------------------------------------------
1 | exports.isDark = false;
2 | exports.cssClass = "ace-dreamweaver";
3 | exports.cssText = require("./dreamweaver-css");
4 |
5 | var dom = require("../lib/dom");
6 | dom.importCssString(exports.cssText, exports.cssClass, false);
7 |
--------------------------------------------------------------------------------
/src/theme/eclipse.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | exports.isDark = false;
4 | exports.cssText = require("./eclipse-css");
5 |
6 | exports.cssClass = "ace-eclipse";
7 |
8 | var dom = require("../lib/dom");
9 | dom.importCssString(exports.cssText, exports.cssClass, false);
10 |
--------------------------------------------------------------------------------
/src/theme/github.js:
--------------------------------------------------------------------------------
1 | exports.isDark = false;
2 | exports.cssClass = "ace-github";
3 | exports.cssText = require("./github-css");
4 |
5 | var dom = require("../lib/dom");
6 | dom.importCssString(exports.cssText, exports.cssClass, false);
7 |
--------------------------------------------------------------------------------
/src/theme/github_dark.js:
--------------------------------------------------------------------------------
1 | exports.isDark = true;
2 | exports.cssClass = "ace-github-dark";
3 | exports.cssText = require("./github_dark-css");
4 |
5 | var dom = require("../lib/dom");
6 | dom.importCssString(exports.cssText, exports.cssClass, false);
7 |
8 |
--------------------------------------------------------------------------------
/src/theme/github_light_default.js:
--------------------------------------------------------------------------------
1 | exports.isDark = false;
2 | exports.cssClass = "ace-github-light-default";
3 | exports.cssText = require("./github_light_default-css");
4 |
5 | var dom = require("../lib/dom");
6 | dom.importCssString(exports.cssText, exports.cssClass, false);
7 |
--------------------------------------------------------------------------------
/src/theme/gob.js:
--------------------------------------------------------------------------------
1 | exports.isDark = true;
2 | exports.cssClass = "ace-gob";
3 | exports.cssText = require("./gob-css");
4 |
5 | var dom = require("../lib/dom");
6 | dom.importCssString(exports.cssText, exports.cssClass, false);
7 |
--------------------------------------------------------------------------------
/src/theme/gruvbox.js:
--------------------------------------------------------------------------------
1 | exports.isDark = true;
2 | exports.cssClass = "ace-gruvbox";
3 | exports.cssText = require("./gruvbox-css");
4 |
5 | var dom = require("../lib/dom");
6 | dom.importCssString(exports.cssText, exports.cssClass, false);
7 |
--------------------------------------------------------------------------------
/src/theme/gruvbox_dark_hard.js:
--------------------------------------------------------------------------------
1 | exports.isDark = true;
2 | exports.cssClass = "ace-gruvbox-dark-hard";
3 | exports.cssText = require("./gruvbox_dark_hard-css");
4 |
5 | var dom = require("../lib/dom");
6 | dom.importCssString(exports.cssText, exports.cssClass);
7 |
--------------------------------------------------------------------------------
/src/theme/gruvbox_light_hard.js:
--------------------------------------------------------------------------------
1 | exports.isDark = false;
2 | exports.cssClass = "ace-gruvbox-light-hard";
3 | exports.cssText = require("./gruvbox_light_hard-css");
4 |
5 | var dom = require("../lib/dom");
6 | dom.importCssString(exports.cssText, exports.cssClass);
7 |
--------------------------------------------------------------------------------
/src/theme/idle_fingers.js:
--------------------------------------------------------------------------------
1 | exports.isDark = true;
2 | exports.cssClass = "ace-idle-fingers";
3 | exports.cssText = require("./idle_fingers-css");
4 |
5 | var dom = require("../lib/dom");
6 | dom.importCssString(exports.cssText, exports.cssClass, false);
7 |
--------------------------------------------------------------------------------
/src/theme/iplastic.js:
--------------------------------------------------------------------------------
1 | exports.isDark = false;
2 | exports.cssClass = "ace-iplastic";
3 | exports.cssText = require("./iplastic-css");
4 |
5 | var dom = require("../lib/dom");
6 | dom.importCssString(exports.cssText, exports.cssClass, false);
7 |
--------------------------------------------------------------------------------
/src/theme/katzenmilch.js:
--------------------------------------------------------------------------------
1 | exports.isDark = false;
2 | exports.cssClass = "ace-katzenmilch";
3 | exports.cssText = require("./katzenmilch-css");
4 |
5 | var dom = require("../lib/dom");
6 | dom.importCssString(exports.cssText, exports.cssClass, false);
7 |
--------------------------------------------------------------------------------
/src/theme/kr_theme.js:
--------------------------------------------------------------------------------
1 | exports.isDark = true;
2 | exports.cssClass = "ace-kr-theme";
3 | exports.cssText = require("./kr_theme-css");
4 |
5 | var dom = require("../lib/dom");
6 | dom.importCssString(exports.cssText, exports.cssClass, false);
7 |
--------------------------------------------------------------------------------
/src/theme/kuroir.js:
--------------------------------------------------------------------------------
1 | exports.isDark = false;
2 | exports.cssClass = "ace-kuroir";
3 | exports.cssText = require("./kuroir-css");
4 |
5 | var dom = require("../lib/dom");
6 | dom.importCssString(exports.cssText, exports.cssClass, false);
7 |
--------------------------------------------------------------------------------
/src/theme/merbivore.js:
--------------------------------------------------------------------------------
1 | exports.isDark = true;
2 | exports.cssClass = "ace-merbivore";
3 | exports.cssText = require("./merbivore-css");
4 |
5 | var dom = require("../lib/dom");
6 | dom.importCssString(exports.cssText, exports.cssClass, false);
7 |
--------------------------------------------------------------------------------
/src/theme/merbivore_soft.js:
--------------------------------------------------------------------------------
1 | exports.isDark = true;
2 | exports.cssClass = "ace-merbivore-soft";
3 | exports.cssText = require("./merbivore_soft-css");
4 |
5 | var dom = require("../lib/dom");
6 | dom.importCssString(exports.cssText, exports.cssClass, false);
7 |
--------------------------------------------------------------------------------
/src/theme/mono_industrial.js:
--------------------------------------------------------------------------------
1 | exports.isDark = true;
2 | exports.cssClass = "ace-mono-industrial";
3 | exports.cssText = require("./mono_industrial-css");
4 |
5 | var dom = require("../lib/dom");
6 | dom.importCssString(exports.cssText, exports.cssClass, false);
7 |
--------------------------------------------------------------------------------
/src/theme/monokai.js:
--------------------------------------------------------------------------------
1 | exports.isDark = true;
2 | exports.cssClass = "ace-monokai";
3 | exports.cssText = require("./monokai-css");
4 |
5 | var dom = require("../lib/dom");
6 | dom.importCssString(exports.cssText, exports.cssClass, false);
7 |
--------------------------------------------------------------------------------
/src/theme/nord_dark.js:
--------------------------------------------------------------------------------
1 | exports.isDark = true;
2 | exports.cssClass = "ace-nord-dark";
3 | exports.cssText = require("./nord_dark-css");
4 | exports.$selectionColorConflict = true;
5 |
6 | var dom = require("../lib/dom");
7 | dom.importCssString(exports.cssText, exports.cssClass, false);
8 |
--------------------------------------------------------------------------------
/src/theme/one_dark.js:
--------------------------------------------------------------------------------
1 | exports.isDark = true;
2 | exports.cssClass = "ace-one-dark";
3 | exports.cssText = require("./one_dark-css");
4 |
5 | var dom = require("../lib/dom");
6 | dom.importCssString(exports.cssText, exports.cssClass, false);
7 |
--------------------------------------------------------------------------------
/src/theme/pastel_on_dark.js:
--------------------------------------------------------------------------------
1 | exports.isDark = true;
2 | exports.cssClass = "ace-pastel-on-dark";
3 | exports.cssText = require("./pastel_on_dark-css");
4 |
5 | var dom = require("../lib/dom");
6 | dom.importCssString(exports.cssText, exports.cssClass, false);
7 |
--------------------------------------------------------------------------------
/src/theme/solarized_dark.js:
--------------------------------------------------------------------------------
1 | exports.isDark = true;
2 | exports.cssClass = "ace-solarized-dark";
3 | exports.cssText = require("./solarized_dark-css");
4 |
5 | var dom = require("../lib/dom");
6 | dom.importCssString(exports.cssText, exports.cssClass, false);
7 |
--------------------------------------------------------------------------------
/src/theme/solarized_light.js:
--------------------------------------------------------------------------------
1 | exports.isDark = false;
2 | exports.cssClass = "ace-solarized-light";
3 | exports.cssText = require("./solarized_light-css");
4 |
5 | var dom = require("../lib/dom");
6 | dom.importCssString(exports.cssText, exports.cssClass, false);
7 |
--------------------------------------------------------------------------------
/src/theme/sqlserver.js:
--------------------------------------------------------------------------------
1 | exports.isDark = false;
2 | exports.cssClass = "ace-sqlserver";
3 | exports.cssText = require("./sqlserver-css");
4 |
5 | var dom = require("../lib/dom");
6 | dom.importCssString(exports.cssText, exports.cssClass, false);
7 |
--------------------------------------------------------------------------------
/src/theme/terminal.js:
--------------------------------------------------------------------------------
1 | exports.isDark = true;
2 | exports.cssClass = "ace-terminal-theme";
3 | exports.cssText = require("./terminal-css");
4 |
5 | var dom = require("../lib/dom");
6 | dom.importCssString(exports.cssText, exports.cssClass, false);
7 |
--------------------------------------------------------------------------------
/src/theme/textmate.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | exports.isDark = false;
4 | exports.cssClass = "ace-tm";
5 | exports.cssText = require("./textmate-css");
6 | exports.$id = "ace/theme/textmate";
7 |
8 | var dom = require("../lib/dom");
9 | dom.importCssString(exports.cssText, exports.cssClass, false);
10 |
--------------------------------------------------------------------------------
/src/theme/tomorrow.js:
--------------------------------------------------------------------------------
1 | exports.isDark = false;
2 | exports.cssClass = "ace-tomorrow";
3 | exports.cssText = require("./tomorrow-css");
4 |
5 | var dom = require("../lib/dom");
6 | dom.importCssString(exports.cssText, exports.cssClass, false);
7 |
--------------------------------------------------------------------------------
/src/theme/tomorrow_night.js:
--------------------------------------------------------------------------------
1 | exports.isDark = true;
2 | exports.cssClass = "ace-tomorrow-night";
3 | exports.cssText = require("./tomorrow_night-css");
4 |
5 | var dom = require("../lib/dom");
6 | dom.importCssString(exports.cssText, exports.cssClass, false);
7 |
--------------------------------------------------------------------------------
/src/theme/tomorrow_night_blue.js:
--------------------------------------------------------------------------------
1 | exports.isDark = true;
2 | exports.cssClass = "ace-tomorrow-night-blue";
3 | exports.cssText = require("./tomorrow_night_blue-css");
4 |
5 | var dom = require("../lib/dom");
6 | dom.importCssString(exports.cssText, exports.cssClass, false);
7 |
--------------------------------------------------------------------------------
/src/theme/tomorrow_night_bright.js:
--------------------------------------------------------------------------------
1 | exports.isDark = true;
2 | exports.cssClass = "ace-tomorrow-night-bright";
3 | exports.cssText = require("./tomorrow_night_bright-css");
4 |
5 | var dom = require("../lib/dom");
6 | dom.importCssString(exports.cssText, exports.cssClass, false);
7 |
--------------------------------------------------------------------------------
/src/theme/tomorrow_night_eighties.js:
--------------------------------------------------------------------------------
1 | exports.isDark = true;
2 | exports.cssClass = "ace-tomorrow-night-eighties";
3 | exports.cssText = require("./tomorrow_night_eighties-css");
4 |
5 | var dom = require("../lib/dom");
6 | dom.importCssString(exports.cssText, exports.cssClass, false);
7 |
--------------------------------------------------------------------------------
/src/theme/twilight.js:
--------------------------------------------------------------------------------
1 | exports.isDark = true;
2 | exports.cssClass = "ace-twilight";
3 | exports.cssText = require("./twilight-css");
4 |
5 | var dom = require("../lib/dom");
6 | dom.importCssString(exports.cssText, exports.cssClass, false);
7 |
--------------------------------------------------------------------------------
/src/theme/vibrant_ink.js:
--------------------------------------------------------------------------------
1 | exports.isDark = true;
2 | exports.cssClass = "ace-vibrant-ink";
3 | exports.cssText = require("./vibrant_ink-css");
4 |
5 | var dom = require("../lib/dom");
6 | dom.importCssString(exports.cssText, exports.cssClass, false);
7 |
--------------------------------------------------------------------------------
/src/theme/xcode.js:
--------------------------------------------------------------------------------
1 | exports.isDark = false;
2 | exports.cssClass = "ace-xcode";
3 | exports.cssText = require("./xcode-css");
4 |
5 | var dom = require("../lib/dom");
6 | dom.importCssString(exports.cssText, exports.cssClass, false);
7 |
--------------------------------------------------------------------------------
/src/worker/worker_client.js:
--------------------------------------------------------------------------------
1 | // not implemented
2 | var WorkerClient;
3 | WorkerClient = function() {
4 | this.attachToDocument = function() {};
5 | this.on = function() {};
6 | this.terminate = function() {};
7 | };
8 |
9 | exports.WorkerClient = WorkerClient;
10 |
--------------------------------------------------------------------------------
/tool/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "ace-tools",
3 | "version": "0.1.0",
4 | "dependencies": {
5 | "amd-loader": "~0.0.4",
6 | "browser-pack": "5.0.1",
7 | "browserify": "10.2.4",
8 | "cson": "3.0.1",
9 | "css-parse": "1.0.3",
10 | "css-stringify": "1.0.3",
11 | "deps-sort": "1.3.9",
12 | "derequire": "2.0.0",
13 | "plist": "3.0.5"
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/tool/regexp_tokenizer_test.js:
--------------------------------------------------------------------------------
1 | require("amd-loader");
2 | var assert = require("assert");
3 |
4 | var tk = require("./regexp_tokenizer");
5 | var tokenize = tk.tokenize;
6 | var toStr = tk.toStr;
7 |
8 | var logTokens = function(tokens) {
9 | tokens.forEach(function(x) {
10 | delete x.end
11 | delete x.start
12 | })
13 | console.log(tokens)
14 | }
15 |
16 | assert.equal(toStr(
17 | tokenize("(?x)c + +\n\
18 | # comment\n\
19 | (?-x) # (?x: 1 \n\
20 | (2) [ ] # a \n\
21 | 3 4) c#"
22 | )),
23 | "(?x)c++(?-x) # (?x:1(2)[ ]34) c#"
24 | )
25 | assert.equal(toStr(
26 | tokenize("(?x)\n\
27 | u # comment\n\
28 | ")),
29 | "(?x)u"
30 | )
31 |
--------------------------------------------------------------------------------
/tool/templates/snippets.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | exports.snippetText = require("../requirejs/text!./%modeName%.snippets");
4 | exports.scope = "%modeName%";
--------------------------------------------------------------------------------
/tool/tmthemes/LICENSE:
--------------------------------------------------------------------------------
1 | If not otherwise specified (see below), files in this directory fall under the following license:
2 |
3 | Permission to copy, use, modify, sell and distribute this
4 | software is granted. This software is provided "as is" without
5 | express or implied warranty, and with no claim as to its
6 | suitability for any purpose.
7 |
8 | An exception is made for files in readable text which contain their own license information, or files where an accompanying file exists (in the same directory) with a “-license” suffix added to the base-name name of the original file, and an extension of txt, html, or similar. For example “tidy” is accompanied by “tidy-license.txt”.
--------------------------------------------------------------------------------
/translations/Readme.md:
--------------------------------------------------------------------------------
1 | ### Generating new translation file
2 | - Create a `JSON` file in this folder named `.json`.
3 | - Add `{"$id": ""}` to the empty file.
4 | - Run `node Makefile.dryice.js nls` in the root of the repository to generate empty translation file.
--------------------------------------------------------------------------------
/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "strict": false,
4 | "noImplicitAny": false,
5 | "skipDefaultLibCheck": true,
6 | "module": "commonjs",
7 | "target": "es2019",
8 | "allowJs": true,
9 | "checkJs": true,
10 | "declaration": true,
11 | "noEmit": true,
12 | },
13 | "exclude": [
14 | "node_modules",
15 | "src/test",
16 | "src/**/*_test.js",
17 | "src/keyboard/vim.js",
18 | "src/keyboard/emacs.js",
19 | "src/keyboard/sublime.js",
20 | "src/keyboard/vscode.js",
21 | "src/mode",
22 | "./ace-internal.d.ts",
23 | "./ace-modes.d.ts",
24 | "src/**/* *"
25 | ],
26 | "include": [
27 | "./src/**/*",
28 | "./ace.d.ts",
29 | "./types/ace_*.d.ts"
30 | ]
31 | }
32 |
--------------------------------------------------------------------------------
/version.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 | var x;
3 | x = require('./package');
4 | console.log(x.version);
5 |
--------------------------------------------------------------------------------
{{title}}
6 |