├── src-min ├── mode-text.js ├── snippets │ ├── d.js │ ├── ada.js │ ├── dot.js │ ├── ejs.js │ ├── elm.js │ ├── ftl.js │ ├── ini.js │ ├── jsx.js │ ├── mel.js │ ├── nix.js │ ├── nsis.js │ ├── rst.js │ ├── sjs.js │ ├── svg.js │ ├── xml.js │ ├── abap.js │ ├── elixir.js │ ├── glsl.js │ ├── haxe.js │ ├── jack.js │ ├── jade.js │ ├── json.js │ ├── lean.js │ ├── less.js │ ├── lisp.js │ ├── mask.js │ ├── rdoc.js │ ├── rust.js │ ├── sass.js │ ├── scad.js │ ├── scss.js │ ├── swig.js │ ├── text.js │ ├── toml.js │ ├── twig.js │ ├── vhdl.js │ ├── yaml.js │ ├── cirru.js │ ├── cobol.js │ ├── csharp.js │ ├── curly.js │ ├── eiffel.js │ ├── forth.js │ ├── gcode.js │ ├── golang.js │ ├── groovy.js │ ├── julia.js │ ├── latex.js │ ├── liquid.js │ ├── logiql.js │ ├── lucene.js │ ├── matlab.js │ ├── mysql.js │ ├── ocaml.js │ ├── pascal.js │ ├── pgsql.js │ ├── praat.js │ ├── prolog.js │ ├── protobuf.js │ ├── rhtml.js │ ├── scala.js │ ├── scheme.js │ ├── smarty.js │ ├── space.js │ ├── stylus.js │ ├── swift.js │ ├── asciidoc.js │ ├── c9search.js │ ├── fortran.js │ ├── gherkin.js │ ├── live_script.js │ ├── luapage.js │ ├── mushcode.js │ ├── vbscript.js │ ├── verilog.js │ ├── batchfile.js │ ├── gitignore.js │ ├── html_ruby.js │ ├── mipsassembler.js │ ├── apache_conf.js │ ├── applescript.js │ ├── autohotkey.js │ ├── coldfusion.js │ ├── dockerfile.js │ ├── handlebars.js │ ├── html_elixir.js │ ├── livescript.js │ ├── objectivec.js │ ├── plain_text.js │ ├── powershell.js │ ├── properties.js │ ├── typescript.js │ ├── assembly_x86.js │ ├── soy_template.js │ ├── mips_assembler.js │ ├── razor.js │ ├── makefile.js │ ├── maze.js │ ├── snippets.js │ ├── haml.js │ ├── lua.js │ ├── textile.js │ ├── diff.js │ ├── gobstones.js │ ├── velocity.js │ ├── sql.js │ └── abc.js ├── ext-error_marker.js ├── mode-plain_text.js ├── ext-linking.js └── mode-gitignore.js ├── src ├── mode-text.js ├── ext-error_marker.js ├── snippets │ ├── d.js │ ├── ada.js │ ├── dot.js │ ├── ejs.js │ ├── elm.js │ ├── ftl.js │ ├── ini.js │ ├── jsx.js │ ├── mel.js │ ├── nix.js │ ├── nsis.js │ ├── rst.js │ ├── sjs.js │ ├── svg.js │ ├── xml.js │ ├── abap.js │ ├── cirru.js │ ├── cobol.js │ ├── curly.js │ ├── elixir.js │ ├── forth.js │ ├── gcode.js │ ├── glsl.js │ ├── haxe.js │ ├── jack.js │ ├── jade.js │ ├── json.js │ ├── julia.js │ ├── latex.js │ ├── lean.js │ ├── less.js │ ├── lisp.js │ ├── mysql.js │ ├── ocaml.js │ ├── pgsql.js │ ├── praat.js │ ├── rdoc.js │ ├── rhtml.js │ ├── rust.js │ ├── sass.js │ ├── scad.js │ ├── scala.js │ ├── scss.js │ ├── space.js │ ├── swig.js │ ├── text.js │ ├── toml.js │ ├── twig.js │ ├── vhdl.js │ ├── yaml.js │ ├── csharp.js │ ├── eiffel.js │ ├── golang.js │ ├── groovy.js │ ├── liquid.js │ ├── logiql.js │ ├── lucene.js │ ├── matlab.js │ ├── pascal.js │ ├── prolog.js │ ├── protobuf.js │ ├── scheme.js │ ├── smarty.js │ ├── stylus.js │ ├── asciidoc.js │ ├── c9search.js │ ├── fortran.js │ ├── gherkin.js │ ├── live_script.js │ ├── luapage.js │ ├── mask.js │ ├── mushcode.js │ ├── vbscript.js │ ├── verilog.js │ ├── autohotkey.js │ ├── batchfile.js │ ├── coldfusion.js │ ├── dockerfile.js │ ├── gitignore.js │ ├── handlebars.js │ ├── html_ruby.js │ ├── livescript.js │ ├── mipsassembler.js │ ├── objectivec.js │ ├── plain_text.js │ ├── powershell.js │ ├── properties.js │ ├── swift.js │ ├── typescript.js │ ├── apache_conf.js │ ├── applescript.js │ ├── html_elixir.js │ ├── assembly_x86.js │ ├── soy_template.js │ ├── mips_assembler.js │ ├── razor.js │ ├── makefile.js │ ├── maze.js │ ├── snippets.js │ ├── haml.js │ ├── diff.js │ ├── lua.js │ ├── textile.js │ ├── gobstones.js │ └── velocity.js └── mode-plain_text.js ├── src-min-noconflict ├── mode-text.js ├── snippets │ ├── d.js │ ├── ada.js │ ├── dot.js │ ├── ejs.js │ ├── elm.js │ ├── ftl.js │ ├── ini.js │ ├── jsx.js │ ├── mel.js │ ├── nix.js │ ├── nsis.js │ ├── rst.js │ ├── sjs.js │ ├── svg.js │ ├── xml.js │ ├── abap.js │ ├── elixir.js │ ├── glsl.js │ ├── haxe.js │ ├── jack.js │ ├── jade.js │ ├── json.js │ ├── lean.js │ ├── less.js │ ├── lisp.js │ ├── mask.js │ ├── rdoc.js │ ├── rust.js │ ├── sass.js │ ├── scad.js │ ├── scss.js │ ├── swig.js │ ├── text.js │ ├── toml.js │ ├── twig.js │ ├── vhdl.js │ ├── yaml.js │ ├── cirru.js │ ├── cobol.js │ ├── csharp.js │ ├── curly.js │ ├── eiffel.js │ ├── forth.js │ ├── gcode.js │ ├── golang.js │ ├── groovy.js │ ├── julia.js │ ├── latex.js │ ├── liquid.js │ ├── logiql.js │ ├── lucene.js │ ├── matlab.js │ ├── mysql.js │ ├── ocaml.js │ ├── pascal.js │ ├── pgsql.js │ ├── praat.js │ ├── prolog.js │ ├── protobuf.js │ ├── rhtml.js │ ├── scala.js │ ├── scheme.js │ ├── smarty.js │ ├── space.js │ ├── stylus.js │ ├── swift.js │ ├── asciidoc.js │ ├── c9search.js │ ├── fortran.js │ ├── gherkin.js │ ├── live_script.js │ ├── luapage.js │ ├── mushcode.js │ ├── vbscript.js │ ├── verilog.js │ ├── batchfile.js │ ├── gitignore.js │ ├── html_ruby.js │ ├── mipsassembler.js │ ├── apache_conf.js │ ├── applescript.js │ ├── autohotkey.js │ ├── coldfusion.js │ ├── dockerfile.js │ ├── handlebars.js │ ├── html_elixir.js │ ├── livescript.js │ ├── objectivec.js │ ├── plain_text.js │ ├── powershell.js │ ├── properties.js │ ├── typescript.js │ ├── assembly_x86.js │ ├── soy_template.js │ ├── mips_assembler.js │ ├── razor.js │ ├── makefile.js │ ├── maze.js │ ├── snippets.js │ ├── haml.js │ ├── lua.js │ ├── textile.js │ ├── diff.js │ ├── gobstones.js │ ├── velocity.js │ └── sql.js ├── ext-error_marker.js ├── mode-plain_text.js ├── ext-linking.js └── mode-gitignore.js ├── src-noconflict ├── mode-text.js ├── ext-error_marker.js ├── snippets │ ├── d.js │ ├── ada.js │ ├── dot.js │ ├── ejs.js │ ├── elm.js │ ├── ftl.js │ ├── ini.js │ ├── jsx.js │ ├── mel.js │ ├── nix.js │ ├── nsis.js │ ├── rst.js │ ├── sjs.js │ ├── svg.js │ ├── xml.js │ ├── abap.js │ ├── cirru.js │ ├── cobol.js │ ├── curly.js │ ├── elixir.js │ ├── forth.js │ ├── gcode.js │ ├── glsl.js │ ├── haxe.js │ ├── jack.js │ ├── jade.js │ ├── json.js │ ├── julia.js │ ├── latex.js │ ├── lean.js │ ├── less.js │ ├── lisp.js │ ├── mysql.js │ ├── ocaml.js │ ├── pgsql.js │ ├── praat.js │ ├── rdoc.js │ ├── rhtml.js │ ├── rust.js │ ├── sass.js │ ├── scad.js │ ├── scala.js │ ├── scss.js │ ├── space.js │ ├── swig.js │ ├── text.js │ ├── toml.js │ ├── twig.js │ ├── vhdl.js │ ├── yaml.js │ ├── csharp.js │ ├── eiffel.js │ ├── golang.js │ ├── groovy.js │ ├── liquid.js │ ├── logiql.js │ ├── lucene.js │ ├── matlab.js │ ├── pascal.js │ ├── prolog.js │ ├── protobuf.js │ ├── scheme.js │ ├── smarty.js │ ├── stylus.js │ ├── asciidoc.js │ ├── c9search.js │ ├── fortran.js │ ├── gherkin.js │ ├── live_script.js │ ├── luapage.js │ ├── mask.js │ ├── mushcode.js │ ├── vbscript.js │ ├── verilog.js │ ├── autohotkey.js │ ├── batchfile.js │ ├── coldfusion.js │ ├── dockerfile.js │ ├── gitignore.js │ ├── handlebars.js │ ├── html_ruby.js │ ├── livescript.js │ ├── mipsassembler.js │ ├── objectivec.js │ ├── plain_text.js │ ├── powershell.js │ ├── properties.js │ ├── swift.js │ ├── typescript.js │ ├── apache_conf.js │ ├── applescript.js │ ├── html_elixir.js │ ├── assembly_x86.js │ ├── soy_template.js │ ├── mips_assembler.js │ ├── razor.js │ ├── makefile.js │ ├── maze.js │ ├── snippets.js │ ├── haml.js │ ├── diff.js │ ├── lua.js │ ├── textile.js │ └── gobstones.js └── mode-plain_text.js ├── demo ├── kitchen-sink │ ├── docs │ │ ├── cobol.CBL │ │ ├── jsoniq.jq │ │ ├── mysql.mysql │ │ ├── razor.cshtml │ │ ├── live_script.ls │ │ ├── lucene.lucene │ │ ├── mipsassembler.s │ │ ├── ini.ini │ │ ├── csharp.cs │ │ ├── asciidoc.asciidoc │ │ ├── coldfusion.cfm │ │ ├── ada.ada │ │ ├── xquery.xq │ │ ├── javascript.js │ │ ├── sql.sql │ │ ├── io.io │ │ ├── jsx.jsx │ │ ├── .gitignore │ │ ├── handlebars.hbs │ │ ├── smarty.smarty │ │ ├── lean.lean │ │ ├── htaccess │ │ ├── julia.jl │ │ ├── matlab.matlab │ │ ├── verilog.v │ │ ├── batchfile.bat │ │ ├── css.css │ │ ├── protobuf.proto │ │ ├── curly.curly │ │ ├── d.d │ │ ├── html.html │ │ ├── scad.scad │ │ ├── php.php │ │ ├── java.java │ │ ├── logiql.logic │ │ ├── scss.scss │ │ ├── coffee.coffee │ │ ├── gobstones.gbs │ │ ├── maze.mz │ │ ├── eiffel.e │ │ ├── Haxe.hx │ │ ├── textile.textile │ │ ├── elm.elm │ │ ├── powershell.ps1 │ │ ├── swift.swift │ │ ├── wollok.wlk │ │ ├── snippets.snippets │ │ ├── tex.tex │ │ ├── python.py │ │ ├── dart.dart │ │ ├── erlang.erl │ │ ├── prolog.plg │ │ ├── vala.vala │ │ ├── rhtml.Rhtml │ │ ├── rust.rs │ │ ├── assembly_x86.asm │ │ ├── glsl.glsl │ │ ├── haskell.hs │ │ ├── ocaml.ml │ │ ├── nsis.nsi │ │ ├── html_ruby.erb │ │ ├── scheme.scm │ │ ├── gcode.gcode │ │ ├── properties.properties │ │ ├── less.less │ │ ├── ruby.rb │ │ ├── cirru.cirru │ │ ├── html_elixir.eex │ │ ├── lisp.lisp │ │ ├── r.r │ │ ├── toml.toml │ │ ├── sjs.sjs │ │ ├── jade.jade │ │ ├── golang.go │ │ ├── gherkin.feature │ │ ├── mask.mask │ │ ├── slim.slim │ │ ├── perl.pl │ │ ├── fortran.f90 │ │ ├── clojure.clj │ │ ├── autohotkey.ahk │ │ ├── ejs.ejs │ │ ├── elixir.ex │ │ ├── twig.twig │ │ └── yaml.yaml │ ├── logo.png │ └── ace-logo.png ├── bookmarklet │ └── images │ │ ├── ace.png │ │ ├── logo.png │ │ ├── background.png │ │ ├── bottombar.png │ │ ├── logo_half.png │ │ ├── body_background.png │ │ └── fork_on_github.png ├── svg.svg ├── show_own_source.js └── iframe.html ├── textarea └── src │ └── ace-bookmarklet.js ├── package.json └── bower.json /src-min/mode-text.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/mode-text.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src-min-noconflict/mode-text.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src-noconflict/mode-text.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/cobol.CBL: -------------------------------------------------------------------------------- 1 | TODO -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/jsoniq.jq: -------------------------------------------------------------------------------- 1 | TODO -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/mysql.mysql: -------------------------------------------------------------------------------- 1 | TODO -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/razor.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "~/layout" 3 | } -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/live_script.ls: -------------------------------------------------------------------------------- 1 | TODO add a nice demo! 2 | Try to keep it short! -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/lucene.lucene: -------------------------------------------------------------------------------- 1 | (title:"foo bar" AND body:"quick fox") OR title:fox -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/mipsassembler.s: -------------------------------------------------------------------------------- 1 | TODO add a nice demo! 2 | Try to keep it short! -------------------------------------------------------------------------------- /demo/kitchen-sink/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/natanfelles/ace-builds/master/demo/kitchen-sink/logo.png -------------------------------------------------------------------------------- /demo/bookmarklet/images/ace.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/natanfelles/ace-builds/master/demo/bookmarklet/images/ace.png -------------------------------------------------------------------------------- /demo/kitchen-sink/ace-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/natanfelles/ace-builds/master/demo/kitchen-sink/ace-logo.png -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/ini.ini: -------------------------------------------------------------------------------- 1 | [.ShellClassInfo] 2 | IconResource=..\logo.png 3 | [ViewState] 4 | FolderType=Generic 5 | -------------------------------------------------------------------------------- /demo/bookmarklet/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/natanfelles/ace-builds/master/demo/bookmarklet/images/logo.png -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/csharp.cs: -------------------------------------------------------------------------------- 1 | public void HelloWorld() { 2 | //Say Hello! 3 | Console.WriteLine("Hello World"); 4 | } -------------------------------------------------------------------------------- /demo/bookmarklet/images/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/natanfelles/ace-builds/master/demo/bookmarklet/images/background.png -------------------------------------------------------------------------------- /demo/bookmarklet/images/bottombar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/natanfelles/ace-builds/master/demo/bookmarklet/images/bottombar.png -------------------------------------------------------------------------------- /demo/bookmarklet/images/logo_half.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/natanfelles/ace-builds/master/demo/bookmarklet/images/logo_half.png -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/asciidoc.asciidoc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/natanfelles/ace-builds/master/demo/kitchen-sink/docs/asciidoc.asciidoc -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/coldfusion.cfm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | #welcome# -------------------------------------------------------------------------------- /src-min/snippets/d.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/d",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="d"}) -------------------------------------------------------------------------------- /textarea/src/ace-bookmarklet.js: -------------------------------------------------------------------------------- 1 | alert("moved to https://ajaxorg.github.io/ace-builds/demo/bookmarklet/index.html. Please update your bookmark") -------------------------------------------------------------------------------- /demo/bookmarklet/images/body_background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/natanfelles/ace-builds/master/demo/bookmarklet/images/body_background.png -------------------------------------------------------------------------------- /demo/bookmarklet/images/fork_on_github.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/natanfelles/ace-builds/master/demo/bookmarklet/images/fork_on_github.png -------------------------------------------------------------------------------- /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; -------------------------------------------------------------------------------- /src-min/snippets/ada.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/ada",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="ada"}) -------------------------------------------------------------------------------- /src-min/snippets/dot.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/dot",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="dot"}) -------------------------------------------------------------------------------- /src-min/snippets/ejs.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/ejs",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="ejs"}) -------------------------------------------------------------------------------- /src-min/snippets/elm.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/elm",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="elm"}) -------------------------------------------------------------------------------- /src-min/snippets/ftl.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/ftl",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="ftl"}) -------------------------------------------------------------------------------- /src-min/snippets/ini.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/ini",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="ini"}) -------------------------------------------------------------------------------- /src-min/snippets/jsx.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/jsx",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="jsx"}) -------------------------------------------------------------------------------- /src-min/snippets/mel.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/mel",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="mel"}) -------------------------------------------------------------------------------- /src-min/snippets/nix.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/nix",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="nix"}) -------------------------------------------------------------------------------- /src-min/snippets/nsis.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/nsis",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope=""}) -------------------------------------------------------------------------------- /src-min/snippets/rst.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/rst",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope=""}) -------------------------------------------------------------------------------- /src-min/snippets/sjs.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/sjs",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="sjs"}) -------------------------------------------------------------------------------- /src-min/snippets/svg.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/svg",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="svg"}) -------------------------------------------------------------------------------- /src-min/snippets/xml.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/xml",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="xml"}) -------------------------------------------------------------------------------- /src-min/snippets/abap.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/abap",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="abap"}) -------------------------------------------------------------------------------- /src-min/snippets/elixir.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/elixir",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope=""}) -------------------------------------------------------------------------------- /src-min/snippets/glsl.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/glsl",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="glsl"}) -------------------------------------------------------------------------------- /src-min/snippets/haxe.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/haxe",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="haxe"}) -------------------------------------------------------------------------------- /src-min/snippets/jack.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/jack",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="jack"}) -------------------------------------------------------------------------------- /src-min/snippets/jade.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/jade",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="jade"}) -------------------------------------------------------------------------------- /src-min/snippets/json.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/json",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="json"}) -------------------------------------------------------------------------------- /src-min/snippets/lean.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/lean",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="lean"}) -------------------------------------------------------------------------------- /src-min/snippets/less.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/less",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="less"}) -------------------------------------------------------------------------------- /src-min/snippets/lisp.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/lisp",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="lisp"}) -------------------------------------------------------------------------------- /src-min/snippets/mask.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/mask",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="mask"}) -------------------------------------------------------------------------------- /src-min/snippets/rdoc.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/rdoc",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="rdoc"}) -------------------------------------------------------------------------------- /src-min/snippets/rust.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/rust",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="rust"}) -------------------------------------------------------------------------------- /src-min/snippets/sass.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/sass",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="sass"}) -------------------------------------------------------------------------------- /src-min/snippets/scad.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/scad",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="scad"}) -------------------------------------------------------------------------------- /src-min/snippets/scss.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/scss",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="scss"}) -------------------------------------------------------------------------------- /src-min/snippets/swig.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/swig",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="swig"}) -------------------------------------------------------------------------------- /src-min/snippets/text.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/text",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="text"}) -------------------------------------------------------------------------------- /src-min/snippets/toml.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/toml",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="toml"}) -------------------------------------------------------------------------------- /src-min/snippets/twig.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/twig",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="twig"}) -------------------------------------------------------------------------------- /src-min/snippets/vhdl.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/vhdl",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="vhdl"}) -------------------------------------------------------------------------------- /src-min/snippets/yaml.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/yaml",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="yaml"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/d.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/d",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="d"}) -------------------------------------------------------------------------------- /src-min/snippets/cirru.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/cirru",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="cirru"}) -------------------------------------------------------------------------------- /src-min/snippets/cobol.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/cobol",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="cobol"}) -------------------------------------------------------------------------------- /src-min/snippets/csharp.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/csharp",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="csharp"}) -------------------------------------------------------------------------------- /src-min/snippets/curly.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/curly",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="curly"}) -------------------------------------------------------------------------------- /src-min/snippets/eiffel.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/eiffel",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="eiffel"}) -------------------------------------------------------------------------------- /src-min/snippets/forth.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/forth",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="forth"}) -------------------------------------------------------------------------------- /src-min/snippets/gcode.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/gcode",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="gcode"}) -------------------------------------------------------------------------------- /src-min/snippets/golang.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/golang",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="golang"}) -------------------------------------------------------------------------------- /src-min/snippets/groovy.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/groovy",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="groovy"}) -------------------------------------------------------------------------------- /src-min/snippets/julia.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/julia",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="julia"}) -------------------------------------------------------------------------------- /src-min/snippets/latex.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/latex",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="latex"}) -------------------------------------------------------------------------------- /src-min/snippets/liquid.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/liquid",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="liquid"}) -------------------------------------------------------------------------------- /src-min/snippets/logiql.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/logiql",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="logiql"}) -------------------------------------------------------------------------------- /src-min/snippets/lucene.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/lucene",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="lucene"}) -------------------------------------------------------------------------------- /src-min/snippets/matlab.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/matlab",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="matlab"}) -------------------------------------------------------------------------------- /src-min/snippets/mysql.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/mysql",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="mysql"}) -------------------------------------------------------------------------------- /src-min/snippets/ocaml.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/ocaml",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="ocaml"}) -------------------------------------------------------------------------------- /src-min/snippets/pascal.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/pascal",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="pascal"}) -------------------------------------------------------------------------------- /src-min/snippets/pgsql.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/pgsql",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="pgsql"}) -------------------------------------------------------------------------------- /src-min/snippets/praat.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/praat",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="praat"}) -------------------------------------------------------------------------------- /src-min/snippets/prolog.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/prolog",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="prolog"}) -------------------------------------------------------------------------------- /src-min/snippets/protobuf.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/protobuf",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="",t.scope="protobuf"}) -------------------------------------------------------------------------------- /src-min/snippets/rhtml.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/rhtml",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="rhtml"}) -------------------------------------------------------------------------------- /src-min/snippets/scala.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/scala",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="scala"}) -------------------------------------------------------------------------------- /src-min/snippets/scheme.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/scheme",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="scheme"}) -------------------------------------------------------------------------------- /src-min/snippets/smarty.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/smarty",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="smarty"}) -------------------------------------------------------------------------------- /src-min/snippets/space.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/space",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="space"}) -------------------------------------------------------------------------------- /src-min/snippets/stylus.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/stylus",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="stylus"}) -------------------------------------------------------------------------------- /src-min/snippets/swift.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/swift",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="swift"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/ada.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/ada",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="ada"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/dot.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/dot",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="dot"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/ejs.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/ejs",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="ejs"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/elm.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/elm",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="elm"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/ftl.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/ftl",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="ftl"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/ini.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/ini",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="ini"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/jsx.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/jsx",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="jsx"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/mel.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/mel",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="mel"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/nix.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/nix",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="nix"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/nsis.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/nsis",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope=""}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/rst.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/rst",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope=""}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/sjs.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/sjs",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="sjs"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/svg.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/svg",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="svg"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/xml.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/xml",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="xml"}) -------------------------------------------------------------------------------- /src-min/snippets/asciidoc.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/asciidoc",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="asciidoc"}) -------------------------------------------------------------------------------- /src-min/snippets/c9search.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/c9search",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="c9search"}) -------------------------------------------------------------------------------- /src-min/snippets/fortran.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/fortran",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="fortran"}) -------------------------------------------------------------------------------- /src-min/snippets/gherkin.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/gherkin",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="gherkin"}) -------------------------------------------------------------------------------- /src-min/snippets/live_script.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/live_script",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope=""}) -------------------------------------------------------------------------------- /src-min/snippets/luapage.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/luapage",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="luapage"}) -------------------------------------------------------------------------------- /src-min/snippets/mushcode.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/mushcode",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="mushcode"}) -------------------------------------------------------------------------------- /src-min/snippets/vbscript.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/vbscript",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="vbscript"}) -------------------------------------------------------------------------------- /src-min/snippets/verilog.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/verilog",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="verilog"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/abap.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/abap",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="abap"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/elixir.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/elixir",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope=""}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/glsl.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/glsl",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="glsl"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/haxe.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/haxe",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="haxe"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/jack.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/jack",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="jack"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/jade.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/jade",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="jade"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/json.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/json",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="json"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/lean.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/lean",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="lean"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/less.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/less",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="less"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/lisp.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/lisp",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="lisp"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/mask.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/mask",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="mask"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/rdoc.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/rdoc",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="rdoc"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/rust.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/rust",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="rust"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/sass.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/sass",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="sass"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/scad.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/scad",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="scad"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/scss.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/scss",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="scss"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/swig.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/swig",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="swig"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/text.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/text",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="text"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/toml.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/toml",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="toml"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/twig.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/twig",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="twig"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/vhdl.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/vhdl",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="vhdl"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/yaml.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/yaml",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="yaml"}) -------------------------------------------------------------------------------- /src-min/snippets/batchfile.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/batchfile",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="batchfile"}) -------------------------------------------------------------------------------- /src-min/snippets/gitignore.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/gitignore",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="gitignore"}) -------------------------------------------------------------------------------- /src-min/snippets/html_ruby.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/html_ruby",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="html_ruby"}) -------------------------------------------------------------------------------- /src-min/snippets/mipsassembler.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/mipsassembler",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope=""}) -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/xquery.xq: -------------------------------------------------------------------------------- 1 | xquery version "1.0"; 2 | 3 | let $message := "Hello World!" 4 | return 5 | {$message} 6 | 7 | -------------------------------------------------------------------------------- /src-min-noconflict/snippets/cirru.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/cirru",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="cirru"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/cobol.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/cobol",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="cobol"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/csharp.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/csharp",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="csharp"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/curly.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/curly",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="curly"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/eiffel.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/eiffel",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="eiffel"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/forth.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/forth",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="forth"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/gcode.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/gcode",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="gcode"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/golang.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/golang",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="golang"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/groovy.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/groovy",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="groovy"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/julia.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/julia",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="julia"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/latex.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/latex",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="latex"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/liquid.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/liquid",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="liquid"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/logiql.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/logiql",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="logiql"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/lucene.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/lucene",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="lucene"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/matlab.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/matlab",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="matlab"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/mysql.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/mysql",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="mysql"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/ocaml.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/ocaml",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="ocaml"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/pascal.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/pascal",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="pascal"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/pgsql.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/pgsql",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="pgsql"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/praat.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/praat",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="praat"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/prolog.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/prolog",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="prolog"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/protobuf.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/protobuf",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="",t.scope="protobuf"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/rhtml.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/rhtml",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="rhtml"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/scala.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/scala",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="scala"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/scheme.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/scheme",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="scheme"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/smarty.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/smarty",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="smarty"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/space.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/space",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="space"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/stylus.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/stylus",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="stylus"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/swift.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/swift",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="swift"}) -------------------------------------------------------------------------------- /src-min/snippets/apache_conf.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/apache_conf",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="apache_conf"}) -------------------------------------------------------------------------------- /src-min/snippets/applescript.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/applescript",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="applescript"}) -------------------------------------------------------------------------------- /src-min/snippets/autohotkey.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/autohotkey",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="autohotkey"}) -------------------------------------------------------------------------------- /src-min/snippets/coldfusion.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/coldfusion",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="coldfusion"}) -------------------------------------------------------------------------------- /src-min/snippets/dockerfile.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/dockerfile",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="dockerfile"}) -------------------------------------------------------------------------------- /src-min/snippets/handlebars.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/handlebars",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="handlebars"}) -------------------------------------------------------------------------------- /src-min/snippets/html_elixir.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/html_elixir",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="html_elixir"}) -------------------------------------------------------------------------------- /src-min/snippets/livescript.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/livescript",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="livescript"}) -------------------------------------------------------------------------------- /src-min/snippets/objectivec.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/objectivec",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="objectivec"}) -------------------------------------------------------------------------------- /src-min/snippets/plain_text.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/plain_text",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="plain_text"}) -------------------------------------------------------------------------------- /src-min/snippets/powershell.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/powershell",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="powershell"}) -------------------------------------------------------------------------------- /src-min/snippets/properties.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/properties",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="properties"}) -------------------------------------------------------------------------------- /src-min/snippets/typescript.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/typescript",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="typescript"}) -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/javascript.js: -------------------------------------------------------------------------------- 1 | function foo(items, nada) { 2 | for (var i=0; i '2011-05-21' 5 | GROUP BY 1 6 | ORDER BY 2 DESC -------------------------------------------------------------------------------- /src-min-noconflict/snippets/batchfile.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/batchfile",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="batchfile"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/gitignore.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/gitignore",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="gitignore"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/html_ruby.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/html_ruby",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="html_ruby"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/mipsassembler.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/mipsassembler",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope=""}) -------------------------------------------------------------------------------- /src-min/snippets/mips_assembler.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/mips_assembler",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="mips_assembler"}) -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/io.io: -------------------------------------------------------------------------------- 1 | // computes factorial of a number 2 | factorial := method(n, 3 | if(n == 0, return 1) 4 | res := 1 5 | Range 1 to(n) foreach(i, res = res * i) 6 | ) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/apache_conf.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/apache_conf",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="apache_conf"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/applescript.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/applescript",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="applescript"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/autohotkey.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/autohotkey",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="autohotkey"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/coldfusion.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/coldfusion",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="coldfusion"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/dockerfile.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/dockerfile",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="dockerfile"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/handlebars.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/handlebars",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="handlebars"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/html_elixir.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/html_elixir",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="html_elixir"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/livescript.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/livescript",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="livescript"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/objectivec.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/objectivec",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="objectivec"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/plain_text.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/plain_text",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="plain_text"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/powershell.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/powershell",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="powershell"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/properties.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/properties",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="properties"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/typescript.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/typescript",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="typescript"}) -------------------------------------------------------------------------------- /src-min/ext-error_marker.js: -------------------------------------------------------------------------------- 1 | ; 2 | (function() { 3 | window.require(["ace/ext/error_marker"], function() {}); 4 | })(); 5 | -------------------------------------------------------------------------------- /src-min/snippets/razor.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/razor",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="snippet if\n(${1} == ${2}) {\n ${3}\n}",t.scope="razor"}) -------------------------------------------------------------------------------- /src/ext-error_marker.js: -------------------------------------------------------------------------------- 1 | 2 | ; 3 | (function() { 4 | window.require(["ace/ext/error_marker"], function() {}); 5 | })(); 6 | -------------------------------------------------------------------------------- /src-min-noconflict/snippets/assembly_x86.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/assembly_x86",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="assembly_x86"}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/soy_template.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/soy_template",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="soy_template"}) -------------------------------------------------------------------------------- /src-min-noconflict/ext-error_marker.js: -------------------------------------------------------------------------------- 1 | ; 2 | (function() { 3 | ace.require(["ace/ext/error_marker"], function() {}); 4 | })(); 5 | -------------------------------------------------------------------------------- /src-min-noconflict/snippets/mips_assembler.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/mips_assembler",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="mips_assembler"}) -------------------------------------------------------------------------------- /src-noconflict/ext-error_marker.js: -------------------------------------------------------------------------------- 1 | 2 | ; 3 | (function() { 4 | ace.require(["ace/ext/error_marker"], function() {}); 5 | })(); 6 | -------------------------------------------------------------------------------- /src-min-noconflict/snippets/razor.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/razor",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="snippet if\n(${1} == ${2}) {\n ${3}\n}",t.scope="razor"}) -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/jsx.jsx: -------------------------------------------------------------------------------- 1 | /*EXPECTED 2 | hello world! 3 | */ 4 | class Test { 5 | static function run() : void { 6 | // console.log("hello world!"); 7 | log "hello world!"; 8 | } 9 | } -------------------------------------------------------------------------------- /src/snippets/d.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/d",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "d"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /src/snippets/ada.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/ada",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "ada"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/dot.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/dot",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "dot"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/ejs.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/ejs",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "ejs"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/elm.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/elm",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "elm"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/ftl.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/ftl",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "ftl"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/ini.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/ini",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "ini"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/jsx.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/jsx",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "jsx"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/mel.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/mel",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "mel"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/nix.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/nix",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "nix"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/nsis.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/nsis",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = ""; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/rst.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/rst",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = ""; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/sjs.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/sjs",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "sjs"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/svg.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/svg",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "svg"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/xml.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/xml",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "xml"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-min/snippets/makefile.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/makefile",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="snippet ifeq\n ifeq (${1:cond0},${2:cond1})\n ${3:code}\n endif\n",t.scope="makefile"}) -------------------------------------------------------------------------------- /src/snippets/abap.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/abap",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "abap"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/cirru.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/cirru",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "cirru"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/cobol.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/cobol",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "cobol"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/curly.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/curly",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "curly"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/elixir.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/elixir",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = ""; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/forth.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/forth",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "forth"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/gcode.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/gcode",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "gcode"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/glsl.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/glsl",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "glsl"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/haxe.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/haxe",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "haxe"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/jack.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/jack",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "jack"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/jade.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/jade",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "jade"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/json.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/json",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "json"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/julia.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/julia",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "julia"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/latex.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/latex",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "latex"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/lean.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/lean",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "lean"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/less.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/less",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "less"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/lisp.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/lisp",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "lisp"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/mysql.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/mysql",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "mysql"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/ocaml.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/ocaml",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "ocaml"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/pgsql.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/pgsql",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "pgsql"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/praat.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/praat",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "praat"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/rdoc.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/rdoc",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "rdoc"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/rhtml.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/rhtml",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "rhtml"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/rust.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/rust",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "rust"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/sass.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/sass",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "sass"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/scad.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/scad",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "scad"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/scala.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/scala",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "scala"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/scss.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/scss",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "scss"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/space.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/space",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "space"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/swig.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/swig",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "swig"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/text.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/text",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "text"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/toml.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/toml",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "toml"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/twig.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/twig",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "twig"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/vhdl.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/vhdl",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "vhdl"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/yaml.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/yaml",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "yaml"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/d.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/d",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "d"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/csharp.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/csharp",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "csharp"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/eiffel.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/eiffel",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "eiffel"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/golang.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/golang",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "golang"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/groovy.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/groovy",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "groovy"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/liquid.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/liquid",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "liquid"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/logiql.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/logiql",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "logiql"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/lucene.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/lucene",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "lucene"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/matlab.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/matlab",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "matlab"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/pascal.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/pascal",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "pascal"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/prolog.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/prolog",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "prolog"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/protobuf.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/protobuf",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText = ""; 5 | exports.scope = "protobuf"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/scheme.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/scheme",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "scheme"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/smarty.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/smarty",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "smarty"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/stylus.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/stylus",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "stylus"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/ada.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/ada",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "ada"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/dot.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/dot",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "dot"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/ejs.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/ejs",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "ejs"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/elm.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/elm",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "elm"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/ftl.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/ftl",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "ftl"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/ini.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/ini",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "ini"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/jsx.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/jsx",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "jsx"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/mel.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/mel",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "mel"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/nix.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/nix",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "nix"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/nsis.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/nsis",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = ""; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/rst.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/rst",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = ""; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/sjs.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/sjs",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "sjs"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/svg.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/svg",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "svg"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/xml.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/xml",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "xml"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/asciidoc.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/asciidoc",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "asciidoc"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/c9search.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/c9search",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "c9search"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/fortran.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/fortran",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "fortran"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/gherkin.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/gherkin",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "gherkin"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/live_script.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/live_script",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = ""; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/luapage.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/luapage",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "luapage"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/mask.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/mask",["require","exports","module"], function (require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "mask"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/mushcode.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/mushcode",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "mushcode"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/vbscript.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/vbscript",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "vbscript"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/verilog.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/verilog",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "verilog"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-min-noconflict/snippets/makefile.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/makefile",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="snippet ifeq\n ifeq (${1:cond0},${2:cond1})\n ${3:code}\n endif\n",t.scope="makefile"}) -------------------------------------------------------------------------------- /src-noconflict/snippets/abap.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/abap",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "abap"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/cirru.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/cirru",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "cirru"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/cobol.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/cobol",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "cobol"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/curly.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/curly",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "curly"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/elixir.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/elixir",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = ""; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/forth.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/forth",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "forth"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/gcode.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/gcode",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "gcode"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/glsl.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/glsl",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "glsl"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/haxe.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/haxe",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "haxe"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/jack.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/jack",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "jack"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/jade.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/jade",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "jade"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/json.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/json",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "json"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/julia.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/julia",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "julia"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/latex.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/latex",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "latex"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/lean.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/lean",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "lean"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/less.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/less",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "less"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/lisp.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/lisp",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "lisp"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/mysql.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/mysql",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "mysql"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/ocaml.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/ocaml",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "ocaml"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/pgsql.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/pgsql",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "pgsql"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/praat.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/praat",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "praat"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/rdoc.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/rdoc",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "rdoc"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/rhtml.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/rhtml",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "rhtml"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/rust.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/rust",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "rust"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/sass.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/sass",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "sass"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/scad.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/scad",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "scad"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/scala.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/scala",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "scala"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/scss.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/scss",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "scss"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/space.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/space",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "space"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/swig.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/swig",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "swig"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/text.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/text",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "text"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/toml.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/toml",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "toml"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/twig.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/twig",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "twig"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/vhdl.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/vhdl",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "vhdl"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/yaml.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/yaml",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "yaml"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/autohotkey.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/autohotkey",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "autohotkey"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/batchfile.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/batchfile",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "batchfile"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/coldfusion.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/coldfusion",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "coldfusion"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/dockerfile.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/dockerfile",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "dockerfile"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/gitignore.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/gitignore",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "gitignore"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/handlebars.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/handlebars",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "handlebars"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/html_ruby.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/html_ruby",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "html_ruby"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/livescript.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/livescript",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "livescript"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/mipsassembler.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/mipsassembler",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = ""; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/objectivec.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/objectivec",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "objectivec"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/plain_text.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/plain_text",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "plain_text"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/powershell.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/powershell",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "powershell"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/properties.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/properties",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "properties"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/swift.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/swift",["require","exports","module"], function (require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "swift"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/typescript.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/typescript",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "typescript"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/handlebars.hbs: -------------------------------------------------------------------------------- 1 | {{!-- Ace + :-}} --}} 2 | 3 |
4 | {{#each comments}} 5 |

{{title}}

6 |
{{{body}}}
7 | {{/each}} 8 |
9 | -------------------------------------------------------------------------------- /src-noconflict/snippets/csharp.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/csharp",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "csharp"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/eiffel.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/eiffel",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "eiffel"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/golang.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/golang",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "golang"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/groovy.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/groovy",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "groovy"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/liquid.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/liquid",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "liquid"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/logiql.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/logiql",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "logiql"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/lucene.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/lucene",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "lucene"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/matlab.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/matlab",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "matlab"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/pascal.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/pascal",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "pascal"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/prolog.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/prolog",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "prolog"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/protobuf.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/protobuf",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText = ""; 5 | exports.scope = "protobuf"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/scheme.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/scheme",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "scheme"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/smarty.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/smarty",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "smarty"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/stylus.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/stylus",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "stylus"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/apache_conf.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/apache_conf",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "apache_conf"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/applescript.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/applescript",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "applescript"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/html_elixir.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/html_elixir",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "html_elixir"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/asciidoc.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/asciidoc",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "asciidoc"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/c9search.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/c9search",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "c9search"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/fortran.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/fortran",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "fortran"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/gherkin.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/gherkin",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "gherkin"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/live_script.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/live_script",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = ""; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/luapage.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/luapage",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "luapage"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/mask.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/mask",["require","exports","module"], function (require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "mask"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/mushcode.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/mushcode",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "mushcode"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/vbscript.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/vbscript",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "vbscript"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/verilog.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/verilog",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "verilog"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/assembly_x86.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/assembly_x86",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "assembly_x86"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/soy_template.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/soy_template",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "soy_template"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/smarty.smarty: -------------------------------------------------------------------------------- 1 | {foreach $foo as $bar} 2 | {$bar.zag} 3 | {$bar.zag2} 4 | {$bar.zag3} 5 | {foreachelse} 6 | There were no rows found. 7 | {/foreach} -------------------------------------------------------------------------------- /src-noconflict/snippets/autohotkey.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/autohotkey",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "autohotkey"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/batchfile.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/batchfile",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "batchfile"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/coldfusion.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/coldfusion",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "coldfusion"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/dockerfile.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/dockerfile",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "dockerfile"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/gitignore.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/gitignore",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "gitignore"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/handlebars.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/handlebars",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "handlebars"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/html_ruby.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/html_ruby",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "html_ruby"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/livescript.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/livescript",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "livescript"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/mipsassembler.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/mipsassembler",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = ""; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/objectivec.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/objectivec",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "objectivec"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/plain_text.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/plain_text",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "plain_text"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/powershell.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/powershell",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "powershell"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/properties.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/properties",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "properties"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/swift.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/swift",["require","exports","module"], function (require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "swift"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/typescript.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/typescript",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "typescript"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src/snippets/mips_assembler.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/mips_assembler",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "mips_assembler"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/apache_conf.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/apache_conf",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "apache_conf"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/applescript.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/applescript",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "applescript"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/html_elixir.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/html_elixir",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "html_elixir"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/assembly_x86.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/assembly_x86",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "assembly_x86"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/soy_template.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/soy_template",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "soy_template"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /src-noconflict/snippets/mips_assembler.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/mips_assembler",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText =undefined; 5 | exports.scope = "mips_assembler"; 6 | 7 | }); 8 | -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/lean.lean: -------------------------------------------------------------------------------- 1 | import logic 2 | section 3 | variables (A : Type) (p q : A → Prop) 4 | 5 | example : (∀x : A, p x ∧ q x) → ∀y : A, p y := 6 | assume H : ∀x : A, p x ∧ q x, 7 | take y : A, 8 | show p y, from and.elim_left (H y) 9 | end 10 | -------------------------------------------------------------------------------- /src/snippets/razor.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/razor",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText = "snippet if\n\ 5 | (${1} == ${2}) {\n\ 6 | ${3}\n\ 7 | }"; 8 | exports.scope = "razor"; 9 | 10 | }); 11 | -------------------------------------------------------------------------------- /src-min/snippets/maze.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/maze",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="snippet >\ndescription assignment\nscope maze\n -> ${1}= ${2}\n\nsnippet >\ndescription if\nscope maze\n -> IF ${2:**} THEN %${3:L} ELSE %${4:R}\n",t.scope="maze"}) -------------------------------------------------------------------------------- /src-noconflict/snippets/razor.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/razor",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText = "snippet if\n\ 5 | (${1} == ${2}) {\n\ 6 | ${3}\n\ 7 | }"; 8 | exports.scope = "razor"; 9 | 10 | }); 11 | -------------------------------------------------------------------------------- /src-min-noconflict/snippets/maze.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/maze",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="snippet >\ndescription assignment\nscope maze\n -> ${1}= ${2}\n\nsnippet >\ndescription if\nscope maze\n -> IF ${2:**} THEN %${3:L} ELSE %${4:R}\n",t.scope="maze"}) -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/htaccess: -------------------------------------------------------------------------------- 1 | Redirect /linux http://www.linux.org 2 | Redirect 301 /kernel http://www.linux.org 3 | 4 | # comment 5 | RewriteEngine on 6 | 7 | RewriteCond %{HTTP_USER_AGENT} ^Mozilla.* 8 | RewriteRule ^/$ /homepage.max.html [L] 9 | 10 | RewriteRule ^/$ /homepage.std.html [L] 11 | -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/julia.jl: -------------------------------------------------------------------------------- 1 | for op = (:+, :*, :&, :|, :$) 2 | @eval ($op)(a,b,c) = ($op)(($op)(a,b),c) 3 | end 4 | 5 | v = α'; 6 | function g(x,y) 7 | return x * y 8 | x + y 9 | end 10 | 11 | cd("data") do 12 | open("outfile", "w") do f 13 | write(f, data) 14 | end 15 | end 16 | -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/matlab.matlab: -------------------------------------------------------------------------------- 1 | %{ 2 | %{ 3 | Ace Matlab demo 4 | %} 5 | %} 6 | 7 | classdef hello 8 | methods 9 | function greet(this) 10 | disp('Hello!') % say hi 11 | end 12 | end 13 | end 14 | 15 | % transpose 16 | a = [ 'x''y', "x\n\ 17 | y", 1' ]' + 2' -------------------------------------------------------------------------------- /src-min/snippets/snippets.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/snippets",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="# snippets for making snippets :)\nsnippet snip\n snippet ${1:trigger}\n ${2}\nsnippet msnip\n snippet ${1:trigger} ${2:description}\n ${3}\nsnippet v\n {VISUAL}\n",t.scope="snippets"}) -------------------------------------------------------------------------------- /src/snippets/makefile.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/makefile",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText = "snippet ifeq\n\ 5 | ifeq (${1:cond0},${2:cond1})\n\ 6 | ${3:code}\n\ 7 | endif\n\ 8 | "; 9 | exports.scope = "makefile"; 10 | 11 | }); 12 | -------------------------------------------------------------------------------- /src-min-noconflict/snippets/snippets.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/snippets",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="# snippets for making snippets :)\nsnippet snip\n snippet ${1:trigger}\n ${2}\nsnippet msnip\n snippet ${1:trigger} ${2:description}\n ${3}\nsnippet v\n {VISUAL}\n",t.scope="snippets"}) -------------------------------------------------------------------------------- /src-noconflict/snippets/makefile.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/makefile",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText = "snippet ifeq\n\ 5 | ifeq (${1:cond0},${2:cond1})\n\ 6 | ${3:code}\n\ 7 | endif\n\ 8 | "; 9 | exports.scope = "makefile"; 10 | 11 | }); 12 | -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/verilog.v: -------------------------------------------------------------------------------- 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]; -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/batchfile.bat: -------------------------------------------------------------------------------- 1 | :: batch file highlighting in Ace! 2 | @echo off 3 | 4 | CALL set var1=%cd% 5 | echo unhide everything in %var1%! 6 | 7 | :: FOR loop in bat is super strange! 8 | FOR /f "tokens=*" %%G IN ('dir /A:D /b') DO ( 9 | echo %var1%%%G 10 | attrib -r -a -h -s "%var1%%%G" /D /S 11 | ) 12 | 13 | pause 14 | 15 | REM that's all 16 | -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/css.css: -------------------------------------------------------------------------------- 1 | .text-layer { 2 | font: 12px Monaco, "Courier New", monospace; 3 | cursor: text; 4 | } 5 | 6 | .blinker { 7 | animation: blink 1s linear infinite alternate; 8 | } 9 | 10 | @keyframes blink { 11 | 0%, 40% { 12 | opacity: 0; 13 | } 14 | 15 | 40.5%, 100% { 16 | opacity: 1 17 | } 18 | } -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/protobuf.proto: -------------------------------------------------------------------------------- 1 | message Point { 2 | required int32 x = 1; 3 | required int32 y = 2; 4 | optional string label = 3; 5 | } 6 | 7 | message Line { 8 | required Point start = 1; 9 | required Point end = 2; 10 | optional string label = 3; 11 | } 12 | 13 | message Polyline { 14 | repeated Point point = 1; 15 | optional string label = 2; 16 | } -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/curly.curly: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | 13 | 14 |

{{author_name}}

15 | 16 | 17 | -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/d.d: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env rdmd 2 | // Computes average line length for standard input. 3 | import std.stdio; 4 | 5 | void main() { 6 | ulong lines = 0; 7 | double sumLength = 0; 8 | foreach (line; stdin.byLine()) { 9 | ++lines; 10 | sumLength += line.length; 11 | } 12 | writeln("Average line length: ", 13 | lines ? sumLength / lines : 0); 14 | } -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/html.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 12 | 13 | 14 | 15 |

Juhu Kinners

16 | 17 | -------------------------------------------------------------------------------- /src/snippets/maze.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/maze",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText = "snippet >\n\ 5 | description assignment\n\ 6 | scope maze\n\ 7 | -> ${1}= ${2}\n\ 8 | \n\ 9 | snippet >\n\ 10 | description if\n\ 11 | scope maze\n\ 12 | -> IF ${2:**} THEN %${3:L} ELSE %${4:R}\n\ 13 | "; 14 | exports.scope = "maze"; 15 | 16 | }); 17 | -------------------------------------------------------------------------------- /src-noconflict/snippets/maze.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/maze",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText = "snippet >\n\ 5 | description assignment\n\ 6 | scope maze\n\ 7 | -> ${1}= ${2}\n\ 8 | \n\ 9 | snippet >\n\ 10 | description if\n\ 11 | scope maze\n\ 12 | -> IF ${2:**} THEN %${3:L} ELSE %${4:R}\n\ 13 | "; 14 | exports.scope = "maze"; 15 | 16 | }); 17 | -------------------------------------------------------------------------------- /src/snippets/snippets.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/snippets",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText = "# snippets for making snippets :)\n\ 5 | snippet snip\n\ 6 | snippet ${1:trigger}\n\ 7 | ${2}\n\ 8 | snippet msnip\n\ 9 | snippet ${1:trigger} ${2:description}\n\ 10 | ${3}\n\ 11 | snippet v\n\ 12 | {VISUAL}\n\ 13 | "; 14 | exports.scope = "snippets"; 15 | 16 | }); 17 | -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/scad.scad: -------------------------------------------------------------------------------- 1 | // ace can highlight scad! 2 | module Element(xpos, ypos, zpos){ 3 | translate([xpos,ypos,zpos]){ 4 | union(){ 5 | cube([10,10,4],true); 6 | cylinder(10,15,5); 7 | translate([0,0,10])sphere(5); 8 | } 9 | } 10 | } 11 | 12 | union(){ 13 | for(i=[0:30]){ 14 | # Element(0,0,0); 15 | Element(15*i,0,0); 16 | } 17 | } 18 | 19 | for (i = [3, 5, 7, 11]){ 20 | rotate([i*10,0,0])scale([1,1,i])cube(10); 21 | } -------------------------------------------------------------------------------- /src-min/snippets/haml.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/haml",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="snippet t\n %table\n %tr\n %th\n ${1:headers}\n %tr\n %td\n ${2:headers}\nsnippet ul\n %ul\n %li\n ${1:item}\n %li\nsnippet =rp\n = render :partial => '${1:partial}'\nsnippet =rpl\n = render :partial => '${1:partial}', :locals => {}\nsnippet =rpc\n = render :partial => '${1:partial}', :collection => @$1\n\n",t.scope="haml"}) -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/php.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src-noconflict/snippets/snippets.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/snippets",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText = "# snippets for making snippets :)\n\ 5 | snippet snip\n\ 6 | snippet ${1:trigger}\n\ 7 | ${2}\n\ 8 | snippet msnip\n\ 9 | snippet ${1:trigger} ${2:description}\n\ 10 | ${3}\n\ 11 | snippet v\n\ 12 | {VISUAL}\n\ 13 | "; 14 | exports.scope = "snippets"; 15 | 16 | }); 17 | -------------------------------------------------------------------------------- /src-min-noconflict/snippets/haml.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/haml",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="snippet t\n %table\n %tr\n %th\n ${1:headers}\n %tr\n %td\n ${2:headers}\nsnippet ul\n %ul\n %li\n ${1:item}\n %li\nsnippet =rp\n = render :partial => '${1:partial}'\nsnippet =rpl\n = render :partial => '${1:partial}', :locals => {}\nsnippet =rpc\n = render :partial => '${1:partial}', :collection => @$1\n\n",t.scope="haml"}) -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/java.java: -------------------------------------------------------------------------------- 1 | public class InfiniteLoop { 2 | 3 | /* 4 | * This will cause the program to hang... 5 | * 6 | * Taken from: 7 | * http://www.exploringbinary.com/java-hangs-when-converting-2-2250738585072012e-308/ 8 | */ 9 | public static void main(String[] args) { 10 | double d = Double.parseDouble("2.2250738585072012e-308"); 11 | 12 | // unreachable code 13 | System.out.println("Value: " + d); 14 | } 15 | } -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/logiql.logic: -------------------------------------------------------------------------------- 1 | // ancestors 2 | parentof("douglas", "john"). 3 | parentof("john", "bob"). 4 | parentof("bob", "ebbon"). 5 | 6 | parentof("douglas", "jane"). 7 | parentof("jane", "jan"). 8 | 9 | ancestorof(A, B) <- parentof(A, B). 10 | ancestorof(A, C) <- ancestorof(A, B), parentof(B,C). 11 | 12 | grandparentof(A, B) <- parentof(A, C), parentof(C, B). 13 | 14 | cousins(A,B) <- grandparentof(C,A), grandparentof(C,B). 15 | 16 | parentof[`arg](A, B) -> int[32](A), !string(B). -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/scss.scss: -------------------------------------------------------------------------------- 1 | /* style.scss */ 2 | 3 | #navbar { 4 | $navbar-width: 800px; 5 | $items: 5; 6 | $navbar-color: #ce4dd6; 7 | 8 | width: $navbar-width; 9 | border-bottom: 2px solid $navbar-color; 10 | 11 | li { 12 | float: left; 13 | width: $navbar-width/$items - 10px; 14 | 15 | background-color: lighten($navbar-color, 20%); 16 | &:hover { 17 | background-color: lighten($navbar-color, 10%); 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /src-min/mode-plain_text.js: -------------------------------------------------------------------------------- 1 | define("ace/mode/plain_text",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/text_highlight_rules","ace/mode/behaviour"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./text_highlight_rules").TextHighlightRules,o=e("./behaviour").Behaviour,u=function(){this.HighlightRules=s,this.$behaviour=new o};r.inherits(u,i),function(){this.type="text",this.getNextLineIndent=function(e,t,n){return""},this.$id="ace/mode/plain_text"}.call(u.prototype),t.Mode=u}) -------------------------------------------------------------------------------- /src-min/snippets/lua.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/lua",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="snippet #!\n #!/usr/bin/env lua\n $1\nsnippet local\n local ${1:x} = ${2:1}\nsnippet fun\n function ${1:fname}(${2:...})\n ${3:-- body}\n end\nsnippet for\n for ${1:i}=${2:1},${3:10} do\n ${4:print(i)}\n end\nsnippet forp\n for ${1:i},${2:v} in pairs(${3:table_name}) do\n ${4:-- body}\n end\nsnippet fori\n for ${1:i},${2:v} in ipairs(${3:table_name}) do\n ${4:-- body}\n end\n",t.scope="lua"}) -------------------------------------------------------------------------------- /demo/svg.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 |
Hi!
10 |
11 |
-------------------------------------------------------------------------------- /src-min-noconflict/mode-plain_text.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/mode/plain_text",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/text_highlight_rules","ace/mode/behaviour"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./text_highlight_rules").TextHighlightRules,o=e("./behaviour").Behaviour,u=function(){this.HighlightRules=s,this.$behaviour=new o};r.inherits(u,i),function(){this.type="text",this.getNextLineIndent=function(e,t,n){return""},this.$id="ace/mode/plain_text"}.call(u.prototype),t.Mode=u}) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/lua.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/lua",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="snippet #!\n #!/usr/bin/env lua\n $1\nsnippet local\n local ${1:x} = ${2:1}\nsnippet fun\n function ${1:fname}(${2:...})\n ${3:-- body}\n end\nsnippet for\n for ${1:i}=${2:1},${3:10} do\n ${4:print(i)}\n end\nsnippet forp\n for ${1:i},${2:v} in pairs(${3:table_name}) do\n ${4:-- body}\n end\nsnippet fori\n for ${1:i},${2:v} in ipairs(${3:table_name}) do\n ${4:-- body}\n end\n",t.scope="lua"}) -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/coffee.coffee: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env coffee 2 | 3 | try 4 | throw URIError decodeURI(0xC0ffee * 123456.7e-8 / .9) 5 | catch e 6 | console.log 'qstring' + "qqstring" + ''' 7 | qdoc 8 | ''' + """ 9 | qqdoc 10 | """ 11 | 12 | do -> 13 | ### 14 | herecomment 15 | ### 16 | re = /regex/imgy.test /// 17 | heregex # comment 18 | ///imgy 19 | this isnt: `just JavaScript` 20 | undefined 21 | 22 | sentence = "#{ 22 / 7 } is a decent approximation of π" -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/gobstones.gbs: -------------------------------------------------------------------------------- 1 | program { 2 | /* 3 | * A gobstons multiline comment 4 | * Taken from: 5 | * http://www.exploringbinary.com/java-hangs-when-converting-2-2250738585072012e-308/" 6 | */ 7 | sumar(2, 3) 8 | } 9 | function sumar(a, b) { 10 | r := a + b 11 | } 12 | // unreachable code 13 | -- unreachable code 14 | # unreachable code 15 | procedure hacerAlgo() { 16 | Mover(Este) 17 | Poner(Rojo) 18 | Sacar(Azul) 19 | } -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/maze.mz: -------------------------------------------------------------------------------- 1 | ## ## () ## ^^ ## ## ## ## 2 | ## H1 C2 S1 <> S2 H2 DN ## 3 | ## %U <> %D *2 %L IZ .. ## 4 | ## ## ## .. ## DN *3 ## ## 5 | ## ## ## %R C1 IZ () ## ## 6 | ## ## ## ## >/ *1 7 | ## () *3 *1 %L () 8 | 9 | 10 | // Set divisor and dividend 11 | S1-> = 9 12 | S2-> = 24 13 | 14 | // Holding cells 15 | H1-> IF *1 THEN %R ELSE %N 16 | H2-> IF *2 THEN %R ELSE %N 17 | 18 | // Arithmetic 19 | DN-> -= 1 20 | IZ-> IF <= 0 THEN %D ELSE %U 21 | 22 | C1-> IF *3 THEN %D ELSE %R 23 | C2-> IF *3 THEN %U ELSE %D 24 | -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/eiffel.e: -------------------------------------------------------------------------------- 1 | note 2 | description: "Represents a person." 3 | 4 | class 5 | PERSON 6 | 7 | create 8 | make, make_unknown 9 | 10 | feature {NONE} -- Creation 11 | 12 | make (a_name: like name) 13 | -- Create a person with `a_name' as `name'. 14 | do 15 | name := a_name 16 | ensure 17 | name = a_name 18 | end 19 | 20 | make_unknown 21 | do ensure 22 | name = Void 23 | end 24 | 25 | feature -- Access 26 | 27 | name: detachable STRING 28 | -- Full name or Void if unknown. 29 | 30 | end -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/Haxe.hx: -------------------------------------------------------------------------------- 1 | class Haxe 2 | { 3 | public static function main() 4 | { 5 | // Say Hello! 6 | var greeting:String = "Hello World"; 7 | trace(greeting); 8 | 9 | var targets:Array = ["Flash","Javascript","PHP","Neko","C++","iOS","Android","webOS"]; 10 | trace("Haxe is a great language that can target:"); 11 | for (target in targets) 12 | { 13 | trace (" - " + target); 14 | } 15 | trace("And many more!"); 16 | } 17 | } -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/textile.textile: -------------------------------------------------------------------------------- 1 | h1. Textile document 2 | 3 | h2. Heading Two 4 | 5 | h3. A two-line 6 | header 7 | 8 | h2. Another two-line 9 | header 10 | 11 | Paragraph: 12 | one, two, 13 | thee lines! 14 | 15 | p(classone two three). This is a paragraph with classes 16 | 17 | p(#id). (one with an id) 18 | 19 | p(one two three#my_id). ..classes + id 20 | 21 | * Unordered list 22 | ** sublist 23 | * back again! 24 | ** sublist again.. 25 | 26 | # ordered 27 | 28 | bg. Blockquote! 29 | This is a two-list blockquote..! -------------------------------------------------------------------------------- /src-min/snippets/textile.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/textile",["require","exports","module"],function(e,t,n){"use strict";t.snippetText='# Jekyll post header\nsnippet header\n ---\n title: ${1:title}\n layout: post\n date: ${2:date} ${3:hour:minute:second} -05:00\n ---\n\n# Image\nsnippet img\n !${1:url}(${2:title}):${3:link}!\n\n# Table\nsnippet |\n |${1}|${2}\n\n# Link\nsnippet link\n "${1:link text}":${2:url}\n\n# Acronym\nsnippet (\n (${1:Expand acronym})${2}\n\n# Footnote\nsnippet fn\n [${1:ref number}] ${3}\n\n fn$1. ${2:footnote}\n \n',t.scope="textile"}) -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/elm.elm: -------------------------------------------------------------------------------- 1 | {- Ace {- 4 -} Elm -} 2 | main = lift clock (every second) 3 | 4 | clock t = collage 400 400 [ filled lightGrey (ngon 12 110) 5 | , outlined (solid grey) (ngon 12 110) 6 | , hand orange 100 t 7 | , hand charcoal 100 (t/60) 8 | , hand charcoal 60 (t/720) ] 9 | 10 | hand clr len time = 11 | let angle = degrees (90 - 6 * inSeconds time) 12 | in traced (solid clr) <| segment (0,0) (len * cos angle, len * sin angle) -------------------------------------------------------------------------------- /src-min/snippets/diff.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/diff",["require","exports","module"],function(e,t,n){"use strict";t.snippetText='# DEP-3 (http://dep.debian.net/deps/dep3/) style patch header\nsnippet header DEP-3 style header\n Description: ${1}\n Origin: ${2:vendor|upstream|other}, ${3:url of the original patch}\n Bug: ${4:url in upstream bugtracker}\n Forwarded: ${5:no|not-needed|url}\n Author: ${6:`g:snips_author`}\n Reviewed-by: ${7:name and email}\n Last-Update: ${8:`strftime("%Y-%m-%d")`}\n Applied-Upstream: ${9:upstream version|url|commit}\n\n',t.scope="diff"}) -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/powershell.ps1: -------------------------------------------------------------------------------- 1 | # This is a simple comment 2 | function Hello($name) { 3 | Write-host "Hello $name" 4 | } 5 | 6 | function add($left, $right=4) { 7 | if ($right -ne 4) { 8 | return $left 9 | } elseif ($left -eq $null -and $right -eq 2) { 10 | return 3 11 | } else { 12 | return 2 13 | } 14 | } 15 | 16 | $number = 1 + 2; 17 | $number += 3 18 | 19 | Write-Host Hello -name "World" 20 | 21 | $an_array = @(1, 2, 3) 22 | $a_hash = @{"something" = "something else"} 23 | 24 | & notepad .\readme.md 25 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ace-builds", 3 | "version": "1.2.3", 4 | "description": "Ace (Ajax.org Cloud9 Editor)", 5 | "scripts": { 6 | "test": "echo \"Error: no test specified\" && exit 1" 7 | }, 8 | "repository": { 9 | "type": "git", 10 | "url": "https://github.com/ajaxorg/ace-builds.git" 11 | }, 12 | "author": "", 13 | "license": "BSD", 14 | "bugs": { 15 | "url": "https://github.com/ajaxorg/ace-builds/issues" 16 | }, 17 | "homepage": "https://github.com/ajaxorg/ace-builds" 18 | } -------------------------------------------------------------------------------- /src-min-noconflict/snippets/textile.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/textile",["require","exports","module"],function(e,t,n){"use strict";t.snippetText='# Jekyll post header\nsnippet header\n ---\n title: ${1:title}\n layout: post\n date: ${2:date} ${3:hour:minute:second} -05:00\n ---\n\n# Image\nsnippet img\n !${1:url}(${2:title}):${3:link}!\n\n# Table\nsnippet |\n |${1}|${2}\n\n# Link\nsnippet link\n "${1:link text}":${2:url}\n\n# Acronym\nsnippet (\n (${1:Expand acronym})${2}\n\n# Footnote\nsnippet fn\n [${1:ref number}] ${3}\n\n fn$1. ${2:footnote}\n \n',t.scope="textile"}) -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/swift.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | 3 | class DetailsViewController: UIViewController { 4 | var album: Album? 5 | @IBOutlet weak var albumCover: UIImageView! 6 | 7 | required init(coder aDecoder: NSCoder) { 8 | super.init(coder: aDecoder) 9 | } 10 | 11 | override func viewDidLoad() { 12 | super.viewDidLoad() 13 | mLabel.text = self.album?.title && "Juhu \( "kinners" )! " 14 | albumCover.image = UIImage(data: NSData(contentsOfURL: NSURL(string: self.album!.largeImageURL)!)!) 15 | } 16 | } -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/wollok.wlk: -------------------------------------------------------------------------------- 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-min-noconflict/snippets/diff.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/diff",["require","exports","module"],function(e,t,n){"use strict";t.snippetText='# DEP-3 (http://dep.debian.net/deps/dep3/) style patch header\nsnippet header DEP-3 style header\n Description: ${1}\n Origin: ${2:vendor|upstream|other}, ${3:url of the original patch}\n Bug: ${4:url in upstream bugtracker}\n Forwarded: ${5:no|not-needed|url}\n Author: ${6:`g:snips_author`}\n Reviewed-by: ${7:name and email}\n Last-Update: ${8:`strftime("%Y-%m-%d")`}\n Applied-Upstream: ${9:upstream version|url|commit}\n\n',t.scope="diff"}) -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/snippets.snippets: -------------------------------------------------------------------------------- 1 | # Function 2 | snippet fun 3 | function ${1?:function_name}(${2:argument}) { 4 | ${3:// body...} 5 | } 6 | # Anonymous Function 7 | regex /((=)\s*|(:)\s*|(\()|\b)/f/(\))?/ 8 | name f 9 | function${M1?: ${1:functionName}}($2) { 10 | ${0:$TM_SELECTED_TEXT} 11 | }${M2?;}${M3?,}${M4?)} 12 | # Immediate function 13 | trigger \(?f\( 14 | endTrigger \)? 15 | snippet f( 16 | (function(${1}) { 17 | ${0:${TM_SELECTED_TEXT:/* code */}} 18 | }(${1})); 19 | # if 20 | snippet if 21 | if (${1:true}) { 22 | ${0} 23 | } 24 | 25 | 26 | -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/tex.tex: -------------------------------------------------------------------------------- 1 | The quadratic formula is $$-b \pm \sqrt{b^2 - 4ac} \over 2a$$ 2 | \bye 3 | 4 | \makeatletter 5 | \newcommand{\be}{% 6 | \begingroup 7 | % \setlength{\arraycolsep}{2pt} 8 | \eqnarray% 9 | \@ifstar{\nonumber}{}% 10 | } 11 | \newcommand{\ee}{\endeqnarray\endgroup} 12 | \makeatother 13 | 14 | \begin{equation} 15 | x=\left\{ \begin{array}{cl} 16 | 0 & \textrm{if }A=\ldots\\ 17 | 1 & \textrm{if }B=\ldots\\ 18 | x & \textrm{this runs with as much text as you like, but without an raggeright text 19 | .}\end{array}\right. 20 | \end{equation} -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/python.py: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/python 2 | 3 | import string, sys 4 | 5 | # If no arguments were given, print a helpful message 6 | if len(sys.argv)==1: 7 | print '''Usage: 8 | celsius temp1 temp2 ...''' 9 | sys.exit(0) 10 | 11 | # Loop over the arguments 12 | for i in sys.argv[1:]: 13 | try: 14 | fahrenheit=float(string.atoi(i)) 15 | except string.atoi_error: 16 | print repr(i), "not a numeric value" 17 | else: 18 | celsius=(fahrenheit-32)*5.0/9.0 19 | print '%i\260F = %i\260C' % (int(fahrenheit), int(celsius+.5)) -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/dart.dart: -------------------------------------------------------------------------------- 1 | // Go ahead and modify this example. 2 | 3 | import "dart:html"; 4 | 5 | // Computes the nth Fibonacci number. 6 | int fibonacci(int n) { 7 | if (n < 2) return n; 8 | return fibonacci(n - 1) + fibonacci(n - 2); 9 | } 10 | 11 | // Displays a Fibonacci number. 12 | void main() { 13 | int i = 20; 14 | String message = "fibonacci($i) = ${fibonacci(i)}"; 15 | 16 | // This example uses HTML to display the result and it will appear 17 | // in a nested HTML frame (an iframe). 18 | document.body.append(new HeadingElement.h1()..appendText(message)); 19 | } 20 | -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/erlang.erl: -------------------------------------------------------------------------------- 1 | %% A process whose only job is to keep a counter. 2 | %% First version 3 | -module(counter). 4 | -export([start/0, codeswitch/1]). 5 | 6 | start() -> loop(0). 7 | 8 | loop(Sum) -> 9 | receive 10 | {increment, Count} -> 11 | loop(Sum+Count); 12 | {counter, Pid} -> 13 | Pid ! {counter, Sum}, 14 | loop(Sum); 15 | code_switch -> 16 | ?MODULE:codeswitch(Sum) 17 | % Force the use of 'codeswitch/1' from the latest MODULE version 18 | end. 19 | 20 | codeswitch(Sum) -> loop(Sum). -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/prolog.plg: -------------------------------------------------------------------------------- 1 | partition([], _, [], []). 2 | partition([X|Xs], Pivot, Smalls, Bigs) :- 3 | ( X @< Pivot -> 4 | Smalls = [X|Rest], 5 | partition(Xs, Pivot, Rest, Bigs) 6 | ; Bigs = [X|Rest], 7 | partition(Xs, Pivot, Smalls, Rest) 8 | ). 9 | 10 | quicksort([]) --> []. 11 | quicksort([X|Xs]) --> 12 | { partition(Xs, X, Smaller, Bigger) }, 13 | quicksort(Smaller), [X], quicksort(Bigger). 14 | 15 | perfect(N) :- 16 | between(1, inf, N), U is N // 2, 17 | findall(D, (between(1,U,D), N mod D =:= 0), Ds), 18 | sumlist(Ds, N). -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/vala.vala: -------------------------------------------------------------------------------- 1 | using Gtk; 2 | 3 | int main (string[] args) { 4 | Gtk.init (ref args); 5 | var foo = new MyFoo>(); 6 | 7 | var window = new Window(); 8 | window.title = "Hello, World!"; 9 | window.border_width = 10; 10 | window.window_position = WindowPosition.CENTER; 11 | window.set_default_size(350, 70); 12 | window.destroy.connect(Gtk.main_quit); 13 | 14 | var label = new Label("Hello, World!"); 15 | 16 | window.add(label); 17 | window.show_all(); 18 | 19 | Gtk.main(); 20 | return 0; 21 | } -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/rhtml.Rhtml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Title 5 | 6 | 7 | 8 | 9 |

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/rust.rs: -------------------------------------------------------------------------------- 1 | use core::rand::RngUtil; 2 | 3 | fn main() { 4 | for ["Alice", "Bob", "Carol"].each |&name| { 5 | do spawn { 6 | let v = rand::Rng().shuffle([1, 2, 3]); 7 | for v.each |&num| { 8 | print(fmt!("%s says: '%d'\n", name, num + 1)) 9 | } 10 | } 11 | } 12 | } 13 | 14 | fn map(vector: &[T], function: &fn(v: &T) -> U) -> ~[U] { 15 | let mut accumulator = ~[]; 16 | for vec::each(vector) |element| { 17 | accumulator.push(function(element)); 18 | } 19 | return accumulator; 20 | } 21 | -------------------------------------------------------------------------------- /bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ace-builds", 3 | "version": "1.2.3", 4 | "description": "Ace (Ajax.org Cloud9 Editor)", 5 | "scripts": { 6 | "test": "echo \"Error: no test specified\" && exit 1" 7 | }, 8 | "ignore": [ 9 | "demo" 10 | ], 11 | "repository": { 12 | "type": "git", 13 | "url": "https://github.com/ajaxorg/ace-builds.git" 14 | }, 15 | "author": "", 16 | "license": "BSD", 17 | "bugs": { 18 | "url": "https://github.com/ajaxorg/ace-builds/issues" 19 | }, 20 | "homepage": "https://github.com/ajaxorg/ace-builds" 21 | } 22 | -------------------------------------------------------------------------------- /src-min/snippets/gobstones.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/gobstones",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="# Procedure\nsnippet proc\n procedure ${1?:name}(${2:argument}) {\n ${3:// body...}\n }\n\n# Function\nsnippet fun\n function ${1?:name}(${2:argument}) {\n return ${3:// body...}\n }\n\n# Repeat\nsnippet rep\n repeat ${1?:times} {\n ${2:// body...}\n }\n\n# For\nsnippet for\n foreach ${1?:e} in ${2?:list} {\n ${3:// body...} \n }\n\n# If\nsnippet if\n if (${1?:condition}) {\n ${3:// body...} \n }\n\n# While\n while (${1?:condition}) {\n ${2:// body...} \n }\n",t.scope="gobstones"}) -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/assembly_x86.asm: -------------------------------------------------------------------------------- 1 | section .text 2 | global main ;must be declared for using gcc 3 | 4 | main: ;tell linker entry point 5 | 6 | mov edx, len ;message length 7 | mov ecx, msg ;message to write 8 | mov ebx, 1 ;file descriptor (stdout) 9 | mov eax, 4 ;system call number (sys_write) 10 | int 0x80 ;call kernel 11 | 12 | mov eax, 1 ;system call number (sys_exit) 13 | int 0x80 ;call kernel 14 | 15 | section .data 16 | 17 | msg db 'Hello, world!',0xa ;our dear string 18 | len equ $ - msg ;length of our dear string 19 | -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/glsl.glsl: -------------------------------------------------------------------------------- 1 | uniform float amplitude; 2 | attribute float displacement; 3 | varying vec3 vNormal; 4 | 5 | void main() { 6 | 7 | vNormal = normal; 8 | 9 | // multiply our displacement by the 10 | // amplitude. The amp will get animated 11 | // so we'll have animated displacement 12 | vec3 newPosition = position + 13 | normal * 14 | vec3(displacement * 15 | amplitude); 16 | 17 | gl_Position = projectionMatrix * 18 | modelViewMatrix * 19 | vec4(newPosition,1.0); 20 | } -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/haskell.hs: -------------------------------------------------------------------------------- 1 | -- Type annotation (optional) 2 | fib :: Int -> Integer 3 | 4 | -- With self-referencing data 5 | fib n = fibs !! n 6 | where fibs = 0 : scanl (+) 1 fibs 7 | -- 0,1,1,2,3,5,... 8 | 9 | -- Same, coded directly 10 | fib n = fibs !! n 11 | where fibs = 0 : 1 : next fibs 12 | next (a : t@(b:_)) = (a+b) : next t 13 | 14 | -- Similar idea, using zipWith 15 | fib n = fibs !! n 16 | where fibs = 0 : 1 : zipWith (+) fibs (tail fibs) 17 | 18 | -- Using a generator function 19 | fib n = fibs (0,1) !! n 20 | where fibs (a,b) = a : fibs (b,a+b) -------------------------------------------------------------------------------- /src-min-noconflict/snippets/gobstones.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/gobstones",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="# Procedure\nsnippet proc\n procedure ${1?:name}(${2:argument}) {\n ${3:// body...}\n }\n\n# Function\nsnippet fun\n function ${1?:name}(${2:argument}) {\n return ${3:// body...}\n }\n\n# Repeat\nsnippet rep\n repeat ${1?:times} {\n ${2:// body...}\n }\n\n# For\nsnippet for\n foreach ${1?:e} in ${2?:list} {\n ${3:// body...} \n }\n\n# If\nsnippet if\n if (${1?:condition}) {\n ${3:// body...} \n }\n\n# While\n while (${1?:condition}) {\n ${2:// body...} \n }\n",t.scope="gobstones"}) -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/ocaml.ml: -------------------------------------------------------------------------------- 1 | (* 2 | * Example of early return implementation taken from 3 | * http://ocaml.janestreet.com/?q=node/91 4 | *) 5 | 6 | let with_return (type t) (f : _ -> t) = 7 | let module M = 8 | struct exception Return of t end 9 | in 10 | let return = { return = (fun x -> raise (M.Return x)); } in 11 | try f return with M.Return x -> x 12 | 13 | 14 | (* Function that uses the 'early return' functionality provided by `with_return` *) 15 | let sum_until_first_negative list = 16 | with_return (fun r -> 17 | List.fold list ~init:0 ~f:(fun acc x -> 18 | if x >= 0 then acc + x else r.return acc)) -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/nsis.nsi: -------------------------------------------------------------------------------- 1 | /* 2 | NSIS Mode 3 | for Ace 4 | */ 5 | 6 | ; Includes 7 | !include MUI2.nsh 8 | 9 | ; Settings 10 | Name "installer_name" 11 | OutFile "installer_name.exe" 12 | RequestExecutionLevel user 13 | CRCCheck on 14 | !ifdef x64 15 | InstallDir "$PROGRAMFILES64\installer_name" 16 | !else 17 | InstallDir "$PROGRAMFILES\installer_name" 18 | !endif 19 | 20 | ; Pages 21 | !insertmacro MUI_PAGE_INSTFILES 22 | 23 | ; Sections 24 | Section "section_name" section_index 25 | # your code here 26 | SectionEnd 27 | 28 | ; Functions 29 | Function .onInit 30 | MessageBox MB_OK "Here comes a$\n$\rline-break!" 31 | FunctionEnd -------------------------------------------------------------------------------- /demo/show_own_source.js: -------------------------------------------------------------------------------- 1 | if (typeof ace == "undefined" && typeof require == "undefined") { 2 | document.body.innerHTML = "

couldn't find ace.js file,
" 3 | + "to build it run node Makefile.dryice.js full" 4 | } else if (typeof ace == "undefined" && typeof require != "undefined") { 5 | require(["ace/ace"], setValue) 6 | } else { 7 | require = ace.require; 8 | setValue() 9 | } 10 | 11 | function setValue() { 12 | require("ace/lib/net").get(document.baseURI, function(t){ 13 | var el = document.getElementById("editor"); 14 | el.env.editor.setValue(t, 1); 15 | }) 16 | } -------------------------------------------------------------------------------- /src-min/snippets/velocity.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/velocity",["require","exports","module"],function(e,t,n){"use strict";t.snippetText='# macro\nsnippet #macro\n #macro ( ${1:macroName} ${2:\\$var1, [\\$var2, ...]} )\n ${3:## macro code}\n #end\n# foreach\nsnippet #foreach\n #foreach ( ${1:\\$item} in ${2:\\$collection} )\n ${3:## foreach code}\n #end\n# if\nsnippet #if\n #if ( ${1:true} )\n ${0}\n #end\n# if ... else\nsnippet #ife\n #if ( ${1:true} )\n ${2}\n #else\n ${0}\n #end\n#import\nsnippet #import\n #import ( "${1:path/to/velocity/format}" )\n# set\nsnippet #set\n #set ( $${1:var} = ${0} )\n',t.scope="velocity",t.includeScopes=["html","javascript","css"]}) -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/html_ruby.erb: -------------------------------------------------------------------------------- 1 |

Listing Books

2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | <% @books.each do |book| %> 13 | 14 | <%# comment %> 15 | 16 | 17 | 18 | 19 | 20 | 21 | <% end %> 22 |
TitleSummary
<%= book.title %><%= book.content %><%= link_to 'Show', book %><%= link_to 'Edit', edit_book_path(book) %><%= link_to 'Remove', book, :confirm => 'Are you sure?', :method => :delete %>
23 | 24 |
25 | 26 | <%= link_to 'New book', new_book_path %> -------------------------------------------------------------------------------- /src/snippets/haml.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/haml",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText = "snippet t\n\ 5 | %table\n\ 6 | %tr\n\ 7 | %th\n\ 8 | ${1:headers}\n\ 9 | %tr\n\ 10 | %td\n\ 11 | ${2:headers}\n\ 12 | snippet ul\n\ 13 | %ul\n\ 14 | %li\n\ 15 | ${1:item}\n\ 16 | %li\n\ 17 | snippet =rp\n\ 18 | = render :partial => '${1:partial}'\n\ 19 | snippet =rpl\n\ 20 | = render :partial => '${1:partial}', :locals => {}\n\ 21 | snippet =rpc\n\ 22 | = render :partial => '${1:partial}', :collection => @$1\n\ 23 | \n\ 24 | "; 25 | exports.scope = "haml"; 26 | 27 | }); 28 | -------------------------------------------------------------------------------- /src-min-noconflict/snippets/velocity.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/velocity",["require","exports","module"],function(e,t,n){"use strict";t.snippetText='# macro\nsnippet #macro\n #macro ( ${1:macroName} ${2:\\$var1, [\\$var2, ...]} )\n ${3:## macro code}\n #end\n# foreach\nsnippet #foreach\n #foreach ( ${1:\\$item} in ${2:\\$collection} )\n ${3:## foreach code}\n #end\n# if\nsnippet #if\n #if ( ${1:true} )\n ${0}\n #end\n# if ... else\nsnippet #ife\n #if ( ${1:true} )\n ${2}\n #else\n ${0}\n #end\n#import\nsnippet #import\n #import ( "${1:path/to/velocity/format}" )\n# set\nsnippet #set\n #set ( $${1:var} = ${0} )\n',t.scope="velocity",t.includeScopes=["html","javascript","css"]}) -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/scheme.scm: -------------------------------------------------------------------------------- 1 | (define (prompt-for-cd) 2 | "Prompts 3 | for CD" 4 | (prompt-read "Title" 1.53 1 2/4 1.7 1.7e0 2.9E-4 +42 -7 #b001 #b001/100 #o777 #O777 #xabc55 #c(0 -5.6)) 5 | (prompt-read "Artist") 6 | (or (parse-integer (prompt-read "Rating") #:junk-allowed #t) 0) 7 | (if x (format #t "yes") (format #f "no") ;and here comment 8 | ) 9 | ;; second line comment 10 | '(+ 1 2) 11 | (position-if-not char-set:whitespace line #:start beg)) 12 | (quote (privet 1 2 3)) 13 | '(hello world) 14 | (* 5 7) 15 | (1 2 34 5) 16 | (#:use "aaaa") 17 | (let ((x 10) (y 20)) 18 | (display (+ x y)) 19 | ) 20 | 21 | "asdad\0eqweqe" 22 | -------------------------------------------------------------------------------- /src-noconflict/snippets/haml.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/haml",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText = "snippet t\n\ 5 | %table\n\ 6 | %tr\n\ 7 | %th\n\ 8 | ${1:headers}\n\ 9 | %tr\n\ 10 | %td\n\ 11 | ${2:headers}\n\ 12 | snippet ul\n\ 13 | %ul\n\ 14 | %li\n\ 15 | ${1:item}\n\ 16 | %li\n\ 17 | snippet =rp\n\ 18 | = render :partial => '${1:partial}'\n\ 19 | snippet =rpl\n\ 20 | = render :partial => '${1:partial}', :locals => {}\n\ 21 | snippet =rpc\n\ 22 | = render :partial => '${1:partial}', :collection => @$1\n\ 23 | \n\ 24 | "; 25 | exports.scope = "haml"; 26 | 27 | }); 28 | -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/gcode.gcode: -------------------------------------------------------------------------------- 1 | O003 (DIAMOND SQUARE) 2 | N2 G54 G90 G49 G80 3 | N3 M6 T1 (1.ENDMILL) 4 | N4 M3 S1800 5 | N5 G0 X-.6 Y2.050 6 | N6 G43 H1 Z.1 7 | N7 G1 Z-.3 F50. 8 | N8 G41 D1 Y1.45 9 | N9 G1 X0 F20. 10 | N10 G2 J-1.45 11 | (CUTTER COMP CANCEL) 12 | N11 G1 Z-.2 F50. 13 | N12 Y-.990 14 | N13 G40 15 | N14 G0 X-.6 Y1.590 16 | N15 G0 Z.1 17 | N16 M5 G49 G28 G91 Z0 18 | N17 CALL O9456 19 | N18 #500=0.004 20 | N19 #503=[#500+#501] 21 | N20 VC45=0.0006 22 | VS4=0.0007 23 | N21 G90 G10 L20 P3 X5.Y4. Z6.567 24 | N22 G0 X5000 25 | N23 IF [#1 LT 0.370] GOTO 49 26 | N24 X-0.678 Y+.990 27 | N25 G84.3 X-0.1 28 | N26 #4=#5*COS[45] 29 | N27 #4=#5*SIN[45] 30 | N28 VZOFZ=652.9658 31 | % -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/properties.properties: -------------------------------------------------------------------------------- 1 | # You are reading the ".properties" entry. 2 | ! The exclamation mark can also mark text as comments. 3 | # The key and element characters #, !, =, and : are written with a preceding backslash to ensure that they are properly loaded. 4 | website = http\://en.wikipedia.org/ 5 | language = English 6 | # The backslash below tells the application to continue reading 7 | # the value onto the next line. 8 | message = Welcome to \ 9 | Wikipedia! 10 | # Add spaces to the key 11 | key\ with\ spaces = This is the value that could be looked up with the key "key with spaces". 12 | # Unicode 13 | tab : \u0009 14 | empty-key= 15 | last.line=value 16 | -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/less.less: -------------------------------------------------------------------------------- 1 | /* styles.less */ 2 | 3 | @base: #f938ab; 4 | 5 | .box-shadow(@style, @c) when (iscolor(@c)) { 6 | box-shadow: @style @c; 7 | -webkit-box-shadow: @style @c; 8 | -moz-box-shadow: @style @c; 9 | } 10 | .box-shadow(@style, @alpha: 50%) when (isnumber(@alpha)) { 11 | .box-shadow(@style, rgba(0, 0, 0, @alpha)); 12 | } 13 | 14 | // Box styles 15 | .box { 16 | color: saturate(@base, 5%); 17 | border-color: lighten(@base, 30%); 18 | 19 | div { .box-shadow(0 0 5px, 30%) } 20 | 21 | a { 22 | color: @base; 23 | 24 | &:hover { 25 | color: lighten(@base, 50%); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /src/snippets/diff.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/diff",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText = "# DEP-3 (http://dep.debian.net/deps/dep3/) style patch header\n\ 5 | snippet header DEP-3 style header\n\ 6 | Description: ${1}\n\ 7 | Origin: ${2:vendor|upstream|other}, ${3:url of the original patch}\n\ 8 | Bug: ${4:url in upstream bugtracker}\n\ 9 | Forwarded: ${5:no|not-needed|url}\n\ 10 | Author: ${6:`g:snips_author`}\n\ 11 | Reviewed-by: ${7:name and email}\n\ 12 | Last-Update: ${8:`strftime(\"%Y-%m-%d\")`}\n\ 13 | Applied-Upstream: ${9:upstream version|url|commit}\n\ 14 | \n\ 15 | "; 16 | exports.scope = "diff"; 17 | 18 | }); 19 | -------------------------------------------------------------------------------- /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', <Listing Books 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | <%= for book <- @books do %> 13 | 14 | <%# comment %> 15 | 16 | 17 | 18 | 19 | 20 | 21 | <% end %> 22 |
TitleSummary
<%= book.title %><%= book.content %><%= link "Show", to: book_path(@conn, :show, book) %><%= link "Edit", to: book_path(@conn, :edit, book) %><%= link "Delete", to: book_path(@conn, :delete, book), method: :delete, data: [confirm: "Are you sure?"] %>
23 | 24 |
25 | 26 | <%= link "New book", to: book_path(@conn, :new) %> 27 | -------------------------------------------------------------------------------- /src-noconflict/snippets/lua.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/lua",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText = "snippet #!\n\ 5 | #!/usr/bin/env lua\n\ 6 | $1\n\ 7 | snippet local\n\ 8 | local ${1:x} = ${2:1}\n\ 9 | snippet fun\n\ 10 | function ${1:fname}(${2:...})\n\ 11 | ${3:-- body}\n\ 12 | end\n\ 13 | snippet for\n\ 14 | for ${1:i}=${2:1},${3:10} do\n\ 15 | ${4:print(i)}\n\ 16 | end\n\ 17 | snippet forp\n\ 18 | for ${1:i},${2:v} in pairs(${3:table_name}) do\n\ 19 | ${4:-- body}\n\ 20 | end\n\ 21 | snippet fori\n\ 22 | for ${1:i},${2:v} in ipairs(${3:table_name}) do\n\ 23 | ${4:-- body}\n\ 24 | end\n\ 25 | "; 26 | exports.scope = "lua"; 27 | 28 | }); 29 | -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/lisp.lisp: -------------------------------------------------------------------------------- 1 | (defun prompt-for-cd () 2 | "Prompts 3 | for CD" 4 | (prompt-read "Title" 1.53 1 2/4 1.7 1.7e0 2.9E-4 +42 -7 #b001 #b001/100 #o777 #O777 #xabc55 #c(0 -5.6)) 5 | (prompt-read "Artist" &rest) 6 | (or (parse-integer (prompt-read "Rating") :junk-allowed t) 0) 7 | (if x (format t "yes") (format t "no" nil) ;and here comment 8 | ) 0xFFLL -23ull 9 | ;; second line comment 10 | '(+ 1 2) 11 | (defvar *lines*) ; list of all lines 12 | (position-if-not #'sys::whitespacep line :start beg)) 13 | (quote (privet 1 2 3)) 14 | '(hello world) 15 | (* 5 7) 16 | (1 2 34 5) 17 | (:use "aaaa") 18 | (let ((x 10) (y 20)) 19 | (print (+ x y)) 20 | ) LAmbDa 21 | 22 | "asdad\0eqweqe" -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/r.r: -------------------------------------------------------------------------------- 1 | Call: 2 | lm(formula = y ~ x) 3 | 4 | Residuals: 5 | 1 2 3 4 5 6 6 | 3.3333 -0.6667 -2.6667 -2.6667 -0.6667 3.3333 7 | 8 | Coefficients: 9 | Estimate Std. Error t value Pr(>|t|) 10 | (Intercept) -9.3333 2.8441 -3.282 0.030453 * 11 | x 7.0000 0.7303 9.585 0.000662 *** 12 | --- 13 | Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1 14 | 15 | Residual standard error: 3.055 on 4 degrees of freedom 16 | Multiple R-squared: 0.9583, Adjusted R-squared: 0.9478 17 | F-statistic: 91.88 on 1 and 4 DF, p-value: 0.000662 18 | 19 | > par(mfrow=c(2, 2)) # Request 2x2 plot layout 20 | > plot(lm_1) # Diagnostic plot of regression model -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/toml.toml: -------------------------------------------------------------------------------- 1 | # This is a TOML document. Boom. 2 | 3 | title = "TOML Example" 4 | 5 | [owner] 6 | name = "Tom Preston-Werner" 7 | organization = "GitHub" 8 | bio = "GitHub Cofounder & CEO\nLikes tater tots and beer." 9 | dob = 1979-05-27T07:32:00Z # First class dates? Why not? 10 | 11 | [database] 12 | server = "192.168.1.1" 13 | ports = [ 8001, 8001, 8002 ] 14 | connection_max = 5000 15 | enabled = true 16 | 17 | [servers] 18 | 19 | # You can indent as you please. Tabs or spaces. TOML don't care. 20 | [servers.alpha] 21 | ip = "10.0.0.1" 22 | dc = "eqdc10" 23 | 24 | [servers.beta] 25 | ip = "10.0.0.2" 26 | dc = "eqdc10" 27 | 28 | [clients] 29 | data = [ ["gamma", "delta"], [1, 2] ] # just an update to make sure parsers support it -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/sjs.sjs: -------------------------------------------------------------------------------- 1 | var { each, map } = require('sjs:sequence'); 2 | var { get } = require('sjs:http'); 3 | 4 | function foo(items, nada) { 5 | var component = { name: "Ace", role: "Editor" }; 6 | console.log(" 7 | Welcome, #{component.name} 8 | ".trim()); 9 | 10 | logging.debug(`Component added: $String(component) (${component})`); 11 | 12 | console.log(` 13 | Welcome, {${function() { 14 | return { x: 1, y: "why?}"}; 15 | }()} 16 | `.trim()); 17 | 18 | waitfor { 19 | items .. each.par { |item| 20 | get(item); 21 | } 22 | } and { 23 | var lengths = items .. map(i -> i.length); 24 | } or { 25 | hold(1500); 26 | throw new Error("timed out"); 27 | } 28 | } // Real Tab. 29 | -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/jade.jade: -------------------------------------------------------------------------------- 1 | !!!doctype 2 | !!!5 3 | !!! 4 | 5 | include something 6 | 7 | include another_thing 8 | 9 | // let's talk about it 10 | 11 | // 12 | here it is. a block comment! 13 | and another row! 14 | but not here. 15 | 16 | // 17 | a far spaced 18 | should be lack of block 19 | 20 | // also not a comment 21 | div.attemptAtBlock 22 | 23 | span#myName 24 | 25 | #{implicit} 26 | !{more_explicit} 27 | 28 | #idDiv 29 | 30 | .idDiv 31 | 32 | test(id="tag") 33 | header(id="tag", blah="foo", meh="aads") 34 | mixin article(obj, parents) 35 | 36 | mixin bleh() 37 | 38 | mixin clever-name 39 | 40 | -var x = "0"; 41 | - y each z 42 | 43 | - var items = ["one", "two", "three"] 44 | each item in items 45 | li= item -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/golang.go: -------------------------------------------------------------------------------- 1 | // Concurrent computation of pi. 2 | // See http://goo.gl/ZuTZM. 3 | // 4 | // This demonstrates Go's ability to handle 5 | // large numbers of concurrent processes. 6 | // It is an unreasonable way to calculate pi. 7 | package main 8 | 9 | import ( 10 | "fmt" 11 | "math" 12 | ) 13 | 14 | func main() { 15 | fmt.Println(pi(5000)) 16 | } 17 | 18 | // pi launches n goroutines to compute an 19 | // approximation of pi. 20 | func pi(n int) float64 { 21 | ch := make(chan float64) 22 | for k := 0; k <= n; k++ { 23 | go term(ch, float64(k)) 24 | } 25 | f := 0.0 26 | for k := 0; k <= n; k++ { 27 | f += <-ch 28 | } 29 | return f 30 | } 31 | 32 | func term(ch chan float64, k float64) { 33 | ch <- 4 * math.Pow(-1, k) / (2*k + 1) 34 | } 35 | -------------------------------------------------------------------------------- /src/snippets/textile.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/textile",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText = "# Jekyll post header\n\ 5 | snippet header\n\ 6 | ---\n\ 7 | title: ${1:title}\n\ 8 | layout: post\n\ 9 | date: ${2:date} ${3:hour:minute:second} -05:00\n\ 10 | ---\n\ 11 | \n\ 12 | # Image\n\ 13 | snippet img\n\ 14 | !${1:url}(${2:title}):${3:link}!\n\ 15 | \n\ 16 | # Table\n\ 17 | snippet |\n\ 18 | |${1}|${2}\n\ 19 | \n\ 20 | # Link\n\ 21 | snippet link\n\ 22 | \"${1:link text}\":${2:url}\n\ 23 | \n\ 24 | # Acronym\n\ 25 | snippet (\n\ 26 | (${1:Expand acronym})${2}\n\ 27 | \n\ 28 | # Footnote\n\ 29 | snippet fn\n\ 30 | [${1:ref number}] ${3}\n\ 31 | \n\ 32 | fn$1. ${2:footnote}\n\ 33 | \n\ 34 | "; 35 | exports.scope = "textile"; 36 | 37 | }); 38 | -------------------------------------------------------------------------------- /src-min/ext-linking.js: -------------------------------------------------------------------------------- 1 | define("ace/ext/linking",["require","exports","module","ace/editor","ace/config"],function(e,t,n){function i(e){var t=e.editor,n=e.getAccelKey();if(n){var t=e.editor,r=e.getDocumentPosition(),i=t.session,s=i.getTokenAt(r.row,r.column);t._emit("linkHover",{position:r,token:s})}}function s(e){var t=e.getAccelKey(),n=e.getButton();if(n==0&&t){var r=e.editor,i=e.getDocumentPosition(),s=r.session,o=s.getTokenAt(i.row,i.column);r._emit("linkClick",{position:i,token:o})}}var r=e("ace/editor").Editor;e("../config").defineOptions(r.prototype,"editor",{enableLinking:{set:function(e){e?(this.on("click",s),this.on("mousemove",i)):(this.off("click",s),this.off("mousemove",i))},value:!1}})}); 2 | (function() { 3 | window.require(["ace/ext/linking"], function() {}); 4 | })(); 5 | -------------------------------------------------------------------------------- /src-noconflict/snippets/textile.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/textile",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText = "# Jekyll post header\n\ 5 | snippet header\n\ 6 | ---\n\ 7 | title: ${1:title}\n\ 8 | layout: post\n\ 9 | date: ${2:date} ${3:hour:minute:second} -05:00\n\ 10 | ---\n\ 11 | \n\ 12 | # Image\n\ 13 | snippet img\n\ 14 | !${1:url}(${2:title}):${3:link}!\n\ 15 | \n\ 16 | # Table\n\ 17 | snippet |\n\ 18 | |${1}|${2}\n\ 19 | \n\ 20 | # Link\n\ 21 | snippet link\n\ 22 | \"${1:link text}\":${2:url}\n\ 23 | \n\ 24 | # Acronym\n\ 25 | snippet (\n\ 26 | (${1:Expand acronym})${2}\n\ 27 | \n\ 28 | # Footnote\n\ 29 | snippet fn\n\ 30 | [${1:ref number}] ${3}\n\ 31 | \n\ 32 | fn$1. ${2:footnote}\n\ 33 | \n\ 34 | "; 35 | exports.scope = "textile"; 36 | 37 | }); 38 | -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/gherkin.feature: -------------------------------------------------------------------------------- 1 | @these @_are_ @tags 2 | Feature: Serve coffee 3 | Coffee should not be served until paid for 4 | Coffee should not be served until the button has been pressed 5 | If there is no coffee left then money should be refunded 6 | 7 | Scenario Outline: Eating 8 | Given there are cucumbers 9 | When I eat cucumbers 10 | Then I should have cucumbers 11 | 12 | Examples: 13 | | start | eat | left | 14 | | 12 | 5 | 7 | 15 | | @20 | 5 | 15 | 16 | 17 | Scenario: Buy last coffee 18 | Given there are 1 coffees left in the machine 19 | And I have deposited 1$ 20 | When I press the coffee button 21 | Then I should be served a "coffee" 22 | 23 | # this a comment 24 | 25 | """ 26 | this is a 27 | pystring 28 | """ -------------------------------------------------------------------------------- /src-min-noconflict/ext-linking.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/ext/linking",["require","exports","module","ace/editor","ace/config"],function(e,t,n){function i(e){var t=e.editor,n=e.getAccelKey();if(n){var t=e.editor,r=e.getDocumentPosition(),i=t.session,s=i.getTokenAt(r.row,r.column);t._emit("linkHover",{position:r,token:s})}}function s(e){var t=e.getAccelKey(),n=e.getButton();if(n==0&&t){var r=e.editor,i=e.getDocumentPosition(),s=r.session,o=s.getTokenAt(i.row,i.column);r._emit("linkClick",{position:i,token:o})}}var r=e("ace/editor").Editor;e("../config").defineOptions(r.prototype,"editor",{enableLinking:{set:function(e){e?(this.on("click",s),this.on("mousemove",i)):(this.off("click",s),this.off("mousemove",i))},value:!1}})}); 2 | (function() { 3 | ace.require(["ace/ext/linking"], function() {}); 4 | })(); 5 | -------------------------------------------------------------------------------- /src-min/mode-gitignore.js: -------------------------------------------------------------------------------- 1 | define("ace/mode/gitignore_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=function(){this.$rules={start:[{token:"comment",regex:/^\s*#.*$/},{token:"keyword",regex:/^\s*!.*$/}]},this.normalizeRules()};s.metaData={fileTypes:["gitignore"],name:"Gitignore"},r.inherits(s,i),t.GitignoreHighlightRules=s}),define("ace/mode/gitignore",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/gitignore_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./gitignore_highlight_rules").GitignoreHighlightRules,o=function(){this.HighlightRules=s};r.inherits(o,i),function(){this.lineCommentStart="#",this.$id="ace/mode/gitignore"}.call(o.prototype),t.Mode=o}) -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/mask.mask: -------------------------------------------------------------------------------- 1 | /* Mask Syntax Demo */ 2 | 3 | div > ' Test ~[name]'; 4 | 5 | define :userProfile { 6 | header { 7 | h4 > @title; 8 | button.close; 9 | } 10 | } 11 | 12 | :userProfile { 13 | @title > ' Hello ~[: username.toUpperCase()]' 14 | } 15 | 16 | style { 17 | html, body { 18 | background: url('name.png') 0 0 no-repeat; 19 | } 20 | } 21 | 22 | button { 23 | event click (e) { 24 | this.textContent = `name ${e.clientX} !`; 25 | } 26 | } 27 | 28 | md > """ 29 | 30 | - div 31 | - span 32 | 33 | Hello 34 | 35 | [one](http://google.com) 36 | 37 | """; 38 | 39 | 40 | header .foo > 'Heading' 41 | 42 | button .baz x-signal='click: test' disabled > " 43 | Hello, 44 | world 45 | \"Buddy\" 46 | " 47 | 48 | var a = { 49 | name: `name ${window.innerWidth}` 50 | }; 51 | 52 | span .foo > "~[bind: a.name]" -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/slim.slim: -------------------------------------------------------------------------------- 1 | doctype html 2 | html 3 | head 4 | title Slim Examples 5 | meta name="keywords" content="template language" 6 | meta name="author" content=author 7 | link rel="icon" type="image/png" href=file_path("favicon.png") 8 | javascript: 9 | alert('Slim supports embedded javascript!') 10 | 11 | body 12 | h1 Markup examples 13 | 14 | #content 15 | p This example shows you how a basic Slim file looks. 16 | 17 | == yield 18 | 19 | - if items.any? 20 | table#items 21 | - for item in items 22 | tr 23 | td.name = item.name 24 | td.price = item.price 25 | - else 26 | p No items found. Please add some inventory. 27 | Thank you! 28 | 29 | div id="footer" 30 | == render 'footer' 31 | | Copyright © #{@year} #{@author} -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/perl.pl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/perl 2 | =begin 3 | perl example code for Ace 4 | =cut 5 | 6 | use strict; 7 | use warnings; 8 | my $num_primes = 0; 9 | my @primes; 10 | 11 | # Put 2 as the first prime so we won't have an empty array 12 | $primes[$num_primes] = 2; 13 | $num_primes++; 14 | 15 | MAIN_LOOP: 16 | for my $number_to_check (3 .. 200) 17 | { 18 | for my $p (0 .. ($num_primes-1)) 19 | { 20 | if ($number_to_check % $primes[$p] == 0) 21 | { 22 | next MAIN_LOOP; 23 | } 24 | } 25 | 26 | # If we reached this point it means $number_to_check is not 27 | # divisable by any prime number that came before it. 28 | $primes[$num_primes] = $number_to_check; 29 | $num_primes++; 30 | } 31 | 32 | for my $p (0 .. ($num_primes-1)) 33 | { 34 | print $primes[$p], ", "; 35 | } 36 | print "\n"; 37 | 38 | -------------------------------------------------------------------------------- /src-min-noconflict/mode-gitignore.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/mode/gitignore_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=function(){this.$rules={start:[{token:"comment",regex:/^\s*#.*$/},{token:"keyword",regex:/^\s*!.*$/}]},this.normalizeRules()};s.metaData={fileTypes:["gitignore"],name:"Gitignore"},r.inherits(s,i),t.GitignoreHighlightRules=s}),ace.define("ace/mode/gitignore",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/gitignore_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./gitignore_highlight_rules").GitignoreHighlightRules,o=function(){this.HighlightRules=s};r.inherits(o,i),function(){this.lineCommentStart="#",this.$id="ace/mode/gitignore"}.call(o.prototype),t.Mode=o}) -------------------------------------------------------------------------------- /src/mode-plain_text.js: -------------------------------------------------------------------------------- 1 | define("ace/mode/plain_text",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/text_highlight_rules","ace/mode/behaviour"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | var oop = require("../lib/oop"); 5 | var TextMode = require("./text").Mode; 6 | var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules; 7 | var Behaviour = require("./behaviour").Behaviour; 8 | 9 | var Mode = function() { 10 | this.HighlightRules = TextHighlightRules; 11 | this.$behaviour = new Behaviour(); 12 | }; 13 | 14 | oop.inherits(Mode, TextMode); 15 | 16 | (function() { 17 | this.type = "text"; 18 | this.getNextLineIndent = function(state, line, tab) { 19 | return ''; 20 | }; 21 | this.$id = "ace/mode/plain_text"; 22 | }).call(Mode.prototype); 23 | 24 | exports.Mode = Mode; 25 | }); 26 | -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/fortran.f90: -------------------------------------------------------------------------------- 1 | #include "globalDefines.h" 2 | 3 | !========================================================= 4 | program main 5 | !========================================================= 6 | use params_module, only : nx, ny, nz 7 | 8 | implicit none 9 | 10 | integer, parameter :: g = 9.81 11 | real, allocatable, dimension(:,:,:) :: array 12 | integer :: a, b, c 13 | real*8 :: x, y, z 14 | 15 | b = 5 16 | c = 7 17 | 18 | #ifdef ARRAY_COMP 19 | allocate(array(10,10,10), status=a) 20 | 21 | write(c,'(i5.5)') b 22 | #endif 23 | 24 | if(x.lt.5.0) then 25 | array(:,:,:) = g 26 | else 27 | array(:,:,:) = x - y 28 | endif 29 | 30 | return 31 | !======================================================== 32 | end program main 33 | !======================================================== 34 | -------------------------------------------------------------------------------- /src-noconflict/mode-plain_text.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/mode/plain_text",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/text_highlight_rules","ace/mode/behaviour"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | var oop = require("../lib/oop"); 5 | var TextMode = require("./text").Mode; 6 | var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules; 7 | var Behaviour = require("./behaviour").Behaviour; 8 | 9 | var Mode = function() { 10 | this.HighlightRules = TextHighlightRules; 11 | this.$behaviour = new Behaviour(); 12 | }; 13 | 14 | oop.inherits(Mode, TextMode); 15 | 16 | (function() { 17 | this.type = "text"; 18 | this.getNextLineIndent = function(state, line, tab) { 19 | return ''; 20 | }; 21 | this.$id = "ace/mode/plain_text"; 22 | }).call(Mode.prototype); 23 | 24 | exports.Mode = Mode; 25 | }); 26 | -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/clojure.clj: -------------------------------------------------------------------------------- 1 | (defn parting 2 | "returns a String parting in a given language" 3 | ([] (parting "World")) 4 | ([name] (parting name "en")) 5 | ([name language] 6 | ; condp is similar to a case statement in other languages. 7 | ; It is described in more detail later. 8 | ; It is used here to take different actions based on whether the 9 | ; parameter "language" is set to "en", "es" or something else. 10 | (condp = language 11 | "en" (str "Goodbye, " name) 12 | "es" (str "Adios, " name) 13 | (throw (IllegalArgumentException. 14 | (str "unsupported language " language)))))) 15 | 16 | (println (parting)) ; -> Goodbye, World 17 | (println (parting "Mark")) ; -> Goodbye, Mark 18 | (println (parting "Mark" "es")) ; -> Adios, Mark 19 | (println (parting "Mark", "xy")) ; -> java.lang.IllegalArgumentException: unsupported language xy -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/autohotkey.ahk: -------------------------------------------------------------------------------- 1 | #NoEnv 2 | SetBatchLines -1 3 | 4 | CoordMode Mouse, Screen 5 | OnExit GuiClose 6 | 7 | zoom := 9 8 | 9 | computeSize(){ 10 | global as_x 11 | as_x := Round(ws_x/zoom/2 - 0.5) 12 | if (zoom>1) { 13 | pix := Round(zoom) 14 | } ele { 15 | pix := 1 16 | } 17 | ToolTip Message %as_x% %zoom% %ws_x% %hws_x% 18 | } 19 | 20 | hdc_frame := DllCall("GetDC", UInt, MagnifierID) 21 | 22 | ; comment 23 | DrawCross(byRef x="", rX,rY,z, dc){ 24 | ;specify the style, thickness and color of the cross lines 25 | h_pen := DllCall( "gdi32.dll\CreatePen", Int, 0, Int, 1, UInt, 0x0000FF) 26 | } 27 | 28 | ;Ctrl ^; Shift +; Win #; Alt ! 29 | ^NumPadAdd:: 30 | ^WheelUp:: 31 | ^;:: ;comment 32 | If(zoom < ws_x and ( A_ThisHotKey = "^WheelUp" or A_ThisHotKey ="^NumPadAdd") ) 33 | zoom *= 1.189207115 ; sqrt(sqrt(2)) 34 | Gosub,setZoom 35 | return 36 | -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/ejs.ejs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Cloud9 Rocks! 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | <% if (!isRoot) { %> 14 | 15 | 16 | 17 | 18 | <% } %> 19 | <% entries.forEach(function(entry) { %> 20 | 21 | 25 | 26 | 27 | <% }) %> 28 |
NameSize
..
22 | 23 | <%= entry.name %> 24 | <%= entry.size %>
29 | 30 | 31 | -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/elixir.ex: -------------------------------------------------------------------------------- 1 | defmodule HelloModule do 2 | @moduledoc """ 3 | This is supposed to be `markdown`. 4 | __Yes__ this is [mark](http://down.format) 5 | 6 | # Truly 7 | 8 | ## marked 9 | 10 | * with lists 11 | * more 12 | * and more 13 | 14 | Even.with(code) 15 | blocks |> with |> samples 16 | 17 | _Docs are first class citizens in Elixir_ (Jose Valim) 18 | """ 19 | 20 | # A "Hello world" function 21 | def some_fun do 22 | IO.puts "Juhu Kinners!" 23 | end 24 | # A private function 25 | defp priv do 26 | is_regex ~r""" 27 | This is a regex 28 | spanning several 29 | lines. 30 | """ 31 | x = elem({ :a, :b, :c }, 0) #=> :a 32 | end 33 | end 34 | 35 | test_fun = fn(x) -> 36 | cond do 37 | x > 10 -> 38 | :greater_than_ten 39 | true -> 40 | :maybe_ten 41 | end 42 | end -------------------------------------------------------------------------------- /demo/iframe.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | ACE Editor Inside iframe 6 | 16 | 17 | 18 |
19 |
20 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/twig.twig: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | My Webpage 5 | 6 | 7 | 12 | 13 | {% if 1 not in [1, 2, 3] %} 14 | 15 | {# is equivalent to #} 16 | {% if not (1 in [1, 2, 3]) %} 17 | 18 | {% autoescape true %} 19 | {{ var }} 20 | {{ var|raw }} {# var won't be escaped #} 21 | {{ var|escape }} {# var won't be doubled-escaped #} 22 | {% endautoescape %} 23 | 24 | {{ include('twig.html', sandboxed = true) }} 25 | 26 | {{"string #{with} \" escapes" 'another#one' }} 27 |

My Webpage

28 | {{ a_variable }} 29 | 30 | -------------------------------------------------------------------------------- /src/snippets/gobstones.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/gobstones",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText = "# Procedure\n\ 5 | snippet proc\n\ 6 | procedure ${1?:name}(${2:argument}) {\n\ 7 | ${3:// body...}\n\ 8 | }\n\ 9 | \n\ 10 | # Function\n\ 11 | snippet fun\n\ 12 | function ${1?:name}(${2:argument}) {\n\ 13 | return ${3:// body...}\n\ 14 | }\n\ 15 | \n\ 16 | # Repeat\n\ 17 | snippet rep\n\ 18 | repeat ${1?:times} {\n\ 19 | ${2:// body...}\n\ 20 | }\n\ 21 | \n\ 22 | # For\n\ 23 | snippet for\n\ 24 | foreach ${1?:e} in ${2?:list} {\n\ 25 | ${3:// body...} \n\ 26 | }\n\ 27 | \n\ 28 | # If\n\ 29 | snippet if\n\ 30 | if (${1?:condition}) {\n\ 31 | ${3:// body...} \n\ 32 | }\n\ 33 | \n\ 34 | # While\n\ 35 | while (${1?:condition}) {\n\ 36 | ${2:// body...} \n\ 37 | }\n\ 38 | "; 39 | exports.scope = "gobstones"; 40 | 41 | }); 42 | -------------------------------------------------------------------------------- /demo/kitchen-sink/docs/yaml.yaml: -------------------------------------------------------------------------------- 1 | # This sample document was taken from wikipedia: 2 | # http://en.wikipedia.org/wiki/YAML#Sample_document 3 | --- 4 | receipt: Oz-Ware Purchase Invoice 5 | date: 2007-08-06 6 | customer: 7 | given: Dorothy 8 | family: Gale 9 | 10 | items: 11 | - part_no: 'A4786' 12 | descrip: Water Bucket (Filled) 13 | price: 1.47 14 | quantity: 4 15 | 16 | - part_no: 'E1628' 17 | descrip: High Heeled "Ruby" Slippers 18 | size: 8 19 | price: 100.27 20 | quantity: 1 21 | 22 | bill-to: &id001 23 | street: | 24 | 123 Tornado Alley 25 | Suite 16 26 | city: East Centerville 27 | state: KS 28 | 29 | ship-to: *id001 30 | 31 | specialDelivery: > 32 | Follow the Yellow Brick 33 | Road to the Emerald City. 34 | Pay no attention to the 35 | man behind the curtain. 36 | -------------------------------------------------------------------------------- /src-min/snippets/sql.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/sql",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="snippet tbl\n create table ${1:table} (\n ${2:columns}\n );\nsnippet col\n ${1:name} ${2:type} ${3:default ''} ${4:not null}\nsnippet ccol\n ${1:name} varchar2(${2:size}) ${3:default ''} ${4:not null}\nsnippet ncol\n ${1:name} number ${3:default 0} ${4:not null}\nsnippet dcol\n ${1:name} date ${3:default sysdate} ${4:not null}\nsnippet ind\n create index ${3:$1_$2} on ${1:table}(${2:column});\nsnippet uind\n create unique index ${1:name} on ${2:table}(${3:column});\nsnippet tblcom\n comment on table ${1:table} is '${2:comment}';\nsnippet colcom\n comment on column ${1:table}.${2:column} is '${3:comment}';\nsnippet addcol\n alter table ${1:table} add (${2:column} ${3:type});\nsnippet seq\n create sequence ${1:name} start with ${2:1} increment by ${3:1} minvalue ${4:1};\nsnippet s*\n select * from ${1:table}\n",t.scope="sql"}) -------------------------------------------------------------------------------- /src-noconflict/snippets/gobstones.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/gobstones",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText = "# Procedure\n\ 5 | snippet proc\n\ 6 | procedure ${1?:name}(${2:argument}) {\n\ 7 | ${3:// body...}\n\ 8 | }\n\ 9 | \n\ 10 | # Function\n\ 11 | snippet fun\n\ 12 | function ${1?:name}(${2:argument}) {\n\ 13 | return ${3:// body...}\n\ 14 | }\n\ 15 | \n\ 16 | # Repeat\n\ 17 | snippet rep\n\ 18 | repeat ${1?:times} {\n\ 19 | ${2:// body...}\n\ 20 | }\n\ 21 | \n\ 22 | # For\n\ 23 | snippet for\n\ 24 | foreach ${1?:e} in ${2?:list} {\n\ 25 | ${3:// body...} \n\ 26 | }\n\ 27 | \n\ 28 | # If\n\ 29 | snippet if\n\ 30 | if (${1?:condition}) {\n\ 31 | ${3:// body...} \n\ 32 | }\n\ 33 | \n\ 34 | # While\n\ 35 | while (${1?:condition}) {\n\ 36 | ${2:// body...} \n\ 37 | }\n\ 38 | "; 39 | exports.scope = "gobstones"; 40 | 41 | }); 42 | -------------------------------------------------------------------------------- /src-min/snippets/abc.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/abc",["require","exports","module"],function(e,t,n){"use strict";t.snippetText='\nsnippet zupfnoter.print\n %%%%hn.print {"startpos": ${1:pos_y}, "t":"${2:title}", "v":[${3:voices}], "s":[[${4:syncvoices}1,2]], "f":[${5:flowlines}], "sf":[${6:subflowlines}], "j":[${7:jumplines}]}\n\nsnippet zupfnoter.note\n %%%%hn.note {"pos": [${1:pos_x},${2:pos_y}], "text": "${3:text}", "style": "${4:style}"}\n\nsnippet zupfnoter.annotation\n %%%%hn.annotation {"id": "${1:id}", "pos": [${2:pos}], "text": "${3:text}"}\n\nsnippet zupfnoter.lyrics\n %%%%hn.lyrics {"pos": [${1:x_pos},${2:y_pos}]}\n\nsnippet zupfnoter.legend\n %%%%hn.legend {"pos": [${1:x_pos},${2:y_pos}]}\n\n\n\nsnippet zupfnoter.target\n "^:${1:target}"\n\nsnippet zupfnoter.goto\n "^@${1:target}@${2:distance}"\n\nsnippet zupfnoter.annotationref\n "^#${1:target}"\n\nsnippet zupfnoter.annotation\n "^!${1:text}@${2:x_offset},${3:y_offset}"\n\n\n',t.scope="abc"}) -------------------------------------------------------------------------------- /src/snippets/velocity.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/velocity",["require","exports","module"], function(require, exports, module) { 2 | "use strict"; 3 | 4 | exports.snippetText = "# macro\n\ 5 | snippet #macro\n\ 6 | #macro ( ${1:macroName} ${2:\\$var1, [\\$var2, ...]} )\n\ 7 | ${3:## macro code}\n\ 8 | #end\n\ 9 | # foreach\n\ 10 | snippet #foreach\n\ 11 | #foreach ( ${1:\\$item} in ${2:\\$collection} )\n\ 12 | ${3:## foreach code}\n\ 13 | #end\n\ 14 | # if\n\ 15 | snippet #if\n\ 16 | #if ( ${1:true} )\n\ 17 | ${0}\n\ 18 | #end\n\ 19 | # if ... else\n\ 20 | snippet #ife\n\ 21 | #if ( ${1:true} )\n\ 22 | ${2}\n\ 23 | #else\n\ 24 | ${0}\n\ 25 | #end\n\ 26 | #import\n\ 27 | snippet #import\n\ 28 | #import ( \"${1:path/to/velocity/format}\" )\n\ 29 | # set\n\ 30 | snippet #set\n\ 31 | #set ( $${1:var} = ${0} )\n\ 32 | "; 33 | exports.scope = "velocity"; 34 | exports.includeScopes = ["html", "javascript", "css"]; 35 | 36 | }); 37 | -------------------------------------------------------------------------------- /src-min-noconflict/snippets/sql.js: -------------------------------------------------------------------------------- 1 | ace.define("ace/snippets/sql",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="snippet tbl\n create table ${1:table} (\n ${2:columns}\n );\nsnippet col\n ${1:name} ${2:type} ${3:default ''} ${4:not null}\nsnippet ccol\n ${1:name} varchar2(${2:size}) ${3:default ''} ${4:not null}\nsnippet ncol\n ${1:name} number ${3:default 0} ${4:not null}\nsnippet dcol\n ${1:name} date ${3:default sysdate} ${4:not null}\nsnippet ind\n create index ${3:$1_$2} on ${1:table}(${2:column});\nsnippet uind\n create unique index ${1:name} on ${2:table}(${3:column});\nsnippet tblcom\n comment on table ${1:table} is '${2:comment}';\nsnippet colcom\n comment on column ${1:table}.${2:column} is '${3:comment}';\nsnippet addcol\n alter table ${1:table} add (${2:column} ${3:type});\nsnippet seq\n create sequence ${1:name} start with ${2:1} increment by ${3:1} minvalue ${4:1};\nsnippet s*\n select * from ${1:table}\n",t.scope="sql"}) --------------------------------------------------------------------------------