├── .babelrc ├── .bowerrc ├── .browserslistrc ├── .editorconfig ├── .eslintrc.js ├── .github ├── main.workflow └── workflows │ └── nodejs.yml ├── .gitignore ├── .madrun.mjs ├── .npmignore ├── .putout.json ├── ChangeLog ├── LICENSE ├── README.md ├── assets ├── font │ ├── DroidSansMono.eot │ ├── DroidSansMono.woff │ └── DroidSansMono.woff2 ├── index.html └── style.css ├── bin └── edward.js ├── bower.json ├── client ├── _clipboard.js ├── _init-socket.js ├── _on-save.js ├── _set-emmet.js ├── edward.js ├── loadremote.js ├── save.js ├── set-key-map.js ├── show-message.js └── story.js ├── css └── edward.css ├── img └── edward.png ├── json ├── bin.json ├── edit.json ├── ext.json └── modules.json ├── modules └── ace-builds │ ├── .bower.json │ ├── .github │ ├── PULL_REQUEST_TEMPLATE.md │ └── workflows │ │ └── publish.yml │ ├── .nojekyll │ ├── .npmignore │ ├── CHANGELOG.md │ ├── CODE_OF_CONDUCT.md │ ├── CONTRIBUTING.md │ ├── ChangeLog.txt │ ├── LICENSE │ ├── README.md │ ├── ace-modules.d.ts │ ├── ace.d.ts │ ├── bower.json │ ├── css │ ├── ace.css │ ├── ambiance-1.png │ ├── ambiance-2.png │ ├── ambiance-3.png │ ├── chrome-1.png │ ├── chrome-2.png │ ├── cloud9_day-1.png │ ├── cloud9_day-2.png │ ├── cloud9_night-1.png │ ├── cloud9_night-2.png │ ├── cloud9_night_low_color-1.png │ ├── cloud9_night_low_color-2.png │ ├── clouds-1.png │ ├── clouds-2.png │ ├── clouds_midnight-1.png │ ├── clouds_midnight-2.png │ ├── cobalt-1.png │ ├── cobalt-2.png │ ├── crimson_editor-1.png │ ├── crimson_editor-2.png │ ├── dawn-1.png │ ├── dawn-2.png │ ├── dracula-1.png │ ├── dracula-2.png │ ├── dreamweaver-1.png │ ├── dreamweaver-2.png │ ├── eclipse-1.png │ ├── eclipse-2.png │ ├── github-1.png │ ├── github-2.png │ ├── github_dark-1.png │ ├── github_dark-2.png │ ├── gob-1.png │ ├── gob-2.png │ ├── gruvbox-1.png │ ├── gruvbox-2.png │ ├── gruvbox_dark_hard-1.png │ ├── gruvbox_light_hard-1.png │ ├── gruvbox_light_hard-2.png │ ├── idle_fingers-1.png │ ├── idle_fingers-2.png │ ├── iplastic-1.png │ ├── iplastic-2.png │ ├── iplastic-3.png │ ├── katzenmilch-1.png │ ├── katzenmilch-2.png │ ├── kr_theme-1.png │ ├── kr_theme-2.png │ ├── kuroir-1.png │ ├── kuroir-2.png │ ├── main-1.png │ ├── main-10.png │ ├── main-11.png │ ├── main-12.png │ ├── main-13.png │ ├── main-14.png │ ├── main-15.png │ ├── main-16.png │ ├── main-17.png │ ├── main-18.png │ ├── main-19.png │ ├── main-2.png │ ├── main-20.png │ ├── main-21.png │ ├── main-22.png │ ├── main-22.svg │ ├── main-23.png │ ├── main-3.png │ ├── main-4.png │ ├── main-5.png │ ├── main-5.svg │ ├── main-6.png │ ├── main-6.svg │ ├── main-7.png │ ├── main-7.svg │ ├── main-8.png │ ├── main-8.svg │ ├── main-9.png │ ├── main-9.svg │ ├── merbivore-1.png │ ├── merbivore-2.png │ ├── merbivore_soft-1.png │ ├── merbivore_soft-2.png │ ├── mono_industrial-1.png │ ├── mono_industrial-2.png │ ├── monokai-1.png │ ├── monokai-2.png │ ├── one_dark-1.png │ ├── one_dark-2.png │ ├── pastel_on_dark-1.png │ ├── pastel_on_dark-2.png │ ├── solarized_dark-1.png │ ├── solarized_dark-2.png │ ├── solarized_light-1.png │ ├── solarized_light-2.png │ ├── sqlserver-1.png │ ├── sqlserver-2.png │ ├── terminal-1.png │ ├── terminal-2.png │ ├── textmate-1.png │ ├── textmate-2.png │ ├── theme │ │ ├── ambiance.css │ │ ├── chaos.css │ │ ├── chrome.css │ │ ├── cloud9_day.css │ │ ├── cloud9_night.css │ │ ├── cloud9_night_low_color.css │ │ ├── cloud_editor.css │ │ ├── cloud_editor_dark.css │ │ ├── clouds.css │ │ ├── clouds_midnight.css │ │ ├── cobalt.css │ │ ├── crimson_editor.css │ │ ├── dawn.css │ │ ├── dracula.css │ │ ├── dreamweaver.css │ │ ├── eclipse.css │ │ ├── github.css │ │ ├── github_dark.css │ │ ├── gob.css │ │ ├── gruvbox.css │ │ ├── gruvbox_dark_hard.css │ │ ├── gruvbox_light_hard.css │ │ ├── idle_fingers.css │ │ ├── iplastic.css │ │ ├── katzenmilch.css │ │ ├── kr_theme.css │ │ ├── kuroir.css │ │ ├── merbivore.css │ │ ├── merbivore_soft.css │ │ ├── mono_industrial.css │ │ ├── monokai.css │ │ ├── nord_dark.css │ │ ├── one_dark.css │ │ ├── pastel_on_dark.css │ │ ├── solarized_dark.css │ │ ├── solarized_light.css │ │ ├── sqlserver.css │ │ ├── terminal.css │ │ ├── textmate.css │ │ ├── tomorrow.css │ │ ├── tomorrow_night.css │ │ ├── tomorrow_night_blue.css │ │ ├── tomorrow_night_bright.css │ │ ├── tomorrow_night_eighties.css │ │ ├── twilight.css │ │ ├── vibrant_ink.css │ │ └── xcode.css │ ├── tomorrow-1.png │ ├── tomorrow-2.png │ ├── tomorrow_night-1.png │ ├── tomorrow_night-2.png │ ├── tomorrow_night_blue-1.png │ ├── tomorrow_night_blue-2.png │ ├── tomorrow_night_bright-1.png │ ├── tomorrow_night_bright-2.png │ ├── tomorrow_night_eighties-1.png │ ├── tomorrow_night_eighties-2.png │ ├── twilight-1.png │ ├── twilight-2.png │ ├── vibrant_ink-1.png │ ├── vibrant_ink-2.png │ ├── xcode-1.png │ └── xcode-2.png │ ├── editor.html │ ├── esm-resolver.js │ ├── kitchen-sink.html │ ├── package.json │ ├── src-min │ ├── ace.js │ ├── ext-beautify.js │ ├── ext-code_lens.js │ ├── ext-command_bar.js │ ├── ext-elastic_tabstops_lite.js │ ├── ext-emmet.js │ ├── ext-error_marker.js │ ├── ext-hardwrap.js │ ├── ext-inline_autocomplete.js │ ├── ext-keybinding_menu.js │ ├── ext-language_tools.js │ ├── ext-linking.js │ ├── ext-modelist.js │ ├── ext-options.js │ ├── ext-prompt.js │ ├── ext-rtl.js │ ├── ext-searchbox.js │ ├── ext-settings_menu.js │ ├── ext-simple_tokenizer.js │ ├── ext-spellcheck.js │ ├── ext-split.js │ ├── ext-static_highlight.js │ ├── ext-statusbar.js │ ├── ext-textarea.js │ ├── ext-themelist.js │ ├── ext-whitespace.js │ ├── keybinding-emacs.js │ ├── keybinding-sublime.js │ ├── keybinding-vim.js │ ├── keybinding-vscode.js │ ├── mode-abap.js │ ├── mode-abc.js │ ├── mode-actionscript.js │ ├── mode-ada.js │ ├── mode-alda.js │ ├── mode-apache_conf.js │ ├── mode-apex.js │ ├── mode-applescript.js │ ├── mode-aql.js │ ├── mode-asciidoc.js │ ├── mode-asl.js │ ├── mode-assembly_x86.js │ ├── mode-astro.js │ ├── mode-autohotkey.js │ ├── mode-batchfile.js │ ├── mode-bibtex.js │ ├── mode-c9search.js │ ├── mode-c_cpp.js │ ├── mode-cirru.js │ ├── mode-clojure.js │ ├── mode-cobol.js │ ├── mode-coffee.js │ ├── mode-coldfusion.js │ ├── mode-crystal.js │ ├── mode-csharp.js │ ├── mode-csound_document.js │ ├── mode-csound_orchestra.js │ ├── mode-csound_score.js │ ├── mode-csp.js │ ├── mode-css.js │ ├── mode-curly.js │ ├── mode-cuttlefish.js │ ├── mode-d.js │ ├── mode-dart.js │ ├── mode-diff.js │ ├── mode-django.js │ ├── mode-dockerfile.js │ ├── mode-dot.js │ ├── mode-drools.js │ ├── mode-edifact.js │ ├── mode-eiffel.js │ ├── mode-ejs.js │ ├── mode-elixir.js │ ├── mode-elm.js │ ├── mode-erlang.js │ ├── mode-flix.js │ ├── mode-forth.js │ ├── mode-fortran.js │ ├── mode-fsharp.js │ ├── mode-fsl.js │ ├── mode-ftl.js │ ├── mode-gcode.js │ ├── mode-gherkin.js │ ├── mode-gitignore.js │ ├── mode-glsl.js │ ├── mode-gobstones.js │ ├── mode-golang.js │ ├── mode-graphqlschema.js │ ├── mode-groovy.js │ ├── mode-haml.js │ ├── mode-handlebars.js │ ├── mode-haskell.js │ ├── mode-haskell_cabal.js │ ├── mode-haxe.js │ ├── mode-hjson.js │ ├── mode-html.js │ ├── mode-html_elixir.js │ ├── mode-html_ruby.js │ ├── mode-ini.js │ ├── mode-io.js │ ├── mode-ion.js │ ├── mode-jack.js │ ├── mode-jade.js │ ├── mode-java.js │ ├── mode-javascript.js │ ├── mode-jexl.js │ ├── mode-json.js │ ├── mode-json5.js │ ├── mode-jsoniq.js │ ├── mode-jsp.js │ ├── mode-jssm.js │ ├── mode-jsx.js │ ├── mode-julia.js │ ├── mode-kotlin.js │ ├── mode-latex.js │ ├── mode-latte.js │ ├── mode-less.js │ ├── mode-liquid.js │ ├── mode-lisp.js │ ├── mode-livescript.js │ ├── mode-logiql.js │ ├── mode-logtalk.js │ ├── mode-lsl.js │ ├── mode-lua.js │ ├── mode-luapage.js │ ├── mode-lucene.js │ ├── mode-makefile.js │ ├── mode-markdown.js │ ├── mode-mask.js │ ├── mode-matlab.js │ ├── mode-maze.js │ ├── mode-mediawiki.js │ ├── mode-mel.js │ ├── mode-mips.js │ ├── mode-mixal.js │ ├── mode-mushcode.js │ ├── mode-mysql.js │ ├── mode-nasal.js │ ├── mode-nginx.js │ ├── mode-nim.js │ ├── mode-nix.js │ ├── mode-nsis.js │ ├── mode-nunjucks.js │ ├── mode-objectivec.js │ ├── mode-ocaml.js │ ├── mode-odin.js │ ├── mode-partiql.js │ ├── mode-pascal.js │ ├── mode-perl.js │ ├── mode-pgsql.js │ ├── mode-php.js │ ├── mode-php_laravel_blade.js │ ├── mode-pig.js │ ├── mode-plain_text.js │ ├── mode-plsql.js │ ├── mode-powershell.js │ ├── mode-praat.js │ ├── mode-prisma.js │ ├── mode-prolog.js │ ├── mode-properties.js │ ├── mode-protobuf.js │ ├── mode-prql.js │ ├── mode-puppet.js │ ├── mode-python.js │ ├── mode-qml.js │ ├── mode-r.js │ ├── mode-raku.js │ ├── mode-razor.js │ ├── mode-rdoc.js │ ├── mode-red.js │ ├── mode-redshift.js │ ├── mode-rhtml.js │ ├── mode-robot.js │ ├── mode-rst.js │ ├── mode-ruby.js │ ├── mode-rust.js │ ├── mode-sac.js │ ├── mode-sass.js │ ├── mode-scad.js │ ├── mode-scala.js │ ├── mode-scheme.js │ ├── mode-scrypt.js │ ├── mode-scss.js │ ├── mode-sh.js │ ├── mode-sjs.js │ ├── mode-slim.js │ ├── mode-smarty.js │ ├── mode-smithy.js │ ├── mode-snippets.js │ ├── mode-soy_template.js │ ├── mode-space.js │ ├── mode-sparql.js │ ├── mode-sql.js │ ├── mode-sqlserver.js │ ├── mode-stylus.js │ ├── mode-svg.js │ ├── mode-swift.js │ ├── mode-tcl.js │ ├── mode-terraform.js │ ├── mode-tex.js │ ├── mode-text.js │ ├── mode-textile.js │ ├── mode-toml.js │ ├── mode-tsx.js │ ├── mode-turtle.js │ ├── mode-twig.js │ ├── mode-typescript.js │ ├── mode-vala.js │ ├── mode-vbscript.js │ ├── mode-velocity.js │ ├── mode-verilog.js │ ├── mode-vhdl.js │ ├── mode-visualforce.js │ ├── mode-wollok.js │ ├── mode-xml.js │ ├── mode-xquery.js │ ├── mode-yaml.js │ ├── mode-zeek.js │ ├── mode-zig.js │ ├── snippets │ │ ├── abap.js │ │ ├── abc.js │ │ ├── actionscript.js │ │ ├── ada.js │ │ ├── alda.js │ │ ├── apache_conf.js │ │ ├── apex.js │ │ ├── applescript.js │ │ ├── aql.js │ │ ├── asciidoc.js │ │ ├── asl.js │ │ ├── assembly_x86.js │ │ ├── astro.js │ │ ├── autohotkey.js │ │ ├── batchfile.js │ │ ├── bibtex.js │ │ ├── c9search.js │ │ ├── c_cpp.js │ │ ├── cirru.js │ │ ├── clojure.js │ │ ├── cobol.js │ │ ├── coffee.js │ │ ├── coldfusion.js │ │ ├── crystal.js │ │ ├── csharp.js │ │ ├── csound_document.js │ │ ├── csound_orchestra.js │ │ ├── csound_score.js │ │ ├── csp.js │ │ ├── css.js │ │ ├── curly.js │ │ ├── cuttlefish.js │ │ ├── d.js │ │ ├── dart.js │ │ ├── diff.js │ │ ├── django.js │ │ ├── dockerfile.js │ │ ├── dot.js │ │ ├── drools.js │ │ ├── edifact.js │ │ ├── eiffel.js │ │ ├── ejs.js │ │ ├── elixir.js │ │ ├── elm.js │ │ ├── erlang.js │ │ ├── flix.js │ │ ├── forth.js │ │ ├── fortran.js │ │ ├── fsharp.js │ │ ├── fsl.js │ │ ├── ftl.js │ │ ├── gcode.js │ │ ├── gherkin.js │ │ ├── gitignore.js │ │ ├── glsl.js │ │ ├── gobstones.js │ │ ├── golang.js │ │ ├── graphqlschema.js │ │ ├── groovy.js │ │ ├── haml.js │ │ ├── handlebars.js │ │ ├── haskell.js │ │ ├── haskell_cabal.js │ │ ├── haxe.js │ │ ├── hjson.js │ │ ├── html.js │ │ ├── html_elixir.js │ │ ├── html_ruby.js │ │ ├── ini.js │ │ ├── io.js │ │ ├── ion.js │ │ ├── jack.js │ │ ├── jade.js │ │ ├── java.js │ │ ├── javascript.js │ │ ├── jexl.js │ │ ├── json.js │ │ ├── json5.js │ │ ├── jsoniq.js │ │ ├── jsp.js │ │ ├── jssm.js │ │ ├── jsx.js │ │ ├── julia.js │ │ ├── kotlin.js │ │ ├── latex.js │ │ ├── latte.js │ │ ├── less.js │ │ ├── liquid.js │ │ ├── lisp.js │ │ ├── livescript.js │ │ ├── logiql.js │ │ ├── logtalk.js │ │ ├── lsl.js │ │ ├── lua.js │ │ ├── luapage.js │ │ ├── lucene.js │ │ ├── makefile.js │ │ ├── markdown.js │ │ ├── mask.js │ │ ├── matlab.js │ │ ├── maze.js │ │ ├── mediawiki.js │ │ ├── mel.js │ │ ├── mips.js │ │ ├── mixal.js │ │ ├── mushcode.js │ │ ├── mysql.js │ │ ├── nasal.js │ │ ├── nginx.js │ │ ├── nim.js │ │ ├── nix.js │ │ ├── nsis.js │ │ ├── nunjucks.js │ │ ├── objectivec.js │ │ ├── ocaml.js │ │ ├── odin.js │ │ ├── partiql.js │ │ ├── pascal.js │ │ ├── perl.js │ │ ├── pgsql.js │ │ ├── php.js │ │ ├── php_laravel_blade.js │ │ ├── pig.js │ │ ├── plain_text.js │ │ ├── plsql.js │ │ ├── powershell.js │ │ ├── praat.js │ │ ├── prisma.js │ │ ├── prolog.js │ │ ├── properties.js │ │ ├── protobuf.js │ │ ├── prql.js │ │ ├── puppet.js │ │ ├── python.js │ │ ├── qml.js │ │ ├── r.js │ │ ├── raku.js │ │ ├── razor.js │ │ ├── rdoc.js │ │ ├── red.js │ │ ├── redshift.js │ │ ├── rhtml.js │ │ ├── robot.js │ │ ├── rst.js │ │ ├── ruby.js │ │ ├── rust.js │ │ ├── sac.js │ │ ├── sass.js │ │ ├── scad.js │ │ ├── scala.js │ │ ├── scheme.js │ │ ├── scrypt.js │ │ ├── scss.js │ │ ├── sh.js │ │ ├── sjs.js │ │ ├── slim.js │ │ ├── smarty.js │ │ ├── smithy.js │ │ ├── snippets.js │ │ ├── soy_template.js │ │ ├── space.js │ │ ├── sparql.js │ │ ├── sql.js │ │ ├── sqlserver.js │ │ ├── stylus.js │ │ ├── svg.js │ │ ├── swift.js │ │ ├── tcl.js │ │ ├── terraform.js │ │ ├── tex.js │ │ ├── text.js │ │ ├── textile.js │ │ ├── toml.js │ │ ├── tsx.js │ │ ├── turtle.js │ │ ├── twig.js │ │ ├── typescript.js │ │ ├── vala.js │ │ ├── vbscript.js │ │ ├── velocity.js │ │ ├── verilog.js │ │ ├── vhdl.js │ │ ├── visualforce.js │ │ ├── wollok.js │ │ ├── xml.js │ │ ├── xquery.js │ │ ├── yaml.js │ │ ├── zeek.js │ │ └── zig.js │ ├── theme-ambiance.js │ ├── theme-chaos.js │ ├── theme-chrome.js │ ├── theme-cloud9_day.js │ ├── theme-cloud9_night.js │ ├── theme-cloud9_night_low_color.js │ ├── theme-cloud_editor.js │ ├── theme-cloud_editor_dark.js │ ├── theme-clouds.js │ ├── theme-clouds_midnight.js │ ├── theme-cobalt.js │ ├── theme-crimson_editor.js │ ├── theme-dawn.js │ ├── theme-dracula.js │ ├── theme-dreamweaver.js │ ├── theme-eclipse.js │ ├── theme-github.js │ ├── theme-github_dark.js │ ├── theme-gob.js │ ├── theme-gruvbox.js │ ├── theme-gruvbox_dark_hard.js │ ├── theme-gruvbox_light_hard.js │ ├── theme-idle_fingers.js │ ├── theme-iplastic.js │ ├── theme-katzenmilch.js │ ├── theme-kr_theme.js │ ├── theme-kuroir.js │ ├── theme-merbivore.js │ ├── theme-merbivore_soft.js │ ├── theme-mono_industrial.js │ ├── theme-monokai.js │ ├── theme-nord_dark.js │ ├── theme-one_dark.js │ ├── theme-pastel_on_dark.js │ ├── theme-solarized_dark.js │ ├── theme-solarized_light.js │ ├── theme-sqlserver.js │ ├── theme-terminal.js │ ├── theme-textmate.js │ ├── theme-tomorrow.js │ ├── theme-tomorrow_night.js │ ├── theme-tomorrow_night_blue.js │ ├── theme-tomorrow_night_bright.js │ ├── theme-tomorrow_night_eighties.js │ ├── theme-twilight.js │ ├── theme-vibrant_ink.js │ ├── theme-xcode.js │ ├── worker-base.js │ ├── worker-coffee.js │ ├── worker-css.js │ ├── worker-html.js │ ├── worker-javascript.js │ ├── worker-json.js │ ├── worker-lua.js │ ├── worker-php.js │ ├── worker-xml.js │ ├── worker-xquery.js │ └── worker-yaml.js │ └── webpack-resolver.js ├── package.json ├── server ├── edit.js └── index.js ├── vendor └── emmet.js └── webpack.config.js /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "@babel/preset-env" 4 | ] 5 | } 6 | -------------------------------------------------------------------------------- /.bowerrc: -------------------------------------------------------------------------------- 1 | { 2 | "directory" : "modules", 3 | "strict-ssl": false 4 | } 5 | -------------------------------------------------------------------------------- /.browserslistrc: -------------------------------------------------------------------------------- 1 | last 2 Chrome versions 2 | last 2 Safari versions 3 | Firefox ESR 4 | not dead 5 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # This file is for unifying the coding style for different editors and IDEs 2 | # http://editorconfig.org 3 | 4 | # top-most EditorConfig file 5 | root = true 6 | 7 | # Unix-style newlines with a newline ending every file 8 | [*] 9 | charset = utf-8 10 | end_of_line = lf 11 | insert_final_newline = true 12 | trim_trailing_whitespace = true 13 | indent_style = space 14 | indent_size = 4 15 | -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = { 4 | extends: [ 5 | 'plugin:putout/recommended', 6 | ], 7 | plugins: [ 8 | 'putout', 9 | 'node', 10 | ], 11 | overrides: [{ 12 | files: ['bin/**/*.js'], 13 | rules: { 14 | 'no-console': 'off', 15 | }, 16 | extends: [ 17 | 'plugin:node/recommended', 18 | ], 19 | }, { 20 | files: ['client/**/*.js'], 21 | env: { 22 | browser: true, 23 | }, 24 | }], 25 | }; 26 | -------------------------------------------------------------------------------- /.github/main.workflow: -------------------------------------------------------------------------------- 1 | workflow "Push" { 2 | resolves = ["lint", "coverage"] 3 | on = "push" 4 | } 5 | 6 | action "lint" { 7 | uses = "gimenete/eslint-action@1.0" 8 | } 9 | 10 | action "coverage" { 11 | uses = "coverallsapp/github-action@v1.0.1" 12 | } 13 | -------------------------------------------------------------------------------- /.github/workflows/nodejs.yml: -------------------------------------------------------------------------------- 1 | name: Node CI 2 | on: 3 | - push 4 | - pull_request 5 | jobs: 6 | build: 7 | runs-on: ubuntu-latest 8 | strategy: 9 | matrix: 10 | node-version: 11 | - 18.x 12 | - 20.x 13 | - 21.x 14 | steps: 15 | - uses: actions/checkout@v4 16 | - uses: oven-sh/setup-bun@v1 17 | with: 18 | bun-version: latest 19 | - name: Use Node.js ${{ matrix.node-version }} 20 | uses: actions/setup-node@v4 21 | with: 22 | node-version: ${{ matrix.node-version }} 23 | - name: Install Redrun 24 | run: bun i redrun -g --no-save 25 | - name: Install 26 | run: bun i --no-save 27 | - name: Bootstrap 28 | run: redrun bootstrap 29 | - name: Lint 30 | run: redrun lint 31 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.swp 2 | node_modules 3 | npm-debug.log* 4 | package-lock.json 5 | 6 | dist 7 | dist-dev 8 | 9 | modules/ace-builds/src-min-noconflict 10 | modules/ace-builds/src-noconflict 11 | modules/ace-builds/src 12 | 13 | modules/load 14 | modules/execon 15 | 16 | modules/pako/dist 17 | !modules/pako/dist/paco.min.js 18 | 19 | yarn-error.log 20 | 21 | coverage 22 | .idea 23 | -------------------------------------------------------------------------------- /.madrun.mjs: -------------------------------------------------------------------------------- 1 | import {run} from 'madrun'; 2 | 3 | export default { 4 | 'start': () => 'node bin/edward package.json', 5 | 'start:dev': async () => `NODE_ENV=development ${await run('start')}`, 6 | 'lint': () => 'putout .', 7 | 'fresh:lint': () => run('lint', '--fresh'), 8 | 'lint:fresh': () => run('lint', '--fresh'), 9 | 'fix:lint': () => run('lint', '--fix'), 10 | 'watch:server': () => run('watcher', 'bin/edward.js package.json'), 11 | 'build': () => run('build:client*'), 12 | 'build:start': () => run(['build:client', 'start']), 13 | 'build:start:dev': () => run(['build:client:dev', 'start:dev']), 14 | 'prebuild': () => 'rimraf dist*', 15 | 'build-progress': () => 'webpack --progress', 16 | 'build:client': () => run('build-progress', '--mode production'), 17 | 'build:client:dev': async () => `NODE_ENV=development ${await run('build-progress')} --mode development`, 18 | 'watcher': () => 'nodemon -w client -w server --exec', 19 | 'watch:lint': async () => await run('watcher', await run('lint')), 20 | 'watch:client': () => run('build:client', '--watch'), 21 | 'watch:client:dev': () => run('build:client:dev', '--watch'), 22 | 'wisdom': () => run('build'), 23 | }; 24 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | .* 2 | !.jshintrc 3 | webpack.config.js 4 | bower.json 5 | 6 | modules/load 7 | modules/execon 8 | modules/ace-builds 9 | !modules/ace-builds/src-min 10 | 11 | yarn-error.log 12 | 13 | 14 | coverage 15 | -------------------------------------------------------------------------------- /.putout.json: -------------------------------------------------------------------------------- 1 | { 2 | "match": { 3 | "client": { 4 | "nodejs": "off" 5 | }, 6 | "client/edward.js": { 7 | "remove-console": "off" 8 | } 9 | }, 10 | "ignore": [ 11 | "modules", 12 | "vendor" 13 | ] 14 | } 15 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015-2018 Coderaiser 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /assets/font/DroidSansMono.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/assets/font/DroidSansMono.eot -------------------------------------------------------------------------------- /assets/font/DroidSansMono.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/assets/font/DroidSansMono.woff -------------------------------------------------------------------------------- /assets/font/DroidSansMono.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/assets/font/DroidSansMono.woff2 -------------------------------------------------------------------------------- /assets/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Edward 5 | 6 | 7 | 8 |
9 | 10 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /assets/style.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'Droid Sans Mono'; 3 | src: url(https://themes.googleusercontent.com/static/fonts/droidsansmono/v5/ns-m2xQYezAtqh7ai59hJTwtzT4qNq-faudv5qbO9-U.eot); 4 | src: 5 | local('Droid Sans Mono'), 6 | local('DroidSansMono'), 7 | url(/font/DroidSansMono.eot) format('embedded-opentype'), 8 | url(https://themes.googleusercontent.com/static/fonts/droidsansmono/v5/ns-m2xQYezAtqh7ai59hJTwtzT4qNq-faudv5qbO9-U.eot?#iefix) 9 | format('embedded-opentype'), 10 | url(https://themes.googleusercontent.com/static/fonts/droidsansmono/v5/ns-m2xQYezAtqh7ai59hJTwtzT4qNq-faudv5qbO9-U.eot) 11 | format('embedded-opentype'), 12 | url(/font/DroidSansMono.woff2) format('woff2'), 13 | url(/font/DroidSansMono.woff) format('woff'), 14 | url(https://themes.googleusercontent.com/static/fonts/droidsansmono/v5/ns-m2xQYezAtqh7ai59hJUYuTAAIFFn5GTWtryCmBQ4.woff) 15 | format('woff'), 16 | local('Consolas'); 17 | font-style: normal; 18 | font-weight: 400; 19 | } 20 | 21 | html, 22 | body, 23 | .edit { 24 | width: 100%; 25 | height: 100%; 26 | margin: 0; 27 | } 28 | 29 | .edit { 30 | position: absolute; 31 | inset: 0; 32 | } 33 | -------------------------------------------------------------------------------- /bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "edward", 3 | "homepage": "https://github.com/cloudcmd/edward", 4 | "authors": [ 5 | "coderaiser " 6 | ], 7 | "description": "web editor", 8 | "main": "bin/edward.js", 9 | "keywords": [ 10 | "file", 11 | "edit" 12 | ], 13 | "license": "MIT", 14 | "private": true, 15 | "ignore": [ 16 | "node_modules", 17 | "modules" 18 | ], 19 | "dependencies": { 20 | "ace-builds": "^1.32.5" 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /client/_clipboard.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const clipboard = require('@cloudcmd/clipboard'); 4 | const createElement = require('@cloudcmd/create-element'); 5 | 6 | const showMessage = require('./show-message'); 7 | const once = require('once'); 8 | const showMessageOnce = once(showMessage); 9 | 10 | const resolve = Promise.resolve.bind(Promise); 11 | const reject = Promise.reject.bind(Promise); 12 | 13 | module.exports = function(cmd) { 14 | const NAME = 'editor-clipboard'; 15 | const {_Ace, _story} = this; 16 | 17 | const insert = _Ace.insert.bind(_Ace); 18 | const value = this._Ace.getSelectedText(); 19 | 20 | if (cmd === 'copy') { 21 | _story.setData(NAME, value); 22 | return clipboard.writeText(value); 23 | } 24 | 25 | if (cmd === 'cut') { 26 | _story.setData(NAME, value); 27 | return cut(_story, value) ? resolve() : reject(); 28 | } 29 | 30 | return clipboard 31 | .readText() 32 | .then(insert) 33 | .catch(() => { 34 | showMessageOnce('Could not paste from clipboard. Inner buffer used.'); 35 | 36 | const value = _story.getData(NAME); 37 | 38 | insert(value); 39 | }); 40 | }; 41 | 42 | function cut(story, value) { 43 | const textarea = createElement('textarea', { 44 | value, 45 | }); 46 | 47 | textarea.select(); 48 | const result = document.execCommand('cut'); 49 | 50 | document.body.removeChild(textarea); 51 | 52 | return result; 53 | } 54 | -------------------------------------------------------------------------------- /client/_init-socket.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /* global io */ 4 | const {applyPatch} = require('daffy'); 5 | const {alert} = require('smalltalk'); 6 | 7 | const getHost = () => { 8 | const l = location; 9 | 10 | return l.origin || l.protocol + '//' + l.host; 11 | }; 12 | 13 | module.exports = function() { 14 | const edward = this; 15 | const href = getHost(); 16 | const FIVE_SECONDS = 5000; 17 | 18 | const patch = (name, data) => { 19 | socket.emit('patch', name, data); 20 | }; 21 | 22 | const socket = io.connect(href + this._prefixSocket, { 23 | 'max reconnection attempts': 2 ** 32, 24 | 'reconnection limit': FIVE_SECONDS, 25 | 'path': this._SOCKET_PATH + '/socket.io', 26 | }); 27 | 28 | this._socket = socket; 29 | 30 | socket.on('reject', () => { 31 | this.emit('reject'); 32 | }); 33 | 34 | socket.on('connect', () => { 35 | edward._patch = patch; 36 | }); 37 | 38 | socket.on('message', (msg) => { 39 | this._onSave(null, msg); 40 | }); 41 | 42 | socket.on('file', (name, data) => { 43 | edward 44 | .setModeForPath(name) 45 | .setValueFirst(name, data) 46 | .moveCursorTo(0, 0); 47 | }); 48 | 49 | socket.on('patch', (name, data, hash) => { 50 | if (name !== this._filename) 51 | return; 52 | 53 | if (hash !== this._story.getHash(name)) 54 | return; 55 | 56 | const cursor = edward.getCursor(); 57 | const value = edward.getValue(); 58 | const result = applyPatch(value, data); 59 | 60 | this.setValue(result); 61 | 62 | this 63 | ._story 64 | .setData(name, value) 65 | .setHash(name, this.sha()); 66 | 67 | edward.moveCursorTo(cursor.row, cursor.column); 68 | }); 69 | 70 | socket.on('disconnect', () => { 71 | edward.save._patch = self._patchHttp; 72 | }); 73 | 74 | socket.on('err', (error) => { 75 | alert(this._TITLE, error); 76 | }); 77 | }; 78 | -------------------------------------------------------------------------------- /client/_on-save.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const {confirm} = require('smalltalk'); 4 | const tryToCatch = require('try-to-catch'); 5 | const {promisify} = require('es6-promisify'); 6 | const write = promisify(require('restafary/client').write); 7 | 8 | module.exports = async function(error, text) { 9 | const edward = this; 10 | 11 | const { 12 | _value, 13 | _filename, 14 | _title, 15 | } = edward; 16 | 17 | let msg = 'Try again?'; 18 | 19 | if (error) { 20 | if (error.message) 21 | msg = error.message + '\n' + msg; 22 | else 23 | msg = `Can't save.` + msg; 24 | 25 | const [cancel] = await tryToCatch(confirm, _title, msg); 26 | 27 | if (!cancel) { 28 | const [error, text] = await tryToCatch(write, _filename, this._value); 29 | return this._onSave(error, text); 30 | } 31 | 32 | edward.focus(); 33 | } 34 | 35 | edward.showMessage(text); 36 | 37 | const hash = edward.sha(); 38 | this 39 | ._story 40 | .setData(_filename, _value) 41 | .setHash(_filename, hash); 42 | 43 | this._Emitter.emit('save', _value.length); 44 | }; 45 | -------------------------------------------------------------------------------- /client/_set-emmet.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const exec = require('execon'); 4 | const load = require('load.js'); 5 | 6 | /* global ace */ 7 | /* global join */ 8 | module.exports = function() { 9 | const {_DIR, _PREFIX} = this; 10 | 11 | const dir = `${_DIR}ace-builds/src-min/`; 12 | const dirVendor = '/vendor/'; 13 | 14 | const {extensions} = this._Config; 15 | const isEmmet = extensions.emmet; 16 | 17 | if (!isEmmet) 18 | return; 19 | 20 | exec.if(this._Emmet, () => { 21 | this.setOption('enableEmmet', true); 22 | }, async (callback) => { 23 | const url = _PREFIX + join([ 24 | `${dirVendor}emmet.js`, 25 | `${dir}ext-emmet.js`, 26 | ]); 27 | 28 | await load.js(url); 29 | 30 | this._Emmet = ace.require('ace/ext/emmet'); 31 | this._Emmet.setCore(window.emmet); 32 | 33 | callback(); 34 | }); 35 | }; 36 | -------------------------------------------------------------------------------- /client/save.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const isString = (a) => typeof a === 'string'; 4 | const wraptile = require('wraptile'); 5 | const {promisify} = require('es6-promisify'); 6 | const zipio = promisify(require('zipio')); 7 | 8 | const setValue = wraptile(_setValue); 9 | 10 | module.exports = function() { 11 | save 12 | .call(this) 13 | .then(setValue(this)) 14 | .catch(this._onSave.bind(this)); 15 | 16 | return this; 17 | }; 18 | 19 | async function save() { 20 | const value = this.getValue(); 21 | const {length} = value; 22 | const {_filename, _maxSize} = this; 23 | 24 | const {diff, zip} = await this._loadOptions(); 25 | 26 | if (diff) { 27 | const patch = await this._doDiff(_filename); 28 | const isPatch = checkPatch(length, _maxSize, patch); 29 | 30 | if (isPatch) 31 | return this._patch(_filename, patch); 32 | } 33 | 34 | if (!zip) 35 | return this._write(_filename, value); 36 | 37 | const zipedValue = await zipio(value); 38 | 39 | return this._write(`${_filename}?unzip`, zipedValue); 40 | } 41 | 42 | function _setValue(ctx) { 43 | ctx._value = ctx.getValue(); 44 | } 45 | 46 | function checkPatch(length, maxSize, patch) { 47 | const patchLength = patch?.length || 0; 48 | const isLessMaxLength = length < maxSize; 49 | const isLessLength = isLessMaxLength && patchLength < length; 50 | const isStr = isString(patch); 51 | 52 | return patch && isStr && isLessLength; 53 | } 54 | -------------------------------------------------------------------------------- /client/set-key-map.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /* global ace */ 4 | module.exports = function(keyMap) { 5 | if (keyMap === 'default') 6 | return this._Ace.setKeyboardHandler('ace/keyboard/hash_handler'); 7 | 8 | if (keyMap === 'vim') 9 | ace.config.loadModule('ace/keybinding/vim', () => { 10 | const {CodeMirror} = ace.require('ace/keyboard/vim'); 11 | const {Vim} = CodeMirror; 12 | 13 | Vim.defineEx('write', 'w', this.save.bind(this)); 14 | 15 | this._Ace.setOption('keyboardHandler', 'vim'); 16 | this._Ace.setKeyboardHandler(`ace/keyboard/${keyMap}`); 17 | }); 18 | }; 19 | -------------------------------------------------------------------------------- /client/show-message.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | function createMsg() { 4 | const wrapper = document.createElement('div'); 5 | 6 | wrapper.innerHTML = '
/div>'; 7 | 8 | return wrapper.firstChild; 9 | } 10 | 11 | module.exports = showMessage; 12 | 13 | function showMessage(text) { 14 | const HIDE_TIME = 2000; 15 | 16 | if (!this._ElementMsg) { 17 | this._ElementMsg = createMsg(); 18 | this._Element.appendChild(this._ElementMsg); 19 | } 20 | 21 | this._ElementMsg.textContent = text; 22 | this._ElementMsg.hidden = false; 23 | 24 | setTimeout(() => { 25 | this._ElementMsg.hidden = true; 26 | }, HIDE_TIME); 27 | 28 | return this; 29 | } 30 | -------------------------------------------------------------------------------- /client/story.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const {promisify} = require('es6-promisify'); 4 | const restafary = require('restafary/client'); 5 | 6 | module.exports = Story; 7 | 8 | function Story() { 9 | if (!(this instanceof Story)) 10 | return new Story(); 11 | } 12 | 13 | Story.prototype.checkHash = async function(name) { 14 | const loadHash = await this.loadHash(name); 15 | const nameHash = `${name}-hash`; 16 | const storeHash = localStorage.getItem(nameHash); 17 | 18 | return loadHash === storeHash; 19 | }; 20 | 21 | Story.prototype.loadHash = promisify(function(name, callback) { 22 | const query = '?hash'; 23 | 24 | restafary.read(name + query, callback); 25 | 26 | return this; 27 | }); 28 | 29 | Story.prototype.setData = function(name, data) { 30 | const nameData = `${name}-data`; 31 | 32 | localStorage.setItem(nameData, data); 33 | 34 | return this; 35 | }; 36 | 37 | Story.prototype.setHash = function(name, hash) { 38 | const nameHash = `${name}-hash`; 39 | 40 | localStorage.setItem(nameHash, hash); 41 | 42 | return this; 43 | }; 44 | 45 | Story.prototype.getData = function(name) { 46 | const nameData = `${name}-data`; 47 | const data = localStorage.getItem(nameData); 48 | 49 | return data || ''; 50 | }; 51 | 52 | Story.prototype.getHash = function(name) { 53 | const item = `${name}-hash`; 54 | const data = localStorage.getItem(item); 55 | 56 | return data || ''; 57 | }; 58 | -------------------------------------------------------------------------------- /css/edward.css: -------------------------------------------------------------------------------- 1 | .edward-msg { 2 | z-index: 1; 3 | background-color: #7285b7; 4 | color: #d1f1a9; 5 | position: fixed; 6 | left: 40%; 7 | top: 25px; 8 | padding: 5px; 9 | opacity: 0.9; 10 | transition: ease 0.5s; 11 | } 12 | -------------------------------------------------------------------------------- /img/edward.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/img/edward.png -------------------------------------------------------------------------------- /json/bin.json: -------------------------------------------------------------------------------- 1 | { 2 | "-h, --help ": "display this help and exit", 3 | "-v, --version ": "output version information and exit" 4 | } 5 | -------------------------------------------------------------------------------- /json/edit.json: -------------------------------------------------------------------------------- 1 | { 2 | "options": { 3 | "theme": "ace/theme/tomorrow_night_blue", 4 | "wrap": "free", 5 | "tabSize": 4, 6 | "keyMap": "default", 7 | "fontSize": 16, 8 | "useSoftTabs": true, 9 | "showInvisibles": true, 10 | "enableSnippets": false, 11 | "showPrintMargin": false, 12 | "enableBasicAutocompletion": true 13 | }, 14 | "extensions": { 15 | "emmet": false 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /json/ext.json: -------------------------------------------------------------------------------- 1 | { 2 | "ini": [ 3 | ".editorconfig" 4 | ], 5 | "json": [ 6 | ".eslintrc", 7 | ".jshintrc", 8 | ".yaspellerrc", 9 | ".jscsrc", 10 | ".babelrc", 11 | ".bowerrc" 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /json/modules.json: -------------------------------------------------------------------------------- 1 | [{ 2 | "name": "socket", 3 | "version": "4.1.3", 4 | "local": "/socket.io/socket.io.js", 5 | "remote": "https://cdnjs.cloudflare.com/ajax/libs/socket.io/{{ version }}/socket.io.js" 6 | }, { 7 | "name": "ace", 8 | "version": "1.32.5", 9 | "local": "/modules/ace-builds/src-min/ace.js", 10 | "remote": "//cdnjs.cloudflare.com/ajax/libs/ace/{{ version }}/ace.js" 11 | }, { 12 | "name": "pako", 13 | "version": "1.0.3", 14 | "local": "/modules/pako/dist/pako.min.js", 15 | "remote": "//cdnjs.cloudflare.com/ajax/libs/pako/{{ version }}/pako.min.js" 16 | }] 17 | -------------------------------------------------------------------------------- /modules/ace-builds/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ace-builds", 3 | "description": "Ace (Ajax.org Cloud9 Editor)", 4 | "scripts": { 5 | "test": "echo \"Error: no test specified\" && exit 1" 6 | }, 7 | "ignore": [ 8 | "demo" 9 | ], 10 | "repository": { 11 | "type": "git", 12 | "url": "https://github.com/ajaxorg/ace-builds.git" 13 | }, 14 | "author": "", 15 | "license": "BSD", 16 | "bugs": { 17 | "url": "https://github.com/ajaxorg/ace-builds/issues" 18 | }, 19 | "homepage": "https://github.com/ajaxorg/ace-builds", 20 | "version": "1.32.5", 21 | "_release": "1.32.5", 22 | "_resolution": { 23 | "type": "version", 24 | "tag": "v1.32.5", 25 | "commit": "6f628d58adfa14c373be993474afe8a4abb0c69b" 26 | }, 27 | "_source": "https://github.com/ajaxorg/ace-builds.git", 28 | "_target": "^1.32.5", 29 | "_originalSource": "ace-builds", 30 | "_direct": true 31 | } -------------------------------------------------------------------------------- /modules/ace-builds/.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | 5 | 6 | *Issue #, if available:* 7 | 8 | *Description of changes:* 9 | 10 | 11 | By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice. 12 | -------------------------------------------------------------------------------- /modules/ace-builds/.github/workflows/publish.yml: -------------------------------------------------------------------------------- 1 | # This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node 2 | # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions 3 | 4 | name: Publish to NPM 5 | on: 6 | push: 7 | tags: 8 | - v* 9 | jobs: 10 | build: 11 | runs-on: ubuntu-latest 12 | steps: 13 | - uses: actions/checkout@v2 14 | # Setup .npmrc file to publish to npm 15 | - uses: actions/setup-node@v1 16 | with: 17 | node-version: '12.x' 18 | registry-url: 'https://registry.npmjs.org' 19 | - run: node -p "json=require('./package.json');if (json.dependencies || json.devDependencies) throw new Error()" 20 | - run: node -p "window={}; require('./src-noconflict/ace.js').config.all" 21 | - run: | 22 | # echo testing themes 23 | for dir in src*; do 24 | for theme in $dir/theme-*; do 25 | node -e 'window = global;require("./'$dir'/ace.js"); 26 | var theme = require("'./$theme'"); 27 | if (!theme.cssClass || !theme.cssText) { 28 | throw new Error("Broken theme ./'$theme'") 29 | } ' 30 | done 31 | done 32 | - run: npm publish 33 | env: 34 | NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} -------------------------------------------------------------------------------- /modules/ace-builds/.nojekyll: -------------------------------------------------------------------------------- 1 | disable jekyll on gh-pages 2 | -------------------------------------------------------------------------------- /modules/ace-builds/.npmignore: -------------------------------------------------------------------------------- 1 | demo/ 2 | kitchen-sink.html 3 | * * -------------------------------------------------------------------------------- /modules/ace-builds/CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | ## Code of Conduct 2 | This project has adopted the [Amazon Open Source Code of Conduct](https://aws.github.io/code-of-conduct). 3 | For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq) or contact 4 | opensource-codeofconduct@amazon.com with any additional questions or comments. 5 | -------------------------------------------------------------------------------- /modules/ace-builds/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2010, Ajax.org B.V. 2 | All rights reserved. 3 | 4 | Redistribution and use in source and binary forms, with or without 5 | modification, are permitted provided that the following conditions are met: 6 | * Redistributions of source code must retain the above copyright 7 | notice, this list of conditions and the following disclaimer. 8 | * Redistributions in binary form must reproduce the above copyright 9 | notice, this list of conditions and the following disclaimer in the 10 | documentation and/or other materials provided with the distribution. 11 | * Neither the name of Ajax.org B.V. nor the 12 | names of its contributors may be used to endorse or promote products 13 | derived from this software without specific prior written permission. 14 | 15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 16 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 17 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 18 | DISCLAIMED. IN NO EVENT SHALL AJAX.ORG B.V. BE LIABLE FOR ANY 19 | DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 20 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 21 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 22 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 24 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 | -------------------------------------------------------------------------------- /modules/ace-builds/README.md: -------------------------------------------------------------------------------- 1 | Ace (Ajax.org Cloud9 Editor) 2 | ============================ 3 | [![CDNJS](https://img.shields.io/cdnjs/v/ace.svg)](https://cdnjs.com/libraries/ace) 4 | [![npm](https://img.shields.io/npm/v/ace-builds.svg)](https://www.npmjs.com/package/ace-builds) 5 | 6 | Ace is a code editor written in JavaScript. 7 | 8 | --- 9 | 10 | ### ❗ISSUES ARE DISABLED IN THIS REPOSITORY❗ 11 | 12 | This repository has only generated files. To report your issues, suggest features, ask questions, or work on Ace editor itself please go to Ace repository https://github.com/ajaxorg/ace. 13 | 14 | --- 15 | 16 | 17 | Here you can find pre-built files for convenience of embedding. It contains 4 versions: 18 | * [src](https://github.com/ajaxorg/ace-builds/tree/master/src) concatenated but not minified 19 | * [src-min](https://github.com/ajaxorg/ace-builds/tree/master/src-min) concatenated and minified with uglify.js 20 | * [src-noconflict](https://github.com/ajaxorg/ace-builds/tree/master/src-noconflict) uses ace.require instead of require 21 | * [src-min-noconflict](https://github.com/ajaxorg/ace-builds/tree/master/src-min-noconflict) concatenated, minified with uglify.js, and uses ace.require instead of require 22 | 23 | 24 | For a simple way of embedding ace into webpage see [editor.html](https://github.com/ajaxorg/ace-builds/blob/master/editor.html) or list of other [simple examples](https://github.com/ajaxorg/ace-builds/tree/master/demo). 25 | To see ace in action go to [kitchen-sink-demo](http://ajaxorg.github.io/ace-builds/kitchen-sink.html), [scrollable-page-demo](http://ajaxorg.github.io/ace-builds/demo/scrollable-page.html) or [minimal demo](http://ajaxorg.github.io/ace-builds/editor.html). 26 | 27 | 28 | -------------------------------------------------------------------------------- /modules/ace-builds/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ace-builds", 3 | "description": "Ace (Ajax.org Cloud9 Editor)", 4 | "scripts": { 5 | "test": "echo \"Error: no test specified\" && exit 1" 6 | }, 7 | "ignore": [ 8 | "demo" 9 | ], 10 | "repository": { 11 | "type": "git", 12 | "url": "https://github.com/ajaxorg/ace-builds.git" 13 | }, 14 | "author": "", 15 | "license": "BSD", 16 | "bugs": { 17 | "url": "https://github.com/ajaxorg/ace-builds/issues" 18 | }, 19 | "homepage": "https://github.com/ajaxorg/ace-builds" 20 | } 21 | -------------------------------------------------------------------------------- /modules/ace-builds/css/ambiance-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/ambiance-1.png -------------------------------------------------------------------------------- /modules/ace-builds/css/ambiance-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/ambiance-2.png -------------------------------------------------------------------------------- /modules/ace-builds/css/ambiance-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/ambiance-3.png -------------------------------------------------------------------------------- /modules/ace-builds/css/chrome-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/chrome-1.png -------------------------------------------------------------------------------- /modules/ace-builds/css/chrome-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/chrome-2.png -------------------------------------------------------------------------------- /modules/ace-builds/css/cloud9_day-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/cloud9_day-1.png -------------------------------------------------------------------------------- /modules/ace-builds/css/cloud9_day-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/cloud9_day-2.png -------------------------------------------------------------------------------- /modules/ace-builds/css/cloud9_night-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/cloud9_night-1.png -------------------------------------------------------------------------------- /modules/ace-builds/css/cloud9_night-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/cloud9_night-2.png -------------------------------------------------------------------------------- /modules/ace-builds/css/cloud9_night_low_color-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/cloud9_night_low_color-1.png -------------------------------------------------------------------------------- /modules/ace-builds/css/cloud9_night_low_color-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/cloud9_night_low_color-2.png -------------------------------------------------------------------------------- /modules/ace-builds/css/clouds-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/clouds-1.png -------------------------------------------------------------------------------- /modules/ace-builds/css/clouds-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/clouds-2.png -------------------------------------------------------------------------------- /modules/ace-builds/css/clouds_midnight-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/clouds_midnight-1.png -------------------------------------------------------------------------------- /modules/ace-builds/css/clouds_midnight-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/clouds_midnight-2.png -------------------------------------------------------------------------------- /modules/ace-builds/css/cobalt-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/cobalt-1.png -------------------------------------------------------------------------------- /modules/ace-builds/css/cobalt-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/cobalt-2.png -------------------------------------------------------------------------------- /modules/ace-builds/css/crimson_editor-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/crimson_editor-1.png -------------------------------------------------------------------------------- /modules/ace-builds/css/crimson_editor-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/crimson_editor-2.png -------------------------------------------------------------------------------- /modules/ace-builds/css/dawn-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/dawn-1.png -------------------------------------------------------------------------------- /modules/ace-builds/css/dawn-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/dawn-2.png -------------------------------------------------------------------------------- /modules/ace-builds/css/dracula-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/dracula-1.png -------------------------------------------------------------------------------- /modules/ace-builds/css/dracula-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/dracula-2.png -------------------------------------------------------------------------------- /modules/ace-builds/css/dreamweaver-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/dreamweaver-1.png -------------------------------------------------------------------------------- /modules/ace-builds/css/dreamweaver-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/dreamweaver-2.png -------------------------------------------------------------------------------- /modules/ace-builds/css/eclipse-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/eclipse-1.png -------------------------------------------------------------------------------- /modules/ace-builds/css/eclipse-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/eclipse-2.png -------------------------------------------------------------------------------- /modules/ace-builds/css/github-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/github-1.png -------------------------------------------------------------------------------- /modules/ace-builds/css/github-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/github-2.png -------------------------------------------------------------------------------- /modules/ace-builds/css/github_dark-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/github_dark-1.png -------------------------------------------------------------------------------- /modules/ace-builds/css/github_dark-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/github_dark-2.png -------------------------------------------------------------------------------- /modules/ace-builds/css/gob-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/gob-1.png -------------------------------------------------------------------------------- /modules/ace-builds/css/gob-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/gob-2.png -------------------------------------------------------------------------------- /modules/ace-builds/css/gruvbox-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/gruvbox-1.png -------------------------------------------------------------------------------- /modules/ace-builds/css/gruvbox-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/gruvbox-2.png -------------------------------------------------------------------------------- /modules/ace-builds/css/gruvbox_dark_hard-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/gruvbox_dark_hard-1.png -------------------------------------------------------------------------------- /modules/ace-builds/css/gruvbox_light_hard-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/gruvbox_light_hard-1.png -------------------------------------------------------------------------------- /modules/ace-builds/css/gruvbox_light_hard-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/gruvbox_light_hard-2.png -------------------------------------------------------------------------------- /modules/ace-builds/css/idle_fingers-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/idle_fingers-1.png -------------------------------------------------------------------------------- /modules/ace-builds/css/idle_fingers-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/idle_fingers-2.png -------------------------------------------------------------------------------- /modules/ace-builds/css/iplastic-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/iplastic-1.png -------------------------------------------------------------------------------- /modules/ace-builds/css/iplastic-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/iplastic-2.png -------------------------------------------------------------------------------- /modules/ace-builds/css/iplastic-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/iplastic-3.png -------------------------------------------------------------------------------- /modules/ace-builds/css/katzenmilch-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/katzenmilch-1.png -------------------------------------------------------------------------------- /modules/ace-builds/css/katzenmilch-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/katzenmilch-2.png -------------------------------------------------------------------------------- /modules/ace-builds/css/kr_theme-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/kr_theme-1.png -------------------------------------------------------------------------------- /modules/ace-builds/css/kr_theme-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/kr_theme-2.png -------------------------------------------------------------------------------- /modules/ace-builds/css/kuroir-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/kuroir-1.png -------------------------------------------------------------------------------- /modules/ace-builds/css/kuroir-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/kuroir-2.png -------------------------------------------------------------------------------- /modules/ace-builds/css/main-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/main-1.png -------------------------------------------------------------------------------- /modules/ace-builds/css/main-10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/main-10.png -------------------------------------------------------------------------------- /modules/ace-builds/css/main-11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/main-11.png -------------------------------------------------------------------------------- /modules/ace-builds/css/main-12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/main-12.png -------------------------------------------------------------------------------- /modules/ace-builds/css/main-13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/main-13.png -------------------------------------------------------------------------------- /modules/ace-builds/css/main-14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/main-14.png -------------------------------------------------------------------------------- /modules/ace-builds/css/main-15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/main-15.png -------------------------------------------------------------------------------- /modules/ace-builds/css/main-16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/main-16.png -------------------------------------------------------------------------------- /modules/ace-builds/css/main-17.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/main-17.png -------------------------------------------------------------------------------- /modules/ace-builds/css/main-18.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/main-18.png -------------------------------------------------------------------------------- /modules/ace-builds/css/main-19.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/main-19.png -------------------------------------------------------------------------------- /modules/ace-builds/css/main-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/main-2.png -------------------------------------------------------------------------------- /modules/ace-builds/css/main-20.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/main-20.png -------------------------------------------------------------------------------- /modules/ace-builds/css/main-21.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/main-21.png -------------------------------------------------------------------------------- /modules/ace-builds/css/main-22.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/main-22.png -------------------------------------------------------------------------------- /modules/ace-builds/css/main-22.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/ace-builds/css/main-23.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/main-23.png -------------------------------------------------------------------------------- /modules/ace-builds/css/main-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/main-3.png -------------------------------------------------------------------------------- /modules/ace-builds/css/main-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/main-4.png -------------------------------------------------------------------------------- /modules/ace-builds/css/main-5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/main-5.png -------------------------------------------------------------------------------- /modules/ace-builds/css/main-5.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /modules/ace-builds/css/main-6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/main-6.png -------------------------------------------------------------------------------- /modules/ace-builds/css/main-6.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /modules/ace-builds/css/main-7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/main-7.png -------------------------------------------------------------------------------- /modules/ace-builds/css/main-7.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /modules/ace-builds/css/main-8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/main-8.png -------------------------------------------------------------------------------- /modules/ace-builds/css/main-8.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /modules/ace-builds/css/main-9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/main-9.png -------------------------------------------------------------------------------- /modules/ace-builds/css/main-9.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /modules/ace-builds/css/merbivore-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/merbivore-1.png -------------------------------------------------------------------------------- /modules/ace-builds/css/merbivore-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/merbivore-2.png -------------------------------------------------------------------------------- /modules/ace-builds/css/merbivore_soft-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/merbivore_soft-1.png -------------------------------------------------------------------------------- /modules/ace-builds/css/merbivore_soft-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/merbivore_soft-2.png -------------------------------------------------------------------------------- /modules/ace-builds/css/mono_industrial-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/mono_industrial-1.png -------------------------------------------------------------------------------- /modules/ace-builds/css/mono_industrial-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/mono_industrial-2.png -------------------------------------------------------------------------------- /modules/ace-builds/css/monokai-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/monokai-1.png -------------------------------------------------------------------------------- /modules/ace-builds/css/monokai-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/monokai-2.png -------------------------------------------------------------------------------- /modules/ace-builds/css/one_dark-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/one_dark-1.png -------------------------------------------------------------------------------- /modules/ace-builds/css/one_dark-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/one_dark-2.png -------------------------------------------------------------------------------- /modules/ace-builds/css/pastel_on_dark-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/pastel_on_dark-1.png -------------------------------------------------------------------------------- /modules/ace-builds/css/pastel_on_dark-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/pastel_on_dark-2.png -------------------------------------------------------------------------------- /modules/ace-builds/css/solarized_dark-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/solarized_dark-1.png -------------------------------------------------------------------------------- /modules/ace-builds/css/solarized_dark-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/solarized_dark-2.png -------------------------------------------------------------------------------- /modules/ace-builds/css/solarized_light-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/solarized_light-1.png -------------------------------------------------------------------------------- /modules/ace-builds/css/solarized_light-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/solarized_light-2.png -------------------------------------------------------------------------------- /modules/ace-builds/css/sqlserver-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/sqlserver-1.png -------------------------------------------------------------------------------- /modules/ace-builds/css/sqlserver-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/sqlserver-2.png -------------------------------------------------------------------------------- /modules/ace-builds/css/terminal-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/terminal-1.png -------------------------------------------------------------------------------- /modules/ace-builds/css/terminal-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/terminal-2.png -------------------------------------------------------------------------------- /modules/ace-builds/css/textmate-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/textmate-1.png -------------------------------------------------------------------------------- /modules/ace-builds/css/textmate-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/textmate-2.png -------------------------------------------------------------------------------- /modules/ace-builds/css/theme/gruvbox.css: -------------------------------------------------------------------------------- 1 | .ace-gruvbox .ace_gutter-active-line { 2 | background-color: #3C3836; 3 | } 4 | 5 | .ace-gruvbox { 6 | color: #EBDAB4; 7 | background-color: #1D2021; 8 | } 9 | 10 | .ace-gruvbox .ace_invisible { 11 | color: #504945; 12 | } 13 | 14 | .ace-gruvbox .ace_marker-layer .ace_selection { 15 | background: rgba(179, 101, 57, 0.75) 16 | } 17 | 18 | .ace-gruvbox.ace_multiselect .ace_selection.ace_start { 19 | box-shadow: 0 0 3px 0px #002240; 20 | } 21 | 22 | .ace-gruvbox .ace_keyword { 23 | color: #8ec07c; 24 | } 25 | 26 | .ace-gruvbox .ace_comment { 27 | font-style: italic; 28 | color: #928375; 29 | } 30 | 31 | .ace-gruvbox .ace-statement { 32 | color: red; 33 | } 34 | 35 | .ace-gruvbox .ace_variable { 36 | color: #84A598; 37 | } 38 | 39 | .ace-gruvbox .ace_variable.ace_language { 40 | color: #D2879B; 41 | } 42 | 43 | .ace-gruvbox .ace_constant { 44 | color: #C2859A; 45 | } 46 | 47 | .ace-gruvbox .ace_constant.ace_language { 48 | color: #C2859A; 49 | } 50 | 51 | .ace-gruvbox .ace_constant.ace_numeric { 52 | color: #C2859A; 53 | } 54 | 55 | .ace-gruvbox .ace_string { 56 | color: #B8BA37; 57 | } 58 | 59 | .ace-gruvbox .ace_support { 60 | color: #F9BC41; 61 | } 62 | 63 | .ace-gruvbox .ace_support.ace_function { 64 | color: #F84B3C; 65 | } 66 | 67 | .ace-gruvbox .ace_storage { 68 | color: #8FBF7F; 69 | } 70 | 71 | .ace-gruvbox .ace_keyword.ace_operator { 72 | color: #EBDAB4; 73 | } 74 | 75 | .ace-gruvbox .ace_punctuation.ace_operator { 76 | color: yellow; 77 | } 78 | 79 | .ace-gruvbox .ace_marker-layer .ace_active-line { 80 | background: #3C3836; 81 | } 82 | 83 | .ace-gruvbox .ace_marker-layer .ace_selected-word { 84 | border-radius: 4px; 85 | border: 8px solid #3f475d; 86 | } 87 | 88 | .ace-gruvbox .ace_print-margin { 89 | width: 5px; 90 | background: #3C3836; 91 | } 92 | 93 | .ace-gruvbox .ace_indent-guide { 94 | background: url("../gruvbox-1.png") right repeat-y; 95 | } 96 | 97 | .ace-gruvbox .ace_indent-guide-active { 98 | background: url("../gruvbox-2.png") right repeat-y; 99 | } 100 | -------------------------------------------------------------------------------- /modules/ace-builds/css/tomorrow-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/tomorrow-1.png -------------------------------------------------------------------------------- /modules/ace-builds/css/tomorrow-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/tomorrow-2.png -------------------------------------------------------------------------------- /modules/ace-builds/css/tomorrow_night-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/tomorrow_night-1.png -------------------------------------------------------------------------------- /modules/ace-builds/css/tomorrow_night-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/tomorrow_night-2.png -------------------------------------------------------------------------------- /modules/ace-builds/css/tomorrow_night_blue-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/tomorrow_night_blue-1.png -------------------------------------------------------------------------------- /modules/ace-builds/css/tomorrow_night_blue-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/tomorrow_night_blue-2.png -------------------------------------------------------------------------------- /modules/ace-builds/css/tomorrow_night_bright-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/tomorrow_night_bright-1.png -------------------------------------------------------------------------------- /modules/ace-builds/css/tomorrow_night_bright-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/tomorrow_night_bright-2.png -------------------------------------------------------------------------------- /modules/ace-builds/css/tomorrow_night_eighties-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/tomorrow_night_eighties-1.png -------------------------------------------------------------------------------- /modules/ace-builds/css/tomorrow_night_eighties-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/tomorrow_night_eighties-2.png -------------------------------------------------------------------------------- /modules/ace-builds/css/twilight-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/twilight-1.png -------------------------------------------------------------------------------- /modules/ace-builds/css/twilight-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/twilight-2.png -------------------------------------------------------------------------------- /modules/ace-builds/css/vibrant_ink-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/vibrant_ink-1.png -------------------------------------------------------------------------------- /modules/ace-builds/css/vibrant_ink-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/vibrant_ink-2.png -------------------------------------------------------------------------------- /modules/ace-builds/css/xcode-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/xcode-1.png -------------------------------------------------------------------------------- /modules/ace-builds/css/xcode-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudcmd/edward/a3ec8476ab1b28cd32dc84c3b95374a583a1905d/modules/ace-builds/css/xcode-2.png -------------------------------------------------------------------------------- /modules/ace-builds/editor.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Editor 7 | 21 | 22 | 23 | 24 |
function foo(items) {
25 |     var i;
26 |     for (i = 0; i < items.length; i++) {
27 |         alert("Ace Rocks " + items[i]);
28 |     }
29 | }
30 | 31 | 32 | 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /modules/ace-builds/kitchen-sink.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Ace Kitchen Sink 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 |
17 |
18 |
19 | 20 | 21 | 22 |
23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 |
32 |
33 |
34 | 35 | 36 | 37 | 38 | 39 | 40 | 43 | 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /modules/ace-builds/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ace-builds", 3 | "main": "./src-noconflict/ace.js", 4 | "typings": "ace.d.ts", 5 | "version": "1.32.5", 6 | "description": "Ace (Ajax.org Cloud9 Editor)", 7 | "scripts": { 8 | "test": "echo \"Error: no test specified\" && exit 1" 9 | }, 10 | "repository": { 11 | "type": "git", 12 | "url": "https://github.com/ajaxorg/ace-builds.git" 13 | }, 14 | "author": "", 15 | "license": "BSD-3-Clause", 16 | "bugs": { 17 | "url": "https://github.com/ajaxorg/ace-builds/issues" 18 | }, 19 | "homepage": "https://github.com/ajaxorg/ace-builds" 20 | } 21 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/ext-error_marker.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/ext/error_marker"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/ext-hardwrap.js: -------------------------------------------------------------------------------- 1 | define("ace/ext/hardwrap",["require","exports","module","ace/range","ace/editor","ace/config"],function(e,t,n){"use strict";function i(e,t){function m(e,t,n){if(e.lengthn)return{start:o.index,end:o.index+o[2].length};if(s&&s[2])return u=t+s[2].length,{start:u,end:u+s[3].length}}var n=t.column||e.getOption("printMarginColumn"),i=t.allowMerge!=0,s=Math.min(t.startRow,t.endRow),o=Math.max(t.startRow,t.endRow),u=e.session;while(s<=o){var a=u.getLine(s);if(a.length>n){var f=m(a,n,5);if(f){var l=/^\s*/.exec(a)[0];u.replace(new r(s,f.start,s,f.end),"\n"+l)}o++}else if(i&&/\S/.test(a)&&s!=o){var c=u.getLine(s+1);if(c&&/\S/.test(c)){var h=a.replace(/\s+$/,""),p=c.replace(/^\s+/,""),d=h+" "+p,f=m(d,n,5);if(f&&f.start>h.length||d.length'\"&#])+)"},{token:["punctuation.definition.variable.lisp","variable.other.global.lisp","punctuation.definition.variable.lisp"],regex:"(\\*)(\\S*)(\\*)"},{token:"constant.numeric",regex:"0[xX][0-9a-fA-F]+(?:L|l|UL|ul|u|U|F|f|ll|LL|ull|ULL)?\\b"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?(?:L|l|UL|ul|u|U|F|f|ll|LL|ull|ULL)?\\b"},{token:i,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{token:"string",regex:'"(?=.)',next:"qqstring"}],qqstring:[{token:"constant.character.escape.lisp",regex:"\\\\."},{token:"string",regex:'[^"\\\\]+'},{token:"string",regex:"\\\\$",next:"qqstring"},{token:"string",regex:'"|$',next:"start"}]}};r.inherits(s,i),t.LispHighlightRules=s}),define("ace/mode/lisp",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/lisp_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./lisp_highlight_rules").LispHighlightRules,o=function(){this.HighlightRules=s,this.$behaviour=this.$defaultBehaviour};r.inherits(o,i),function(){this.lineCommentStart=";",this.$id="ace/mode/lisp"}.call(o.prototype),t.Mode=o}); (function() { 2 | window.require(["ace/mode/lisp"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/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}); (function() { 2 | window.require(["ace/mode/plain_text"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/mode-properties.js: -------------------------------------------------------------------------------- 1 | define("ace/mode/properties_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(){var e=/\\u[0-9a-fA-F]{4}|\\/;this.$rules={start:[{token:"comment",regex:/[!#].*$/},{token:"keyword",regex:/[=:]$/},{token:"keyword",regex:/[=:]/,next:"value"},{token:"constant.language.escape",regex:e},{defaultToken:"variable"}],value:[{regex:/\\$/,token:"string",next:"value"},{regex:/$/,token:"string",next:"start"},{token:"constant.language.escape",regex:e},{defaultToken:"string"}]}};r.inherits(s,i),t.PropertiesHighlightRules=s}),define("ace/mode/properties",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/properties_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./properties_highlight_rules").PropertiesHighlightRules,o=function(){this.HighlightRules=s,this.$behaviour=this.$defaultBehaviour};r.inherits(o,i),function(){this.$id="ace/mode/properties"}.call(o.prototype),t.Mode=o}); (function() { 2 | window.require(["ace/mode/properties"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/mode-text.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/mode/text"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/mode-textile.js: -------------------------------------------------------------------------------- 1 | define("ace/mode/textile_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:function(e){return e.charAt(0)=="h"?"markup.heading."+e.charAt(1):"markup.heading"},regex:"h1|h2|h3|h4|h5|h6|bq|p|bc|pre",next:"blocktag"},{token:"keyword",regex:"[\\*]+|[#]+"},{token:"text",regex:".+"}],blocktag:[{token:"keyword",regex:"\\. ",next:"start"},{token:"keyword",regex:"\\(",next:"blocktagproperties"}],blocktagproperties:[{token:"keyword",regex:"\\)",next:"blocktag"},{token:"string",regex:"[a-zA-Z0-9\\-_]+"},{token:"keyword",regex:"#"}]}};r.inherits(s,i),t.TextileHighlightRules=s}),define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(e,t,n){"use strict";var r=e("../range").Range,i=function(){};(function(){this.checkOutdent=function(e,t){return/^\s+$/.test(e)?/^\s*\}/.test(t):!1},this.autoOutdent=function(e,t){var n=e.getLine(t),i=n.match(/^(\s*\})/);if(!i)return 0;var s=i[1].length,o=e.findMatchingBracket({row:t,column:s});if(!o||o.row==t)return 0;var u=this.$getIndent(e.getLine(o.row));e.replace(new r(t,0,t,s-1),u)},this.$getIndent=function(e){return e.match(/^\s*/)[0]}}).call(i.prototype),t.MatchingBraceOutdent=i}),define("ace/mode/textile",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/textile_highlight_rules","ace/mode/matching_brace_outdent"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./textile_highlight_rules").TextileHighlightRules,o=e("./matching_brace_outdent").MatchingBraceOutdent,u=function(){this.HighlightRules=s,this.$outdent=new o,this.$behaviour=this.$defaultBehaviour};r.inherits(u,i),function(){this.type="text",this.getNextLineIndent=function(e,t,n){return e=="intag"?n:""},this.checkOutdent=function(e,t,n){return this.$outdent.checkOutdent(t,n)},this.autoOutdent=function(e,t,n){this.$outdent.autoOutdent(t,n)},this.$id="ace/mode/textile",this.snippetFileId="ace/snippets/textile"}.call(u.prototype),t.Mode=u}); (function() { 2 | window.require(["ace/mode/textile"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/mode-toml.js: -------------------------------------------------------------------------------- 1 | define("ace/mode/toml_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(){var e=this.createKeywordMapper({"constant.language.boolean":"true|false"},"identifier"),t="[a-zA-Z\\$_\u00a1-\uffff][a-zA-Z\\d\\$_\u00a1-\uffff]*\\b";this.$rules={start:[{token:"comment.toml",regex:/#.*$/},{token:"string",regex:'"(?=.)',next:"qqstring"},{token:["variable.keygroup.toml"],regex:"(?:^\\s*)(\\[\\[([^\\]]+)\\]\\])"},{token:["variable.keygroup.toml"],regex:"(?:^\\s*)(\\[([^\\]]+)\\])"},{token:e,regex:t},{token:"support.date.toml",regex:"\\d{4}-\\d{2}-\\d{2}(T)\\d{2}:\\d{2}:\\d{2}(Z)"},{token:"constant.numeric.toml",regex:"-?\\d+(\\.?\\d+)?"}],qqstring:[{token:"string",regex:"\\\\$",next:"qqstring"},{token:"constant.language.escape",regex:'\\\\[0tnr"\\\\]'},{token:"string",regex:'"|$',next:"start"},{defaultToken:"string"}]}};r.inherits(s,i),t.TomlHighlightRules=s}),define("ace/mode/folding/ini",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(e,t,n){"use strict";var r=e("../../lib/oop"),i=e("../../range").Range,s=e("./fold_mode").FoldMode,o=t.FoldMode=function(){};r.inherits(o,s),function(){this.foldingStartMarker=/^\s*\[([^\])]*)]\s*(?:$|[;#])/,this.getFoldWidgetRange=function(e,t,n){var r=this.foldingStartMarker,s=e.getLine(n),o=s.match(r);if(!o)return;var u=o[1]+".",a=s.length,f=e.getLength(),l=n,c=n;while(++nl){var h=e.getLine(c).length;return new i(l,a,c,h)}}}.call(o.prototype)}),define("ace/mode/toml",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/toml_highlight_rules","ace/mode/folding/ini"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./toml_highlight_rules").TomlHighlightRules,o=e("./folding/ini").FoldMode,u=function(){this.HighlightRules=s,this.foldingRules=new o,this.$behaviour=this.$defaultBehaviour};r.inherits(u,i),function(){this.lineCommentStart="#",this.$id="ace/mode/toml"}.call(u.prototype),t.Mode=u}); (function() { 2 | window.require(["ace/mode/toml"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/mode-vhdl.js: -------------------------------------------------------------------------------- 1 | define("ace/mode/vhdl_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(){var e="access|after|alias|all|architecture|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|context|disconnect|downto|else|elsif|end|entity|exit|file|for|force|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|of|on|or|open|others|out|package|parameter|port|postponed|procedure|process|protected|pure|range|record|register|reject|release|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with",t="bit|bit_vector|boolean|character|integer|line|natural|positive|real|register|signed|std_logic|std_logic_vector|string||text|time|unsigned",n="array|constant",r="abs|and|mod|nand|nor|not|rem|rol|ror|sla|sll|srasrl|xnor|xor",i="true|false|null",s=this.createKeywordMapper({"keyword.operator":r,keyword:e,"constant.language":i,"storage.modifier":n,"storage.type":t},"identifier",!0);this.$rules={start:[{token:"comment",regex:"--.*$"},{token:"string",regex:'".*?"'},{token:"string",regex:"'.*?'"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:"keyword",regex:"\\s*(?:library|package|use)\\b"},{token:s,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{token:"keyword.operator",regex:"&|\\*|\\+|\\-|\\/|<|=|>|\\||=>|\\*\\*|:=|\\/=|>=|<=|<>"},{token:"punctuation.operator",regex:"\\'|\\:|\\,|\\;|\\."},{token:"paren.lparen",regex:"[[(]"},{token:"paren.rparen",regex:"[\\])]"},{token:"text",regex:"\\s+"}]}};r.inherits(s,i),t.VHDLHighlightRules=s}),define("ace/mode/vhdl",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/vhdl_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./vhdl_highlight_rules").VHDLHighlightRules,o=function(){this.HighlightRules=s,this.$behaviour=this.$defaultBehaviour};r.inherits(o,i),function(){this.lineCommentStart="--",this.$id="ace/mode/vhdl"}.call(o.prototype),t.Mode=o}); (function() { 2 | window.require(["ace/mode/vhdl"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/abap.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/abap"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/abc.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/abc.snippets",["require","exports","module"],function(e,t,n){n.exports='\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'}),define("ace/snippets/abc",["require","exports","module","ace/snippets/abc.snippets"],function(e,t,n){"use strict";t.snippetText=e("./abc.snippets"),t.scope="abc"}); (function() { 2 | window.require(["ace/snippets/abc"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/ada.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/ada"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/alda.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/alda"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/apache_conf.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/apache_conf"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/apex.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/apex"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/applescript.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/applescript"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/aql.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/aql"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/asciidoc.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/asciidoc"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/asl.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/asl"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/assembly_x86.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/assembly_x86"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/astro.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/astro"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/autohotkey.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/autohotkey"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/batchfile.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/batchfile"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/bibtex.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/bibtex"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/c9search.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/c9search"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/cirru.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/cirru"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/clojure.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/clojure.snippets",["require","exports","module"],function(e,t,n){n.exports='snippet comm\n (comment\n ${1}\n )\nsnippet condp\n (condp ${1:pred} ${2:expr}\n ${3})\nsnippet def\n (def ${1})\nsnippet defm\n (defmethod ${1:multifn} "${2:doc-string}" ${3:dispatch-val} [${4:args}]\n ${5})\nsnippet defmm\n (defmulti ${1:name} "${2:doc-string}" ${3:dispatch-fn})\nsnippet defma\n (defmacro ${1:name} "${2:doc-string}" ${3:dispatch-fn})\nsnippet defn\n (defn ${1:name} "${2:doc-string}" [${3:arg-list}]\n ${4})\nsnippet defp\n (defprotocol ${1:name}\n ${2})\nsnippet defr\n (defrecord ${1:name} [${2:fields}]\n ${3:protocol}\n ${4})\nsnippet deft\n (deftest ${1:name}\n (is (= ${2:assertion})))\n ${3})\nsnippet is\n (is (= ${1} ${2}))\nsnippet defty\n (deftype ${1:Name} [${2:fields}]\n ${3:Protocol}\n ${4})\nsnippet doseq\n (doseq [${1:elem} ${2:coll}]\n ${3})\nsnippet fn\n (fn [${1:arg-list}] ${2})\nsnippet if\n (if ${1:test-expr}\n ${2:then-expr}\n ${3:else-expr})\nsnippet if-let \n (if-let [${1:result} ${2:test-expr}]\n (${3:then-expr} $1)\n (${4:else-expr}))\nsnippet imp\n (:import [${1:package}])\n & {:keys [${1:keys}] :or {${2:defaults}}}\nsnippet let\n (let [${1:name} ${2:expr}]\n ${3})\nsnippet letfn\n (letfn [(${1:name) [${2:args}]\n ${3})])\nsnippet map\n (map ${1:func} ${2:coll})\nsnippet mapl\n (map #(${1:lambda}) ${2:coll})\nsnippet met\n (${1:name} [${2:this} ${3:args}]\n ${4})\nsnippet ns\n (ns ${1:name}\n ${2})\nsnippet dotimes\n (dotimes [_ 10]\n (time\n (dotimes [_ ${1:times}]\n ${2})))\nsnippet pmethod\n (${1:name} [${2:this} ${3:args}])\nsnippet refer\n (:refer-clojure :exclude [${1}])\nsnippet require\n (:require [${1:namespace} :as [${2}]])\nsnippet use\n (:use [${1:namespace} :only [${2}]])\nsnippet print\n (println ${1})\nsnippet reduce\n (reduce ${1:(fn [p n] ${3})} ${2})\nsnippet when\n (when ${1:test} ${2:body})\nsnippet when-let\n (when-let [${1:result} ${2:test}]\n ${3:body})\n'}),define("ace/snippets/clojure",["require","exports","module","ace/snippets/clojure.snippets"],function(e,t,n){"use strict";t.snippetText=e("./clojure.snippets"),t.scope="clojure"}); (function() { 2 | window.require(["ace/snippets/clojure"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/cobol.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/cobol"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/coldfusion.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/coldfusion"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/crystal.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/crystal"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/csharp.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/csharp"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/csound_document.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/csound_document.snippets",["require","exports","module"],function(e,t,n){n.exports="# \nsnippet synth\n \n \n ${1}\n \n \n e\n \n \n"}),define("ace/snippets/csound_document",["require","exports","module","ace/snippets/csound_document.snippets"],function(e,t,n){"use strict";t.snippetText=e("./csound_document.snippets"),t.scope="csound_document"}); (function() { 2 | window.require(["ace/snippets/csound_document"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/csound_orchestra.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/csound_orchestra.snippets",["require","exports","module"],function(e,t,n){n.exports="# else\nsnippet else\n else\n ${1:/* statements */}\n# elseif\nsnippet elseif\n elseif ${1:/* condition */} then\n ${2:/* statements */}\n# if\nsnippet if\n if ${1:/* condition */} then\n ${2:/* statements */}\n endif\n# instrument block\nsnippet instr\n instr ${1:name}\n ${2:/* statements */}\n endin\n# i-time while loop\nsnippet iwhile\n i${1:Index} = ${2:0}\n while i${1:Index} < ${3:/* count */} do\n ${4:/* statements */}\n i${1:Index} += 1\n od\n# k-rate while loop\nsnippet kwhile\n k${1:Index} = ${2:0}\n while k${1:Index} < ${3:/* count */} do\n ${4:/* statements */}\n k${1:Index} += 1\n od\n# opcode\nsnippet opcode\n opcode ${1:name}, ${2:/* output types */ 0}, ${3:/* input types */ 0}\n ${4:/* statements */}\n endop\n# until loop\nsnippet until\n until ${1:/* condition */} do\n ${2:/* statements */}\n od\n# while loop\nsnippet while\n while ${1:/* condition */} do\n ${2:/* statements */}\n od\n"}),define("ace/snippets/csound_orchestra",["require","exports","module","ace/snippets/csound_orchestra.snippets"],function(e,t,n){"use strict";t.snippetText=e("./csound_orchestra.snippets"),t.scope="csound_orchestra"}); (function() { 2 | window.require(["ace/snippets/csound_orchestra"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/csound_score.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/csound_score"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/csp.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/csp"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/curly.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/curly"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/cuttlefish.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/cuttlefish"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/d.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/d"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/dart.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/dart.snippets",["require","exports","module"],function(e,t,n){n.exports="snippet lib\n library ${1};\n ${2}\nsnippet im\n import '${1}';\n ${2}\nsnippet pa\n part '${1}';\n ${2}\nsnippet pao\n part of ${1};\n ${2}\nsnippet main\n void main() {\n ${1:/* code */}\n }\nsnippet st\n static ${1}\nsnippet fi\n final ${1}\nsnippet re\n return ${1}\nsnippet br\n break;\nsnippet th\n throw ${1}\nsnippet cl\n class ${1:`Filename(\"\", \"untitled\")`} ${2}\nsnippet imp\n implements ${1}\nsnippet ext\n extends ${1}\nsnippet if\n if (${1:true}) {\n ${2}\n }\nsnippet ife\n if (${1:true}) {\n ${2}\n } else {\n ${3}\n }\nsnippet el\n else\nsnippet sw\n switch (${1}) {\n ${2}\n }\nsnippet cs\n case ${1}:\n ${2}\nsnippet de\n default:\n ${1}\nsnippet for\n for (var ${2:i} = 0, len = ${1:things}.length; $2 < len; ${3:++}$2) {\n ${4:$1[$2]}\n }\nsnippet fore\n for (final ${2:item} in ${1:itemList}) {\n ${3:/* code */}\n }\nsnippet wh\n while (${1:/* condition */}) {\n ${2:/* code */}\n }\nsnippet dowh\n do {\n ${2:/* code */}\n } while (${1:/* condition */});\nsnippet as\n assert(${1:/* condition */});\nsnippet try\n try {\n ${2}\n } catch (${1:Exception e}) {\n }\nsnippet tryf\n try {\n ${2}\n } catch (${1:Exception e}) {\n } finally {\n }\n"}),define("ace/snippets/dart",["require","exports","module","ace/snippets/dart.snippets"],function(e,t,n){"use strict";t.snippetText=e("./dart.snippets"),t.scope="dart"}); (function() { 2 | window.require(["ace/snippets/dart"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/diff.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/diff.snippets",["require","exports","module"],function(e,t,n){n.exports='# 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'}),define("ace/snippets/diff",["require","exports","module","ace/snippets/diff.snippets"],function(e,t,n){"use strict";t.snippetText=e("./diff.snippets"),t.scope="diff"}); (function() { 2 | window.require(["ace/snippets/diff"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/dockerfile.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/dockerfile"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/dot.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/dot"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/drools.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/drools.snippets",["require","exports","module"],function(e,t,n){n.exports='\nsnippet rule\n rule "${1?:rule_name}"\n when\n ${2:// when...} \n then\n ${3:// then...}\n end\n\nsnippet query\n query ${1?:query_name}\n ${2:// find} \n end\n \nsnippet declare\n declare ${1?:type_name}\n ${2:// attributes} \n end\n\n'}),define("ace/snippets/drools",["require","exports","module","ace/snippets/drools.snippets"],function(e,t,n){"use strict";t.snippetText=e("./drools.snippets"),t.scope="drools"}); (function() { 2 | window.require(["ace/snippets/drools"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/eiffel.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/eiffel"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/ejs.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/ejs"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/elixir.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/elixir"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/elm.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/elm"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/flix.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/flix"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/forth.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/forth"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/fortran.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/fortran"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/fsharp.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/fsharp"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/fsl.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/fsl.snippets",["require","exports","module"],function(e,t,n){n.exports='snippet header\n machine_name : "";\n machine_author : "";\n machine_license : MIT;\n machine_comment : "";\n machine_language : en;\n machine_version : 1.0.0;\n fsl_version : 1.0.0;\n start_states : [];\n'}),define("ace/snippets/fsl",["require","exports","module","ace/snippets/fsl.snippets"],function(e,t,n){"use strict";t.snippetText=e("./fsl.snippets"),t.scope="fsl"}); (function() { 2 | window.require(["ace/snippets/fsl"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/ftl.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/ftl"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/gcode.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/gcode"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/gherkin.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/gherkin"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/gitignore.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/gitignore"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/glsl.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/glsl"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/golang.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/golang"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/graphqlschema.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/graphqlschema.snippets",["require","exports","module"],function(e,t,n){n.exports="# Type Snippet\ntrigger type\nsnippet type\n type ${1:type_name} {\n ${2:type_siblings}\n }\n\n# Input Snippet\ntrigger input\nsnippet input\n input ${1:input_name} {\n ${2:input_siblings}\n }\n\n# Interface Snippet\ntrigger interface\nsnippet interface\n interface ${1:interface_name} {\n ${2:interface_siblings}\n }\n\n# Interface Snippet\ntrigger union\nsnippet union\n union ${1:union_name} = ${2:type} | ${3: type}\n\n# Enum Snippet\ntrigger enum\nsnippet enum\n enum ${1:enum_name} {\n ${2:enum_siblings}\n }\n"}),define("ace/snippets/graphqlschema",["require","exports","module","ace/snippets/graphqlschema.snippets"],function(e,t,n){"use strict";t.snippetText=e("./graphqlschema.snippets"),t.scope="graphqlschema"}); (function() { 2 | window.require(["ace/snippets/graphqlschema"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/groovy.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/groovy"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/haml.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/haml.snippets",["require","exports","module"],function(e,t,n){n.exports="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"}),define("ace/snippets/haml",["require","exports","module","ace/snippets/haml.snippets"],function(e,t,n){"use strict";t.snippetText=e("./haml.snippets"),t.scope="haml"}); (function() { 2 | window.require(["ace/snippets/haml"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/handlebars.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/handlebars"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/haskell.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/haskell.snippets",["require","exports","module"],function(e,t,n){n.exports="snippet lang\n {-# LANGUAGE ${1:OverloadedStrings} #-}\nsnippet info\n -- |\n -- Module : ${1:Module.Namespace}\n -- Copyright : ${2:Author} ${3:2011-2012}\n -- License : ${4:BSD3}\n --\n -- Maintainer : ${5:email@something.com}\n -- Stability : ${6:experimental}\n -- Portability : ${7:unknown}\n --\n -- ${8:Description}\n --\nsnippet import\n import ${1:Data.Text}\nsnippet import2\n import ${1:Data.Text} (${2:head})\nsnippet importq\n import qualified ${1:Data.Text} as ${2:T}\nsnippet inst\n instance ${1:Monoid} ${2:Type} where\n ${3}\nsnippet type\n type ${1:Type} = ${2:Type}\nsnippet data\n data ${1:Type} = ${2:$1} ${3:Int}\nsnippet newtype\n newtype ${1:Type} = ${2:$1} ${3:Int}\nsnippet class\n class ${1:Class} a where\n ${2}\nsnippet module\n module `substitute(substitute(expand('%:r'), '[/\\\\]','.','g'),'^\\%(\\l*\\.\\)\\?','','')` (\n ) where\n `expand('%') =~ 'Main' ? \"\\n\\nmain = do\\n print \\\"hello world\\\"\" : \"\"`\n\nsnippet const\n ${1:name} :: ${2:a}\n $1 = ${3:undefined}\nsnippet fn\n ${1:fn} :: ${2:a} -> ${3:a}\n $1 ${4} = ${5:undefined}\nsnippet fn2\n ${1:fn} :: ${2:a} -> ${3:a} -> ${4:a}\n $1 ${5} = ${6:undefined}\nsnippet ap\n ${1:map} ${2:fn} ${3:list}\nsnippet do\n do\n \nsnippet \u03bb\n \\${1:x} -> ${2}\nsnippet \\\n \\${1:x} -> ${2}\nsnippet <-\n ${1:a} <- ${2:m a}\nsnippet \u2190\n ${1:a} <- ${2:m a}\nsnippet ->\n ${1:m a} -> ${2:a}\nsnippet \u2192\n ${1:m a} -> ${2:a}\nsnippet tup\n (${1:a}, ${2:b})\nsnippet tup2\n (${1:a}, ${2:b}, ${3:c})\nsnippet tup3\n (${1:a}, ${2:b}, ${3:c}, ${4:d})\nsnippet rec\n ${1:Record} { ${2:recFieldA} = ${3:undefined}\n , ${4:recFieldB} = ${5:undefined}\n }\nsnippet case\n case ${1:something} of\n ${2} -> ${3}\nsnippet let\n let ${1} = ${2}\n in ${3}\nsnippet where\n where\n ${1:fn} = ${2:undefined}\n"}),define("ace/snippets/haskell",["require","exports","module","ace/snippets/haskell.snippets"],function(e,t,n){"use strict";t.snippetText=e("./haskell.snippets"),t.scope="haskell"}); (function() { 2 | window.require(["ace/snippets/haskell"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/haskell_cabal.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/haskell_cabal"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/haxe.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/haxe"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/hjson.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/hjson"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/html_elixir.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/html_elixir"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/html_ruby.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/html_ruby"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/ini.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/ini"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/io.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/io",["require","exports","module"],function(e,t,n){"use strict";t.snippets=[{content:"assertEquals(${1:expected}, ${2:expr})",name:"assertEquals",scope:"io",tabTrigger:"ae"},{content:"${1:${2:newValue} := ${3:Object} }clone do(\n $0\n)",name:"clone do",scope:"io",tabTrigger:"cdo"},{content:'docSlot("${1:slotName}", "${2:documentation}")',name:"docSlot",scope:"io",tabTrigger:"ds"},{content:"(${1:header,}\n ${2:body}\n)$0",keyEquivalent:"@(",name:"Indented Bracketed Line",scope:"io",tabTrigger:"("},{content:"\n $0\n",keyEquivalent:"\r",name:"Special: Return Inside Empty Parenthesis",scope:"io meta.empty-parenthesis.io, io meta.comma-parenthesis.io"},{content:"${1:methodName} := method(${2:args,}\n $0\n)",name:"method",scope:"io",tabTrigger:"m"},{content:'newSlot("${1:slotName}", ${2:defaultValue}, "${3:docString}")$0',name:"newSlot",scope:"io",tabTrigger:"ns"},{content:"${1:name} := Object clone do(\n $0\n)",name:"Object clone do",scope:"io",tabTrigger:"ocdo"},{content:"test${1:SomeFeature} := method(\n $0\n)",name:"testMethod",scope:"io",tabTrigger:"ts"},{content:"${1:Something}Test := ${2:UnitTest} clone do(\n $0\n)",name:"UnitTest",scope:"io",tabTrigger:"ut"}],t.scope="io"}); (function() { 2 | window.require(["ace/snippets/io"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/ion.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/ion"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/jack.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/jack"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/jade.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/jade"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/jexl.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/jexl"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/json.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/json"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/json5.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/json5"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/jsoniq.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/jsoniq.snippets",["require","exports","module"],function(e,t,n){n.exports='snippet for\n for $${1:item} in ${2:expr}\nsnippet return\n return ${1:expr}\nsnippet import\n import module namespace ${1:ns} = "${2:http://www.example.com/}";\nsnippet some\n some $${1:varname} in ${2:expr} satisfies ${3:expr}\nsnippet every\n every $${1:varname} in ${2:expr} satisfies ${3:expr}\nsnippet if\n if(${1:true}) then ${2:expr} else ${3:true}\nsnippet switch\n switch(${1:"foo"})\n case ${2:"foo"}\n return ${3:true}\n default return ${4:false}\nsnippet try\n try { ${1:expr} } catch ${2:*} { ${3:expr} }\nsnippet tumbling\n for tumbling window $${1:varname} in ${2:expr}\n start at $${3:start} when ${4:expr}\n end at $${5:end} when ${6:expr}\n return ${7:expr}\nsnippet sliding\n for sliding window $${1:varname} in ${2:expr}\n start at $${3:start} when ${4:expr}\n end at $${5:end} when ${6:expr}\n return ${7:expr}\nsnippet let\n let $${1:varname} := ${2:expr}\nsnippet group\n group by $${1:varname} := ${2:expr}\nsnippet order\n order by ${1:expr} ${2:descending}\nsnippet stable\n stable order by ${1:expr}\nsnippet count\n count $${1:varname}\nsnippet ordered\n ordered { ${1:expr} }\nsnippet unordered\n unordered { ${1:expr} }\nsnippet treat \n treat as ${1:expr}\nsnippet castable\n castable as ${1:atomicType}\nsnippet cast\n cast as ${1:atomicType}\nsnippet typeswitch\n typeswitch(${1:expr})\n case ${2:type} return ${3:expr}\n default return ${4:expr}\nsnippet var\n declare variable $${1:varname} := ${2:expr};\nsnippet fn\n declare function ${1:ns}:${2:name}(){\n ${3:expr}\n };\nsnippet module\n module namespace ${1:ns} = "${2:http://www.example.com}";\n'}),define("ace/snippets/jsoniq",["require","exports","module","ace/snippets/jsoniq.snippets"],function(e,t,n){"use strict";t.snippetText=e("./jsoniq.snippets"),t.scope="jsoniq"}); (function() { 2 | window.require(["ace/snippets/jsoniq"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/jssm.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/jssm"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/jsx.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/jsx"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/julia.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/julia"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/kotlin.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/kotlin"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/latex.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/latex"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/latte.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/latte"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/less.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/less"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/lisp.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/lisp"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/livescript.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/livescript"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/logiql.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/logiql"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/logtalk.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/logtalk"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/lua.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/lua.snippets",["require","exports","module"],function(e,t,n){n.exports="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"}),define("ace/snippets/lua",["require","exports","module","ace/snippets/lua.snippets"],function(e,t,n){"use strict";t.snippetText=e("./lua.snippets"),t.scope="lua"}); (function() { 2 | window.require(["ace/snippets/lua"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/luapage.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/luapage"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/lucene.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/lucene"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/makefile.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/makefile.snippets",["require","exports","module"],function(e,t,n){n.exports="snippet ifeq\n ifeq (${1:cond0},${2:cond1})\n ${3:code}\n endif\n"}),define("ace/snippets/makefile",["require","exports","module","ace/snippets/makefile.snippets"],function(e,t,n){"use strict";t.snippetText=e("./makefile.snippets"),t.scope="makefile"}); (function() { 2 | window.require(["ace/snippets/makefile"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/markdown.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/markdown.snippets",["require","exports","module"],function(e,t,n){n.exports='# Markdown\n\n# Includes octopress (http://octopress.org/) snippets\n\nsnippet [\n [${1:text}](http://${2:address} "${3:title}")\nsnippet [*\n [${1:link}](${2:`@*`} "${3:title}")${4}\n\nsnippet [:\n [${1:id}]: http://${2:url} "${3:title}"\nsnippet [:*\n [${1:id}]: ${2:`@*`} "${3:title}"\n\nsnippet ![\n ![${1:alttext}](${2:/images/image.jpg} "${3:title}")\nsnippet ![*\n ![${1:alt}](${2:`@*`} "${3:title}")${4}\n\nsnippet ![:\n ![${1:id}]: ${2:url} "${3:title}"\nsnippet ![:*\n ![${1:id}]: ${2:`@*`} "${3:title}"\n\nsnippet ===\nregex /^/=+/=*//\n ${PREV_LINE/./=/g}\n \n ${0}\nsnippet ---\nregex /^/-+/-*//\n ${PREV_LINE/./-/g}\n \n ${0}\nsnippet blockquote\n {% blockquote %}\n ${1:quote}\n {% endblockquote %}\n\nsnippet blockquote-author\n {% blockquote ${1:author}, ${2:title} %}\n ${3:quote}\n {% endblockquote %}\n\nsnippet blockquote-link\n {% blockquote ${1:author} ${2:URL} ${3:link_text} %}\n ${4:quote}\n {% endblockquote %}\n\nsnippet bt-codeblock-short\n ```\n ${1:code_snippet}\n ```\n\nsnippet bt-codeblock-full\n ``` ${1:language} ${2:title} ${3:URL} ${4:link_text}\n ${5:code_snippet}\n ```\n\nsnippet codeblock-short\n {% codeblock %}\n ${1:code_snippet}\n {% endcodeblock %}\n\nsnippet codeblock-full\n {% codeblock ${1:title} lang:${2:language} ${3:URL} ${4:link_text} %}\n ${5:code_snippet}\n {% endcodeblock %}\n\nsnippet gist-full\n {% gist ${1:gist_id} ${2:filename} %}\n\nsnippet gist-short\n {% gist ${1:gist_id} %}\n\nsnippet img\n {% img ${1:class} ${2:URL} ${3:width} ${4:height} ${5:title_text} ${6:alt_text} %}\n\nsnippet youtube\n {% youtube ${1:video_id} %}\n\n# The quote should appear only once in the text. It is inherently part of it.\n# See http://octopress.org/docs/plugins/pullquote/ for more info.\n\nsnippet pullquote\n {% pullquote %}\n ${1:text} {" ${2:quote} "} ${3:text}\n {% endpullquote %}\n'}),define("ace/snippets/markdown",["require","exports","module","ace/snippets/markdown.snippets"],function(e,t,n){"use strict";t.snippetText=e("./markdown.snippets"),t.scope="markdown"}); (function() { 2 | window.require(["ace/snippets/markdown"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/mask.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/mask"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/matlab.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/matlab"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/maze.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/maze.snippets",["require","exports","module"],function(e,t,n){n.exports="snippet >\ndescription assignment\nscope maze\n -> ${1}= ${2}\n\nsnippet >\ndescription if\nscope maze\n -> IF ${2:**} THEN %${3:L} ELSE %${4:R}\n"}),define("ace/snippets/maze",["require","exports","module","ace/snippets/maze.snippets"],function(e,t,n){"use strict";t.snippetText=e("./maze.snippets"),t.scope="maze"}); (function() { 2 | window.require(["ace/snippets/maze"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/mediawiki.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/mediawiki"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/mel.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/mel"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/mips.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/mips"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/mixal.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/mixal"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/mushcode.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/mushcode"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/mysql.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/mysql"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/nasal.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/nasal"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/nginx.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/nginx"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/nim.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/nim"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/nix.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/nix"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/nsis.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/nsis"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/nunjucks.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/nunjucks"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/objectivec.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/objectivec"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/ocaml.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/ocaml"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/odin.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/odin"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/partiql.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/partiql"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/pascal.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/pascal"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/pgsql.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/pgsql"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/php_laravel_blade.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/php_laravel_blade"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/pig.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/pig"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/plain_text.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/plain_text"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/plsql.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/plsql"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/powershell.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/powershell"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/praat.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/praat"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/prisma.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/prisma"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/prolog.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/prolog"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/properties.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/properties"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/protobuf.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/protobuf"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/prql.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/prql"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/puppet.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/puppet"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/qml.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/qml"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/raku.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/raku"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/razor.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/razor.snippets",["require","exports","module"],function(e,t,n){n.exports="snippet if\n(${1} == ${2}) {\n ${3}\n}"}),define("ace/snippets/razor",["require","exports","module","ace/snippets/razor.snippets"],function(e,t,n){"use strict";t.snippetText=e("./razor.snippets"),t.scope="razor"}); (function() { 2 | window.require(["ace/snippets/razor"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/rdoc.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/rdoc"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/red.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/red"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/redshift.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/redshift"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/rhtml.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/rhtml"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/robot.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/robot.snippets",["require","exports","module"],function(e,t,n){n.exports="# scope: robot\n### Sections\nsnippet settingssection\ndescription *** Settings *** section\n *** Settings ***\n Library ${1}\n\nsnippet keywordssection\ndescription *** Keywords *** section\n *** Keywords ***\n ${1:Keyword Name}\n [Arguments] \\${${2:Example Arg 1}}\n \nsnippet testcasessection\ndescription *** Test Cases *** section\n *** Test Cases ***\n ${1:First Test Case}\n ${2:Log Example Arg}\n\nsnippet variablessection\ndescription *** Variables *** section\n *** Variables ***\n \\${${1:Variable Name}}= ${2:Variable Value}\n\n### Helpful keywords\nsnippet testcase\ndescription A test case\n ${1:Test Case Name}\n ${2:Log Example log message}\n \nsnippet keyword\ndescription A keyword\n ${1:Example Keyword}\n [Arguments] \\${${2:Example Arg 1}}\n\n### Built Ins\nsnippet forinr\ndescription For In Range Loop\n FOR \\${${1:Index}} IN RANGE \\${${2:10}}\n Log \\${${1:Index}}\n END\n\nsnippet forin\ndescription For In Loop\n FOR \\${${1:Item}} IN @{${2:List Variable}}\n Log \\${${1:Item}}\n END\n\nsnippet if\ndescription If Statement\n IF ${1:condition}\n ${2:Do something}\n END\n\nsnippet else\ndescription If Statement\n IF ${1:Condition}\n ${2:Do something}\n ELSE\n ${3:Otherwise do this}\n END\n\nsnippet elif\ndescription Else-If Statement\n IF ${1:Condition 1}\n ${2:Do something}\n ELSE IF ${3:Condition 2}\n ${4:Do something else}\n END\n"}),define("ace/snippets/robot",["require","exports","module","ace/snippets/robot.snippets"],function(e,t,n){"use strict";t.snippetText=e("./robot.snippets"),t.scope="robot"}); (function() { 2 | window.require(["ace/snippets/robot"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/rst.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/rst.snippets",["require","exports","module"],function(e,t,n){n.exports="# rst\n\nsnippet :\n :${1:field name}: ${2:field body}\nsnippet *\n *${1:Emphasis}*\nsnippet **\n **${1:Strong emphasis}**\nsnippet _\n \\`${1:hyperlink-name}\\`_\n .. _\\`$1\\`: ${2:link-block}\nsnippet =\n ${1:Title}\n =====${2:=}\n ${3}\nsnippet -\n ${1:Title}\n -----${2:-}\n ${3}\nsnippet cont:\n .. contents::\n \n"}),define("ace/snippets/rst",["require","exports","module","ace/snippets/rst.snippets"],function(e,t,n){"use strict";t.snippetText=e("./rst.snippets"),t.scope="rst"}); (function() { 2 | window.require(["ace/snippets/rst"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/rust.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/rust"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/sac.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/sac"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/sass.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/sass"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/scad.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/scad"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/scala.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/scala"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/scheme.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/scheme"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/scrypt.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/scrypt"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/scss.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/scss"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/sh.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/sh.snippets",["require","exports","module"],function(e,t,n){n.exports='# Shebang. Executing bash via /usr/bin/env makes scripts more portable.\nsnippet #!\n #!/usr/bin/env bash\n \nsnippet if\n if [[ ${1:condition} ]]; then\n ${2:#statements}\n fi\nsnippet elif\n elif [[ ${1:condition} ]]; then\n ${2:#statements}\nsnippet for\n for (( ${2:i} = 0; $2 < ${1:count}; $2++ )); do\n ${3:#statements}\n done\nsnippet fori\n for ${1:needle} in ${2:haystack} ; do\n ${3:#statements}\n done\nsnippet wh\n while [[ ${1:condition} ]]; do\n ${2:#statements}\n done\nsnippet until\n until [[ ${1:condition} ]]; do\n ${2:#statements}\n done\nsnippet case\n case ${1:word} in\n ${2:pattern})\n ${3};;\n esac\nsnippet go \n while getopts \'${1:o}\' ${2:opts} \n do \n case $$2 in\n ${3:o0})\n ${4:#staments};;\n esac\n done\n# Set SCRIPT_DIR variable to directory script is located.\nsnippet sdir\n SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"\n# getopt\nsnippet getopt\n __ScriptVersion="${1:version}"\n\n #=== FUNCTION ================================================================\n # NAME: usage\n # DESCRIPTION: Display usage information.\n #===============================================================================\n function usage ()\n {\n cat <<- EOT\n\n Usage : $${0:0} [options] [--] \n\n Options: \n -h|help Display this message\n -v|version Display script version\n\n EOT\n } # ---------- end of function usage ----------\n\n #-----------------------------------------------------------------------\n # Handle command line arguments\n #-----------------------------------------------------------------------\n\n while getopts ":hv" opt\n do\n case $opt in\n\n h|help ) usage; exit 0 ;;\n\n v|version ) echo "$${0:0} -- Version $__ScriptVersion"; exit 0 ;;\n\n \\? ) echo -e "\\n Option does not exist : $OPTARG\\n"\n usage; exit 1 ;;\n\n esac # --- end of case ---\n done\n shift $(($OPTIND-1))\n\n'}),define("ace/snippets/sh",["require","exports","module","ace/snippets/sh.snippets"],function(e,t,n){"use strict";t.snippetText=e("./sh.snippets"),t.scope="sh"}); (function() { 2 | window.require(["ace/snippets/sh"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/sjs.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/sjs"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/slim.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/slim"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/smarty.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/smarty"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/smithy.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/smithy"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/snippets.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/snippets.snippets",["require","exports","module"],function(e,t,n){n.exports="# 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"}),define("ace/snippets/snippets",["require","exports","module","ace/snippets/snippets.snippets"],function(e,t,n){"use strict";t.snippetText=e("./snippets.snippets"),t.scope="snippets"}); (function() { 2 | window.require(["ace/snippets/snippets"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/soy_template.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/soy_template"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/space.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/space"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/sparql.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/sparql"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/sql.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/sql.snippets",["require","exports","module"],function(e,t,n){n.exports="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"}),define("ace/snippets/sql",["require","exports","module","ace/snippets/sql.snippets"],function(e,t,n){"use strict";t.snippetText=e("./sql.snippets"),t.scope="sql"}); (function() { 2 | window.require(["ace/snippets/sql"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/stylus.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/stylus"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/svg.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/svg"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/swift.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/swift"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/tcl.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/tcl.snippets",["require","exports","module"],function(e,t,n){n.exports="# #!/usr/bin/env tclsh\nsnippet #!\n #!/usr/bin/env tclsh\n \n# Process\nsnippet pro\n proc ${1:function_name} {${2:args}} {\n ${3:#body ...}\n }\n#xif\nsnippet xif\n ${1:expr}? ${2:true} : ${3:false}\n# Conditional\nsnippet if\n if {${1}} {\n ${2:# body...}\n }\n# Conditional if..else\nsnippet ife\n if {${1}} {\n ${2:# body...}\n } else {\n ${3:# else...}\n }\n# Conditional if..elsif..else\nsnippet ifee\n if {${1}} {\n ${2:# body...}\n } elseif {${3}} {\n ${4:# elsif...}\n } else {\n ${5:# else...}\n }\n# If catch then\nsnippet ifc\n if { [catch {${1:#do something...}} ${2:err}] } {\n ${3:# handle failure...}\n }\n# Catch\nsnippet catch\n catch {${1}} ${2:err} ${3:options}\n# While Loop\nsnippet wh\n while {${1}} {\n ${2:# body...}\n }\n# For Loop\nsnippet for\n for {set ${2:var} 0} {$$2 < ${1:count}} {${3:incr} $2} {\n ${4:# body...}\n }\n# Foreach Loop\nsnippet fore\n foreach ${1:x} {${2:#list}} {\n ${3:# body...}\n }\n# after ms script...\nsnippet af\n after ${1:ms} ${2:#do something}\n# after cancel id\nsnippet afc\n after cancel ${1:id or script}\n# after idle\nsnippet afi\n after idle ${1:script}\n# after info id\nsnippet afin\n after info ${1:id}\n# Expr\nsnippet exp\n expr {${1:#expression here}}\n# Switch\nsnippet sw\n switch ${1:var} {\n ${3:pattern 1} {\n ${4:#do something}\n }\n default {\n ${2:#do something}\n }\n }\n# Case\nsnippet ca\n ${1:pattern} {\n ${2:#do something}\n }${3}\n# Namespace eval\nsnippet ns\n namespace eval ${1:path} {${2:#script...}}\n# Namespace current\nsnippet nsc\n namespace current\n"}),define("ace/snippets/tcl",["require","exports","module","ace/snippets/tcl.snippets"],function(e,t,n){"use strict";t.snippetText=e("./tcl.snippets"),t.scope="tcl"}); (function() { 2 | window.require(["ace/snippets/tcl"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/terraform.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/terraform"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/text.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/text"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/textile.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/textile.snippets",["require","exports","module"],function(e,t,n){n.exports='# 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'}),define("ace/snippets/textile",["require","exports","module","ace/snippets/textile.snippets"],function(e,t,n){"use strict";t.snippetText=e("./textile.snippets"),t.scope="textile"}); (function() { 2 | window.require(["ace/snippets/textile"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/toml.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/toml"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/tsx.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/tsx"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/turtle.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/turtle"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/twig.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/twig"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/typescript.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/typescript"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/vbscript.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/vbscript"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/velocity.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/velocity.snippets",["require","exports","module"],function(e,t,n){n.exports='# 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'}),define("ace/snippets/velocity",["require","exports","module","ace/snippets/velocity.snippets"],function(e,t,n){"use strict";t.snippetText=e("./velocity.snippets"),t.scope="velocity",t.includeScopes=["html","javascript","css"]}); (function() { 2 | window.require(["ace/snippets/velocity"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/verilog.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/verilog"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/vhdl.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/vhdl"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/visualforce.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/visualforce"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/wollok.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/wollok.snippets",["require","exports","module"],function(e,t,n){n.exports='##\n## Basic Java packages and import\nsnippet im\n import\nsnippet w.l\n wollok.lang\nsnippet w.i\n wollok.lib\n\n## Class and object\nsnippet cl\n class ${1:`Filename("", "untitled")`} ${2}\nsnippet obj\n object ${1:`Filename("", "untitled")`} ${2:inherits Parent}${3}\nsnippet te\n test ${1:`Filename("", "untitled")`}\n\n##\n## Enhancements\nsnippet inh\n inherits\n\n##\n## Comments\nsnippet /*\n /*\n * ${1}\n */\n\n##\n## Control Statements\nsnippet el\n else\nsnippet if\n if (${1}) ${2}\n\n##\n## Create a Method\nsnippet m\n method ${1:method}(${2}) ${5}\n\n## \n## Tests\nsnippet as\n assert.equals(${1:expected}, ${2:actual})\n\n##\n## Exceptions\nsnippet ca\n catch ${1:e} : (${2:Exception} ) ${3}\nsnippet thr\n throw\nsnippet try\n try {\n ${3}\n } catch ${1:e} : ${2:Exception} {\n }\n\n##\n## Javadocs\nsnippet /**\n /**\n * ${1}\n */\n\n##\n## Print Methods\nsnippet print\n console.println("${1:Message}")\n\n##\n## Setter and Getter Methods\nsnippet set\n method set${1:}(${2:}) {\n $1 = $2\n }\nsnippet get\n method get${1:}() {\n return ${1:};\n }\n\n##\n## Terminate Methods or Loops\nsnippet re\n return'}),define("ace/snippets/wollok",["require","exports","module","ace/snippets/wollok.snippets"],function(e,t,n){"use strict";t.snippetText=e("./wollok.snippets"),t.scope="wollok"}); (function() { 2 | window.require(["ace/snippets/wollok"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/xml.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/xml"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/xquery.js: -------------------------------------------------------------------------------- 1 | define("ace/snippets/xquery.snippets",["require","exports","module"],function(e,t,n){n.exports='snippet for\n for $${1:item} in ${2:expr}\nsnippet return\n return ${1:expr}\nsnippet import\n import module namespace ${1:ns} = "${2:http://www.example.com/}";\nsnippet some\n some $${1:varname} in ${2:expr} satisfies ${3:expr}\nsnippet every\n every $${1:varname} in ${2:expr} satisfies ${3:expr}\nsnippet if\n if(${1:true}) then ${2:expr} else ${3:true}\nsnippet switch\n switch(${1:"foo"})\n case ${2:"foo"}\n return ${3:true}\n default return ${4:false}\nsnippet try\n try { ${1:expr} } catch ${2:*} { ${3:expr} }\nsnippet tumbling\n for tumbling window $${1:varname} in ${2:expr}\n start at $${3:start} when ${4:expr}\n end at $${5:end} when ${6:expr}\n return ${7:expr}\nsnippet sliding\n for sliding window $${1:varname} in ${2:expr}\n start at $${3:start} when ${4:expr}\n end at $${5:end} when ${6:expr}\n return ${7:expr}\nsnippet let\n let $${1:varname} := ${2:expr}\nsnippet group\n group by $${1:varname} := ${2:expr}\nsnippet order\n order by ${1:expr} ${2:descending}\nsnippet stable\n stable order by ${1:expr}\nsnippet count\n count $${1:varname}\nsnippet ordered\n ordered { ${1:expr} }\nsnippet unordered\n unordered { ${1:expr} }\nsnippet treat \n treat as ${1:expr}\nsnippet castable\n castable as ${1:atomicType}\nsnippet cast\n cast as ${1:atomicType}\nsnippet typeswitch\n typeswitch(${1:expr})\n case ${2:type} return ${3:expr}\n default return ${4:expr}\nsnippet var\n declare variable $${1:varname} := ${2:expr};\nsnippet fn\n declare function ${1:ns}:${2:name}(){\n ${3:expr}\n };\nsnippet module\n module namespace ${1:ns} = "${2:http://www.example.com}";\n'}),define("ace/snippets/xquery",["require","exports","module","ace/snippets/xquery.snippets"],function(e,t,n){"use strict";t.snippetText=e("./xquery.snippets"),t.scope="xquery"}); (function() { 2 | window.require(["ace/snippets/xquery"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/yaml.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/yaml"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/zeek.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/zeek"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/snippets/zig.js: -------------------------------------------------------------------------------- 1 | ; (function() { 2 | window.require(["ace/snippets/zig"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /modules/ace-builds/src-min/theme-textmate.js: -------------------------------------------------------------------------------- 1 | define("ace/theme/textmate",["require","exports","module","ace/theme/textmate-css","ace/lib/dom"],function(e,t,n){"use strict";t.isDark=!1,t.cssClass="ace-tm",t.cssText=e("./textmate-css"),t.$id="ace/theme/textmate";var r=e("../lib/dom");r.importCssString(t.cssText,t.cssClass,!1)}); (function() { 2 | window.require(["ace/theme/textmate"], function(m) { 3 | if (typeof module == "object" && typeof exports == "object" && module) { 4 | module.exports = m; 5 | } 6 | }); 7 | })(); 8 | -------------------------------------------------------------------------------- /server/edit.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const readjson = require('readjson'); 4 | const tryToCatch = require('try-to-catch'); 5 | 6 | const Edit = require('../json/edit.json'); 7 | const HOME = require('os').homedir(); 8 | 9 | module.exports = async (req, res, next) => { 10 | if (req.url !== '/edit.json') 11 | return next(); 12 | 13 | const [error, data] = await tryToCatch(readEdit); 14 | 15 | if (error) 16 | return res 17 | .status(404) 18 | .send(error.message); 19 | 20 | res.json(data); 21 | }; 22 | 23 | async function readEdit() { 24 | const homePath = `${HOME}/.edward.json`; 25 | const [error, edit] = await tryToCatch(readjson, homePath); 26 | 27 | if (!error) 28 | return { 29 | ...Edit, 30 | ...edit, 31 | }; 32 | 33 | if (error.code !== 'ENOENT') 34 | throw Error(`edward --config ${homePath}: ${error.message}`); 35 | 36 | return Edit; 37 | } 38 | -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const path = require('path'); 4 | 5 | const {env} = require('process'); 6 | const dir = './client'; 7 | const isDev = env.NODE_ENV === 'development'; 8 | 9 | const dist = path.resolve(__dirname, 'dist'); 10 | const distDev = path.resolve(__dirname, 'dist-dev'); 11 | const devtool = isDev ? 'eval' : 'source-map'; 12 | const notEmpty = (a) => a; 13 | const clean = (array) => array.filter(notEmpty); 14 | 15 | const rules = clean([{ 16 | test: /\.js$/, 17 | exclude: /node_modules/, 18 | loader: 'babel-loader', 19 | }, { 20 | test: /\.css$/, 21 | use: [ 22 | 'style-loader', 23 | 'css-loader', 24 | 'clean-css-loader', 25 | ], 26 | }, { 27 | test: /\.(png|gif|svg|woff|woff2|eot|ttf)$/, 28 | use: { 29 | loader: 'url-loader', 30 | options: { 31 | limit: 50_000, 32 | }, 33 | }, 34 | }]); 35 | 36 | module.exports = { 37 | devtool, 38 | entry: { 39 | edward: `${dir}/edward.js`, 40 | }, 41 | output: { 42 | library: 'edward', 43 | filename: '[name].js', 44 | path: isDev ? distDev : dist, 45 | pathinfo: isDev, 46 | libraryTarget: 'var', 47 | devtoolModuleFilenameTemplate, 48 | }, 49 | module: { 50 | rules, 51 | }, 52 | }; 53 | 54 | function devtoolModuleFilenameTemplate(info) { 55 | const resource = info.absoluteResourcePath.replace(__dirname + path.sep, ''); 56 | return `file://edward/${resource}`; 57 | } 58 | --------------------------------------------------------------------------------