administrate-field-simple_mde_markdown 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.circleci/config.yml +72 -0
- data/.circleci/setup-rubygems.sh +3 -0
- data/.gitignore +11 -0
- data/.rspec +3 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +8 -0
- data/Gemfile.lock +196 -0
- data/LICENSE.txt +21 -0
- data/README.md +44 -0
- data/Rakefile +8 -0
- data/administrate-field-simple_mde_markdown.gemspec +31 -0
- data/app/assets/javascripts/administrate-field-simple_mde_markdown/application.js +6 -0
- data/app/assets/stylesheets/administrate-field-simple_mde_markdown/application.css +3 -0
- data/app/views/fields/simple_mde_markdown/_form.html.erb +6 -0
- data/app/views/fields/simple_mde_markdown/_index.html.erb +1 -0
- data/app/views/fields/simple_mde_markdown/_show.html.erb +1 -0
- data/lib/administrate/field/simple_mde_markdown.rb +31 -0
- data/node_modules/.bin/marked +1 -0
- data/node_modules/codemirror-spell-checker/.eslintrc +23 -0
- data/node_modules/codemirror-spell-checker/.npmignore +2 -0
- data/node_modules/codemirror-spell-checker/.travis.yml +18 -0
- data/node_modules/codemirror-spell-checker/CONTRIBUTING 2.md +10 -0
- data/node_modules/codemirror-spell-checker/CONTRIBUTING.md +10 -0
- data/node_modules/codemirror-spell-checker/LICENSE +22 -0
- data/node_modules/codemirror-spell-checker/README.md +50 -0
- data/node_modules/codemirror-spell-checker/bower.json +27 -0
- data/node_modules/codemirror-spell-checker/debug/.spell-checker 2.css.icloud +0 -0
- data/node_modules/codemirror-spell-checker/debug/spell-checker.css +9 -0
- data/node_modules/codemirror-spell-checker/debug/spell-checker.debug.js +2844 -0
- data/node_modules/codemirror-spell-checker/debug/spell-checker.js +2841 -0
- data/node_modules/codemirror-spell-checker/dist/.spell-checker.min 2.css.icloud +0 -0
- data/node_modules/codemirror-spell-checker/dist/en_US.aff +201 -0
- data/node_modules/codemirror-spell-checker/dist/en_US.dic +62120 -0
- data/node_modules/codemirror-spell-checker/dist/spell-checker.min 2.js +7 -0
- data/node_modules/codemirror-spell-checker/dist/spell-checker.min.css +7 -0
- data/node_modules/codemirror-spell-checker/dist/spell-checker.min.js +7 -0
- data/node_modules/codemirror-spell-checker/gulpfile.js +94 -0
- data/node_modules/codemirror-spell-checker/package.json +75 -0
- data/node_modules/codemirror-spell-checker/src/css/spell-checker.css +3 -0
- data/node_modules/codemirror-spell-checker/src/data/en_US.aff +201 -0
- data/node_modules/codemirror-spell-checker/src/data/en_US.dic +62120 -0
- data/node_modules/codemirror-spell-checker/src/js/spell-checker.js +119 -0
- data/node_modules/codemirror/.package 2.json.icloud +0 -0
- data/node_modules/codemirror/AUTHORS +773 -0
- data/node_modules/codemirror/CHANGELOG.md +1486 -0
- data/node_modules/codemirror/CONTRIBUTING.md +92 -0
- data/node_modules/codemirror/LICENSE +21 -0
- data/node_modules/codemirror/README.md +49 -0
- data/node_modules/codemirror/addon/comment/comment.js +209 -0
- data/node_modules/codemirror/addon/comment/continuecomment.js +78 -0
- data/node_modules/codemirror/addon/dialog/dialog.css +32 -0
- data/node_modules/codemirror/addon/dialog/dialog.js +161 -0
- data/node_modules/codemirror/addon/display/autorefresh.js +47 -0
- data/node_modules/codemirror/addon/display/fullscreen.css +6 -0
- data/node_modules/codemirror/addon/display/fullscreen.js +41 -0
- data/node_modules/codemirror/addon/display/panel.js +127 -0
- data/node_modules/codemirror/addon/display/placeholder.js +63 -0
- data/node_modules/codemirror/addon/display/rulers.js +51 -0
- data/node_modules/codemirror/addon/edit/closebrackets.js +187 -0
- data/node_modules/codemirror/addon/edit/closetag.js +175 -0
- data/node_modules/codemirror/addon/edit/continuelist.js +89 -0
- data/node_modules/codemirror/addon/edit/matchbrackets.js +145 -0
- data/node_modules/codemirror/addon/edit/matchtags.js +66 -0
- data/node_modules/codemirror/addon/edit/trailingspace.js +27 -0
- data/node_modules/codemirror/addon/fold/brace-fold.js +105 -0
- data/node_modules/codemirror/addon/fold/comment-fold.js +59 -0
- data/node_modules/codemirror/addon/fold/foldcode.js +152 -0
- data/node_modules/codemirror/addon/fold/foldgutter.css +20 -0
- data/node_modules/codemirror/addon/fold/foldgutter.js +146 -0
- data/node_modules/codemirror/addon/fold/indent-fold.js +48 -0
- data/node_modules/codemirror/addon/fold/markdown-fold.js +49 -0
- data/node_modules/codemirror/addon/fold/xml-fold.js +184 -0
- data/node_modules/codemirror/addon/hint/anyword-hint.js +41 -0
- data/node_modules/codemirror/addon/hint/css-hint.js +60 -0
- data/node_modules/codemirror/addon/hint/html-hint.js +348 -0
- data/node_modules/codemirror/addon/hint/javascript-hint.js +157 -0
- data/node_modules/codemirror/addon/hint/show-hint.css +36 -0
- data/node_modules/codemirror/addon/hint/show-hint.js +434 -0
- data/node_modules/codemirror/addon/hint/sql-hint.js +299 -0
- data/node_modules/codemirror/addon/hint/xml-hint.js +110 -0
- data/node_modules/codemirror/addon/lint/coffeescript-lint.js +47 -0
- data/node_modules/codemirror/addon/lint/css-lint.js +40 -0
- data/node_modules/codemirror/addon/lint/html-lint.js +53 -0
- data/node_modules/codemirror/addon/lint/javascript-lint.js +63 -0
- data/node_modules/codemirror/addon/lint/json-lint.js +40 -0
- data/node_modules/codemirror/addon/lint/lint.css +73 -0
- data/node_modules/codemirror/addon/lint/lint.js +252 -0
- data/node_modules/codemirror/addon/lint/yaml-lint.js +41 -0
- data/node_modules/codemirror/addon/merge/merge.css +119 -0
- data/node_modules/codemirror/addon/merge/merge.js +1002 -0
- data/node_modules/codemirror/addon/mode/loadmode.js +64 -0
- data/node_modules/codemirror/addon/mode/multiplex.js +131 -0
- data/node_modules/codemirror/addon/mode/multiplex_test.js +33 -0
- data/node_modules/codemirror/addon/mode/overlay.js +90 -0
- data/node_modules/codemirror/addon/mode/simple.js +216 -0
- data/node_modules/codemirror/addon/runmode/colorize.js +40 -0
- data/node_modules/codemirror/addon/runmode/runmode-standalone.js +158 -0
- data/node_modules/codemirror/addon/runmode/runmode.js +72 -0
- data/node_modules/codemirror/addon/runmode/runmode.node.js +197 -0
- data/node_modules/codemirror/addon/scroll/annotatescrollbar.js +122 -0
- data/node_modules/codemirror/addon/scroll/scrollpastend.js +48 -0
- data/node_modules/codemirror/addon/scroll/simplescrollbars.css +66 -0
- data/node_modules/codemirror/addon/scroll/simplescrollbars.js +152 -0
- data/node_modules/codemirror/addon/search/jump-to-line.js +50 -0
- data/node_modules/codemirror/addon/search/match-highlighter.js +165 -0
- data/node_modules/codemirror/addon/search/matchesonscrollbar.css +8 -0
- data/node_modules/codemirror/addon/search/matchesonscrollbar.js +97 -0
- data/node_modules/codemirror/addon/search/search.js +258 -0
- data/node_modules/codemirror/addon/search/searchcursor.js +293 -0
- data/node_modules/codemirror/addon/selection/active-line.js +72 -0
- data/node_modules/codemirror/addon/selection/mark-selection.js +119 -0
- data/node_modules/codemirror/addon/selection/selection-pointer.js +98 -0
- data/node_modules/codemirror/addon/tern/tern.css +87 -0
- data/node_modules/codemirror/addon/tern/tern.js +718 -0
- data/node_modules/codemirror/addon/tern/worker.js +44 -0
- data/node_modules/codemirror/addon/wrap/hardwrap.js +145 -0
- data/node_modules/codemirror/bin/source-highlight +48 -0
- data/node_modules/codemirror/keymap/emacs.js +417 -0
- data/node_modules/codemirror/keymap/sublime.js +691 -0
- data/node_modules/codemirror/keymap/vim.js +5467 -0
- data/node_modules/codemirror/lib/codemirror.css +346 -0
- data/node_modules/codemirror/lib/codemirror.js +9698 -0
- data/node_modules/codemirror/mode/apl/apl.js +174 -0
- data/node_modules/codemirror/mode/asciiarmor/asciiarmor.js +74 -0
- data/node_modules/codemirror/mode/asn.1/asn.1.js +204 -0
- data/node_modules/codemirror/mode/asterisk/asterisk.js +196 -0
- data/node_modules/codemirror/mode/brainfuck/brainfuck.js +85 -0
- data/node_modules/codemirror/mode/clike/clike.js +879 -0
- data/node_modules/codemirror/mode/clojure/clojure.js +292 -0
- data/node_modules/codemirror/mode/cmake/cmake.js +97 -0
- data/node_modules/codemirror/mode/cobol/cobol.js +255 -0
- data/node_modules/codemirror/mode/coffeescript/coffeescript.js +359 -0
- data/node_modules/codemirror/mode/commonlisp/commonlisp.js +124 -0
- data/node_modules/codemirror/mode/crystal/crystal.js +433 -0
- data/node_modules/codemirror/mode/css/css.js +832 -0
- data/node_modules/codemirror/mode/cypher/cypher.js +150 -0
- data/node_modules/codemirror/mode/d/d.js +223 -0
- data/node_modules/codemirror/mode/dart/dart.js +157 -0
- data/node_modules/codemirror/mode/diff/diff.js +47 -0
- data/node_modules/codemirror/mode/django/django.js +356 -0
- data/node_modules/codemirror/mode/dockerfile/dockerfile.js +211 -0
- data/node_modules/codemirror/mode/dtd/dtd.js +142 -0
- data/node_modules/codemirror/mode/dylan/dylan.js +352 -0
- data/node_modules/codemirror/mode/ebnf/ebnf.js +195 -0
- data/node_modules/codemirror/mode/ecl/ecl.js +206 -0
- data/node_modules/codemirror/mode/eiffel/eiffel.js +160 -0
- data/node_modules/codemirror/mode/elm/elm.js +205 -0
- data/node_modules/codemirror/mode/erlang/erlang.js +619 -0
- data/node_modules/codemirror/mode/factor/factor.js +85 -0
- data/node_modules/codemirror/mode/fcl/fcl.js +173 -0
- data/node_modules/codemirror/mode/forth/forth.js +180 -0
- data/node_modules/codemirror/mode/fortran/fortran.js +188 -0
- data/node_modules/codemirror/mode/gas/gas.js +345 -0
- data/node_modules/codemirror/mode/gfm/gfm.js +129 -0
- data/node_modules/codemirror/mode/gherkin/gherkin.js +178 -0
- data/node_modules/codemirror/mode/go/go.js +187 -0
- data/node_modules/codemirror/mode/groovy/groovy.js +230 -0
- data/node_modules/codemirror/mode/haml/haml.js +161 -0
- data/node_modules/codemirror/mode/handlebars/handlebars.js +66 -0
- data/node_modules/codemirror/mode/haskell-literate/haskell-literate.js +43 -0
- data/node_modules/codemirror/mode/haskell/haskell.js +268 -0
- data/node_modules/codemirror/mode/haxe/haxe.js +515 -0
- data/node_modules/codemirror/mode/htmlembedded/htmlembedded.js +37 -0
- data/node_modules/codemirror/mode/htmlmixed/htmlmixed.js +152 -0
- data/node_modules/codemirror/mode/http/http.js +113 -0
- data/node_modules/codemirror/mode/idl/idl.js +290 -0
- data/node_modules/codemirror/mode/javascript/javascript.js +899 -0
- data/node_modules/codemirror/mode/jinja2/jinja2.js +144 -0
- data/node_modules/codemirror/mode/jsx/jsx.js +148 -0
- data/node_modules/codemirror/mode/julia/julia.js +433 -0
- data/node_modules/codemirror/mode/livescript/livescript.js +280 -0
- data/node_modules/codemirror/mode/lua/lua.js +159 -0
- data/node_modules/codemirror/mode/markdown/markdown.js +884 -0
- data/node_modules/codemirror/mode/mathematica/mathematica.js +176 -0
- data/node_modules/codemirror/mode/mbox/mbox.js +129 -0
- data/node_modules/codemirror/mode/meta.js +217 -0
- data/node_modules/codemirror/mode/mirc/mirc.js +193 -0
- data/node_modules/codemirror/mode/mllike/mllike.js +359 -0
- data/node_modules/codemirror/mode/modelica/modelica.js +245 -0
- data/node_modules/codemirror/mode/mscgen/mscgen.js +175 -0
- data/node_modules/codemirror/mode/mumps/mumps.js +148 -0
- data/node_modules/codemirror/mode/nginx/nginx.js +178 -0
- data/node_modules/codemirror/mode/nsis/nsis.js +95 -0
- data/node_modules/codemirror/mode/ntriples/ntriples.js +195 -0
- data/node_modules/codemirror/mode/octave/octave.js +139 -0
- data/node_modules/codemirror/mode/oz/oz.js +252 -0
- data/node_modules/codemirror/mode/pascal/pascal.js +121 -0
- data/node_modules/codemirror/mode/pegjs/pegjs.js +114 -0
- data/node_modules/codemirror/mode/perl/perl.js +837 -0
- data/node_modules/codemirror/mode/php/php.js +234 -0
- data/node_modules/codemirror/mode/pig/pig.js +178 -0
- data/node_modules/codemirror/mode/powershell/powershell.js +398 -0
- data/node_modules/codemirror/mode/properties/properties 2.js +78 -0
- data/node_modules/codemirror/mode/properties/properties.js +78 -0
- data/node_modules/codemirror/mode/protobuf/protobuf.js +69 -0
- data/node_modules/codemirror/mode/pug/pug.js +591 -0
- data/node_modules/codemirror/mode/puppet/puppet.js +220 -0
- data/node_modules/codemirror/mode/python/python.js +409 -0
- data/node_modules/codemirror/mode/q/q.js +139 -0
- data/node_modules/codemirror/mode/r/r.js +190 -0
- data/node_modules/codemirror/mode/rpm/changes/index.html +66 -0
- data/node_modules/codemirror/mode/rpm/rpm.js +109 -0
- data/node_modules/codemirror/mode/rst/rst.js +557 -0
- data/node_modules/codemirror/mode/ruby/ruby.js +296 -0
- data/node_modules/codemirror/mode/rust/rust.js +72 -0
- data/node_modules/codemirror/mode/sas/sas.js +303 -0
- data/node_modules/codemirror/mode/sass/sass.js +454 -0
- data/node_modules/codemirror/mode/scheme/scheme.js +265 -0
- data/node_modules/codemirror/mode/shell/shell.js +152 -0
- data/node_modules/codemirror/mode/sieve/sieve.js +193 -0
- data/node_modules/codemirror/mode/slim/slim.js +575 -0
- data/node_modules/codemirror/mode/smalltalk/smalltalk.js +168 -0
- data/node_modules/codemirror/mode/smarty/smarty.js +225 -0
- data/node_modules/codemirror/mode/solr/solr.js +104 -0
- data/node_modules/codemirror/mode/soy/soy 2.js +359 -0
- data/node_modules/codemirror/mode/soy/soy.js +235 -0
- data/node_modules/codemirror/mode/sparql/sparql.js +180 -0
- data/node_modules/codemirror/mode/spreadsheet/spreadsheet.js +112 -0
- data/node_modules/codemirror/mode/sql/sql.js +499 -0
- data/node_modules/codemirror/mode/stex/stex.js +264 -0
- data/node_modules/codemirror/mode/stylus/stylus.js +771 -0
- data/node_modules/codemirror/mode/swift/swift.js +219 -0
- data/node_modules/codemirror/mode/tcl/tcl.js +139 -0
- data/node_modules/codemirror/mode/textile/textile.js +469 -0
- data/node_modules/codemirror/mode/tiddlywiki/tiddlywiki.css +14 -0
- data/node_modules/codemirror/mode/tiddlywiki/tiddlywiki.js +308 -0
- data/node_modules/codemirror/mode/tiki/tiki.css +26 -0
- data/node_modules/codemirror/mode/tiki/tiki.js +312 -0
- data/node_modules/codemirror/mode/toml/toml.js +88 -0
- data/node_modules/codemirror/mode/tornado/tornado.js +68 -0
- data/node_modules/codemirror/mode/troff/troff.js +84 -0
- data/node_modules/codemirror/mode/ttcn-cfg/ttcn-cfg.js +214 -0
- data/node_modules/codemirror/mode/ttcn/ttcn.js +283 -0
- data/node_modules/codemirror/mode/turtle/turtle.js +162 -0
- data/node_modules/codemirror/mode/twig/twig.js +141 -0
- data/node_modules/codemirror/mode/vb/vb.js +275 -0
- data/node_modules/codemirror/mode/vbscript/vbscript.js +350 -0
- data/node_modules/codemirror/mode/velocity/velocity.js +201 -0
- data/node_modules/codemirror/mode/verilog/verilog.js +675 -0
- data/node_modules/codemirror/mode/vhdl/vhdl.js +189 -0
- data/node_modules/codemirror/mode/vue/vue.js +77 -0
- data/node_modules/codemirror/mode/webidl/webidl.js +195 -0
- data/node_modules/codemirror/mode/xml/xml.js +402 -0
- data/node_modules/codemirror/mode/xquery/xquery.js +448 -0
- data/node_modules/codemirror/mode/yacas/yacas.js +204 -0
- data/node_modules/codemirror/mode/yaml-frontmatter/yaml-frontmatter.js +68 -0
- data/node_modules/codemirror/mode/yaml/yaml.js +120 -0
- data/node_modules/codemirror/mode/z80/z80.js +116 -0
- data/node_modules/codemirror/package.json +2395 -0
- data/node_modules/codemirror/rollup.config.js +20 -0
- data/node_modules/codemirror/src/codemirror.js +3 -0
- data/node_modules/codemirror/src/display/Display.js +106 -0
- data/node_modules/codemirror/src/display/focus.js +47 -0
- data/node_modules/codemirror/src/display/gutters.js +34 -0
- data/node_modules/codemirror/src/display/highlight_worker.js +55 -0
- data/node_modules/codemirror/src/display/line_numbers.js +48 -0
- data/node_modules/codemirror/src/display/mode_state.js +22 -0
- data/node_modules/codemirror/src/display/operations.js +205 -0
- data/node_modules/codemirror/src/display/scroll_events.js +115 -0
- data/node_modules/codemirror/src/display/scrollbars.js +193 -0
- data/node_modules/codemirror/src/display/scrolling.js +184 -0
- data/node_modules/codemirror/src/display/selection.js +158 -0
- data/node_modules/codemirror/src/display/update_display.js +260 -0
- data/node_modules/codemirror/src/display/update_line.js +188 -0
- data/node_modules/codemirror/src/display/update_lines.js +64 -0
- data/node_modules/codemirror/src/display/view_tracking.js +153 -0
- data/node_modules/codemirror/src/edit/CodeMirror.js +215 -0
- data/node_modules/codemirror/src/edit/commands.js +178 -0
- data/node_modules/codemirror/src/edit/deleteNearSelection.js +30 -0
- data/node_modules/codemirror/src/edit/drop_events.js +119 -0
- data/node_modules/codemirror/src/edit/fromTextArea.js +61 -0
- data/node_modules/codemirror/src/edit/global_events.js +42 -0
- data/node_modules/codemirror/src/edit/key_events.js +159 -0
- data/node_modules/codemirror/src/edit/legacy.js +62 -0
- data/node_modules/codemirror/src/edit/main.js +69 -0
- data/node_modules/codemirror/src/edit/methods.js +544 -0
- data/node_modules/codemirror/src/edit/mouse_events.js +407 -0
- data/node_modules/codemirror/src/edit/options.js +193 -0
- data/node_modules/codemirror/src/edit/utils.js +7 -0
- data/node_modules/codemirror/src/input/ContentEditableInput.js +527 -0
- data/node_modules/codemirror/src/input/TextareaInput.js +355 -0
- data/node_modules/codemirror/src/input/indent.js +71 -0
- data/node_modules/codemirror/src/input/input.js +135 -0
- data/node_modules/codemirror/src/input/keymap.js +148 -0
- data/node_modules/codemirror/src/input/keynames.js +17 -0
- data/node_modules/codemirror/src/input/movement.js +110 -0
- data/node_modules/codemirror/src/line/highlight.js +284 -0
- data/node_modules/codemirror/src/line/line_data.js +339 -0
- data/node_modules/codemirror/src/line/pos.js +40 -0
- data/node_modules/codemirror/src/line/saw_special_spans.js +10 -0
- data/node_modules/codemirror/src/line/spans.js +382 -0
- data/node_modules/codemirror/src/line/utils_line.js +85 -0
- data/node_modules/codemirror/src/measurement/position_measurement.js +699 -0
- data/node_modules/codemirror/src/measurement/widgets.js +26 -0
- data/node_modules/codemirror/src/model/Doc.js +432 -0
- data/node_modules/codemirror/src/model/change_measurement.js +61 -0
- data/node_modules/codemirror/src/model/changes.js +333 -0
- data/node_modules/codemirror/src/model/chunk.js +167 -0
- data/node_modules/codemirror/src/model/document_data.js +111 -0
- data/node_modules/codemirror/src/model/history.js +228 -0
- data/node_modules/codemirror/src/model/line_widget.js +78 -0
- data/node_modules/codemirror/src/model/mark_text.js +292 -0
- data/node_modules/codemirror/src/model/selection.js +84 -0
- data/node_modules/codemirror/src/model/selection_updates.js +208 -0
- data/node_modules/codemirror/src/modes.js +96 -0
- data/node_modules/codemirror/src/util/StringStream.js +90 -0
- data/node_modules/codemirror/src/util/bidi.js +214 -0
- data/node_modules/codemirror/src/util/browser.js +33 -0
- data/node_modules/codemirror/src/util/dom.js +97 -0
- data/node_modules/codemirror/src/util/event.js +103 -0
- data/node_modules/codemirror/src/util/feature_detection.js +84 -0
- data/node_modules/codemirror/src/util/misc.js +150 -0
- data/node_modules/codemirror/src/util/operation_group.js +72 -0
- data/node_modules/codemirror/theme/3024-day.css +41 -0
- data/node_modules/codemirror/theme/3024-night.css +39 -0
- data/node_modules/codemirror/theme/abcdef.css +32 -0
- data/node_modules/codemirror/theme/ambiance-mobile.css +5 -0
- data/node_modules/codemirror/theme/ambiance.css +74 -0
- data/node_modules/codemirror/theme/base16-dark.css +38 -0
- data/node_modules/codemirror/theme/base16-light.css +38 -0
- data/node_modules/codemirror/theme/bespin.css +34 -0
- data/node_modules/codemirror/theme/blackboard.css +32 -0
- data/node_modules/codemirror/theme/cobalt.css +25 -0
- data/node_modules/codemirror/theme/colorforth.css +33 -0
- data/node_modules/codemirror/theme/darcula.css +46 -0
- data/node_modules/codemirror/theme/dracula.css +40 -0
- data/node_modules/codemirror/theme/duotone-dark.css +35 -0
- data/node_modules/codemirror/theme/duotone-light.css +36 -0
- data/node_modules/codemirror/theme/eclipse.css +23 -0
- data/node_modules/codemirror/theme/elegant.css +13 -0
- data/node_modules/codemirror/theme/erlang-dark.css +34 -0
- data/node_modules/codemirror/theme/gruvbox-dark.css +37 -0
- data/node_modules/codemirror/theme/hopscotch.css +34 -0
- data/node_modules/codemirror/theme/icecoder.css +43 -0
- data/node_modules/codemirror/theme/idea.css +42 -0
- data/node_modules/codemirror/theme/isotope.css +34 -0
- data/node_modules/codemirror/theme/lesser-dark.css +47 -0
- data/node_modules/codemirror/theme/liquibyte.css +95 -0
- data/node_modules/codemirror/theme/lucario.css +37 -0
- data/node_modules/codemirror/theme/material.css +53 -0
- data/node_modules/codemirror/theme/mbo.css +37 -0
- data/node_modules/codemirror/theme/mdn-like.css +46 -0
- data/node_modules/codemirror/theme/midnight.css +43 -0
- data/node_modules/codemirror/theme/monokai.css +41 -0
- data/node_modules/codemirror/theme/neat.css +12 -0
- data/node_modules/codemirror/theme/neo.css +43 -0
- data/node_modules/codemirror/theme/night.css +27 -0
- data/node_modules/codemirror/theme/oceanic-next.css +44 -0
- data/node_modules/codemirror/theme/panda-syntax.css +85 -0
- data/node_modules/codemirror/theme/paraiso-dark.css +38 -0
- data/node_modules/codemirror/theme/paraiso-light.css +38 -0
- data/node_modules/codemirror/theme/pastel-on-dark.css +52 -0
- data/node_modules/codemirror/theme/railscasts.css +34 -0
- data/node_modules/codemirror/theme/rubyblue.css +25 -0
- data/node_modules/codemirror/theme/seti.css +44 -0
- data/node_modules/codemirror/theme/shadowfox.css +52 -0
- data/node_modules/codemirror/theme/solarized.css +168 -0
- data/node_modules/codemirror/theme/ssms.css +16 -0
- data/node_modules/codemirror/theme/the-matrix.css +30 -0
- data/node_modules/codemirror/theme/tomorrow-night-bright.css +35 -0
- data/node_modules/codemirror/theme/tomorrow-night-eighties.css +38 -0
- data/node_modules/codemirror/theme/ttcn.css +64 -0
- data/node_modules/codemirror/theme/twilight.css +32 -0
- data/node_modules/codemirror/theme/vibrant-ink.css +34 -0
- data/node_modules/codemirror/theme/xq-dark.css +53 -0
- data/node_modules/codemirror/theme/xq-light.css +43 -0
- data/node_modules/codemirror/theme/yeti.css +44 -0
- data/node_modules/codemirror/theme/zenburn.css +37 -0
- data/node_modules/marked/.editorconfig +16 -0
- data/node_modules/marked/.eslintignore +1 -0
- data/node_modules/marked/.eslintrc.json +28 -0
- data/node_modules/marked/.package 2.json.icloud +0 -0
- data/node_modules/marked/.travis.yml +47 -0
- data/node_modules/marked/Makefile +15 -0
- data/node_modules/marked/Makefile 2 +15 -0
- data/node_modules/marked/README 2.md +75 -0
- data/node_modules/marked/README.md +75 -0
- data/node_modules/marked/bin/marked +199 -0
- data/node_modules/marked/bower.json +23 -0
- data/node_modules/marked/component.json +10 -0
- data/node_modules/marked/index.js +1 -0
- data/node_modules/marked/jasmine.json +11 -0
- data/node_modules/marked/lib/marked 2.js +1604 -0
- data/node_modules/marked/lib/marked.js +1604 -0
- data/node_modules/marked/man/marked.1 +91 -0
- data/node_modules/marked/man/marked.1.txt +96 -0
- data/node_modules/marked/marked.min.js +6 -0
- data/node_modules/marked/package.json +95 -0
- data/node_modules/simplemde/.eslintrc +23 -0
- data/node_modules/simplemde/.npmignore +9 -0
- data/node_modules/simplemde/.travis.yml +18 -0
- data/node_modules/simplemde/CONTRIBUTING 2.md +10 -0
- data/node_modules/simplemde/CONTRIBUTING.md +10 -0
- data/node_modules/simplemde/LICENSE +22 -0
- data/node_modules/simplemde/README.md +331 -0
- data/node_modules/simplemde/bower.json +23 -0
- data/node_modules/simplemde/debug/.simplemde 2.css.icloud +0 -0
- data/node_modules/simplemde/debug/simplemde.css +676 -0
- data/node_modules/simplemde/debug/simplemde.debug.js +17023 -0
- data/node_modules/simplemde/debug/simplemde.js +17019 -0
- data/node_modules/simplemde/dist/simplemde.min.css +7 -0
- data/node_modules/simplemde/dist/simplemde.min.js +15 -0
- data/node_modules/simplemde/gulpfile.js +96 -0
- data/node_modules/simplemde/package.json +73 -0
- data/node_modules/simplemde/src/css/simplemde.css +328 -0
- data/node_modules/simplemde/src/js/codemirror/tablist 2.js +44 -0
- data/node_modules/simplemde/src/js/codemirror/tablist.js +44 -0
- data/node_modules/simplemde/src/js/simplemde.js +2028 -0
- data/node_modules/typo-js/README.md +45 -0
- data/node_modules/typo-js/dictionaries/en_US/.en_US 2.dic.icloud +0 -0
- data/node_modules/typo-js/dictionaries/en_US/README.md +7 -0
- data/node_modules/typo-js/dictionaries/en_US/en_US.aff +201 -0
- data/node_modules/typo-js/dictionaries/en_US/en_US.dic +62120 -0
- data/node_modules/typo-js/package.json +56 -0
- data/node_modules/typo-js/typo.js +931 -0
- data/package-lock.json +40 -0
- data/package.json +7 -0
- metadata +557 -0
@@ -0,0 +1,292 @@
|
|
1
|
+
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
2
|
+
// Distributed under an MIT license: https://codemirror.net/LICENSE
|
3
|
+
|
4
|
+
(function(mod) {
|
5
|
+
if (typeof exports === "object" && typeof module === "object") // CommonJS
|
6
|
+
mod(require("../../lib/codemirror"));
|
7
|
+
else if (typeof define === "function" && define.amd) // AMD
|
8
|
+
define(["../../lib/codemirror"], mod);
|
9
|
+
else // Plain browser env
|
10
|
+
mod(CodeMirror);
|
11
|
+
})(function(CodeMirror) {
|
12
|
+
"use strict";
|
13
|
+
|
14
|
+
CodeMirror.defineMode("clojure", function (options) {
|
15
|
+
var atoms = ["false", "nil", "true"];
|
16
|
+
var specialForms = [".", "catch", "def", "do", "if", "monitor-enter",
|
17
|
+
"monitor-exit", "new", "quote", "recur", "set!", "throw", "try", "var"];
|
18
|
+
var coreSymbols = ["*", "*'", "*1", "*2", "*3", "*agent*",
|
19
|
+
"*allow-unresolved-vars*", "*assert*", "*clojure-version*",
|
20
|
+
"*command-line-args*", "*compile-files*", "*compile-path*",
|
21
|
+
"*compiler-options*", "*data-readers*", "*default-data-reader-fn*", "*e",
|
22
|
+
"*err*", "*file*", "*flush-on-newline*", "*fn-loader*", "*in*",
|
23
|
+
"*math-context*", "*ns*", "*out*", "*print-dup*", "*print-length*",
|
24
|
+
"*print-level*", "*print-meta*", "*print-namespace-maps*",
|
25
|
+
"*print-readably*", "*read-eval*", "*reader-resolver*", "*source-path*",
|
26
|
+
"*suppress-read*", "*unchecked-math*", "*use-context-classloader*",
|
27
|
+
"*verbose-defrecords*", "*warn-on-reflection*", "+", "+'", "-", "-'",
|
28
|
+
"->", "->>", "->ArrayChunk", "->Eduction", "->Vec", "->VecNode",
|
29
|
+
"->VecSeq", "-cache-protocol-fn", "-reset-methods", "..", "/", "<", "<=",
|
30
|
+
"=", "==", ">", ">=", "EMPTY-NODE", "Inst", "StackTraceElement->vec",
|
31
|
+
"Throwable->map", "accessor", "aclone", "add-classpath", "add-watch",
|
32
|
+
"agent", "agent-error", "agent-errors", "aget", "alength", "alias",
|
33
|
+
"all-ns", "alter", "alter-meta!", "alter-var-root", "amap", "ancestors",
|
34
|
+
"and", "any?", "apply", "areduce", "array-map", "as->", "aset",
|
35
|
+
"aset-boolean", "aset-byte", "aset-char", "aset-double", "aset-float",
|
36
|
+
"aset-int", "aset-long", "aset-short", "assert", "assoc", "assoc!",
|
37
|
+
"assoc-in", "associative?", "atom", "await", "await-for", "await1",
|
38
|
+
"bases", "bean", "bigdec", "bigint", "biginteger", "binding", "bit-and",
|
39
|
+
"bit-and-not", "bit-clear", "bit-flip", "bit-not", "bit-or", "bit-set",
|
40
|
+
"bit-shift-left", "bit-shift-right", "bit-test", "bit-xor", "boolean",
|
41
|
+
"boolean-array", "boolean?", "booleans", "bound-fn", "bound-fn*",
|
42
|
+
"bound?", "bounded-count", "butlast", "byte", "byte-array", "bytes",
|
43
|
+
"bytes?", "case", "cast", "cat", "char", "char-array",
|
44
|
+
"char-escape-string", "char-name-string", "char?", "chars", "chunk",
|
45
|
+
"chunk-append", "chunk-buffer", "chunk-cons", "chunk-first", "chunk-next",
|
46
|
+
"chunk-rest", "chunked-seq?", "class", "class?", "clear-agent-errors",
|
47
|
+
"clojure-version", "coll?", "comment", "commute", "comp", "comparator",
|
48
|
+
"compare", "compare-and-set!", "compile", "complement", "completing",
|
49
|
+
"concat", "cond", "cond->", "cond->>", "condp", "conj", "conj!", "cons",
|
50
|
+
"constantly", "construct-proxy", "contains?", "count", "counted?",
|
51
|
+
"create-ns", "create-struct", "cycle", "dec", "dec'", "decimal?",
|
52
|
+
"declare", "dedupe", "default-data-readers", "definline", "definterface",
|
53
|
+
"defmacro", "defmethod", "defmulti", "defn", "defn-", "defonce",
|
54
|
+
"defprotocol", "defrecord", "defstruct", "deftype", "delay", "delay?",
|
55
|
+
"deliver", "denominator", "deref", "derive", "descendants", "destructure",
|
56
|
+
"disj", "disj!", "dissoc", "dissoc!", "distinct", "distinct?", "doall",
|
57
|
+
"dorun", "doseq", "dosync", "dotimes", "doto", "double", "double-array",
|
58
|
+
"double?", "doubles", "drop", "drop-last", "drop-while", "eduction",
|
59
|
+
"empty", "empty?", "ensure", "ensure-reduced", "enumeration-seq",
|
60
|
+
"error-handler", "error-mode", "eval", "even?", "every-pred", "every?",
|
61
|
+
"ex-data", "ex-info", "extend", "extend-protocol", "extend-type",
|
62
|
+
"extenders", "extends?", "false?", "ffirst", "file-seq", "filter",
|
63
|
+
"filterv", "find", "find-keyword", "find-ns", "find-protocol-impl",
|
64
|
+
"find-protocol-method", "find-var", "first", "flatten", "float",
|
65
|
+
"float-array", "float?", "floats", "flush", "fn", "fn?", "fnext", "fnil",
|
66
|
+
"for", "force", "format", "frequencies", "future", "future-call",
|
67
|
+
"future-cancel", "future-cancelled?", "future-done?", "future?",
|
68
|
+
"gen-class", "gen-interface", "gensym", "get", "get-in", "get-method",
|
69
|
+
"get-proxy-class", "get-thread-bindings", "get-validator", "group-by",
|
70
|
+
"halt-when", "hash", "hash-combine", "hash-map", "hash-ordered-coll",
|
71
|
+
"hash-set", "hash-unordered-coll", "ident?", "identical?", "identity",
|
72
|
+
"if-let", "if-not", "if-some", "ifn?", "import", "in-ns", "inc", "inc'",
|
73
|
+
"indexed?", "init-proxy", "inst-ms", "inst-ms*", "inst?", "instance?",
|
74
|
+
"int", "int-array", "int?", "integer?", "interleave", "intern",
|
75
|
+
"interpose", "into", "into-array", "ints", "io!", "isa?", "iterate",
|
76
|
+
"iterator-seq", "juxt", "keep", "keep-indexed", "key", "keys", "keyword",
|
77
|
+
"keyword?", "last", "lazy-cat", "lazy-seq", "let", "letfn", "line-seq",
|
78
|
+
"list", "list*", "list?", "load", "load-file", "load-reader",
|
79
|
+
"load-string", "loaded-libs", "locking", "long", "long-array", "longs",
|
80
|
+
"loop", "macroexpand", "macroexpand-1", "make-array", "make-hierarchy",
|
81
|
+
"map", "map-entry?", "map-indexed", "map?", "mapcat", "mapv", "max",
|
82
|
+
"max-key", "memfn", "memoize", "merge", "merge-with", "meta",
|
83
|
+
"method-sig", "methods", "min", "min-key", "mix-collection-hash", "mod",
|
84
|
+
"munge", "name", "namespace", "namespace-munge", "nat-int?", "neg-int?",
|
85
|
+
"neg?", "newline", "next", "nfirst", "nil?", "nnext", "not", "not-any?",
|
86
|
+
"not-empty", "not-every?", "not=", "ns", "ns-aliases", "ns-imports",
|
87
|
+
"ns-interns", "ns-map", "ns-name", "ns-publics", "ns-refers",
|
88
|
+
"ns-resolve", "ns-unalias", "ns-unmap", "nth", "nthnext", "nthrest",
|
89
|
+
"num", "number?", "numerator", "object-array", "odd?", "or", "parents",
|
90
|
+
"partial", "partition", "partition-all", "partition-by", "pcalls", "peek",
|
91
|
+
"persistent!", "pmap", "pop", "pop!", "pop-thread-bindings", "pos-int?",
|
92
|
+
"pos?", "pr", "pr-str", "prefer-method", "prefers",
|
93
|
+
"primitives-classnames", "print", "print-ctor", "print-dup",
|
94
|
+
"print-method", "print-simple", "print-str", "printf", "println",
|
95
|
+
"println-str", "prn", "prn-str", "promise", "proxy",
|
96
|
+
"proxy-call-with-super", "proxy-mappings", "proxy-name", "proxy-super",
|
97
|
+
"push-thread-bindings", "pvalues", "qualified-ident?",
|
98
|
+
"qualified-keyword?", "qualified-symbol?", "quot", "rand", "rand-int",
|
99
|
+
"rand-nth", "random-sample", "range", "ratio?", "rational?",
|
100
|
+
"rationalize", "re-find", "re-groups", "re-matcher", "re-matches",
|
101
|
+
"re-pattern", "re-seq", "read", "read-line", "read-string",
|
102
|
+
"reader-conditional", "reader-conditional?", "realized?", "record?",
|
103
|
+
"reduce", "reduce-kv", "reduced", "reduced?", "reductions", "ref",
|
104
|
+
"ref-history-count", "ref-max-history", "ref-min-history", "ref-set",
|
105
|
+
"refer", "refer-clojure", "reify", "release-pending-sends", "rem",
|
106
|
+
"remove", "remove-all-methods", "remove-method", "remove-ns",
|
107
|
+
"remove-watch", "repeat", "repeatedly", "replace", "replicate", "require",
|
108
|
+
"reset!", "reset-meta!", "reset-vals!", "resolve", "rest",
|
109
|
+
"restart-agent", "resultset-seq", "reverse", "reversible?", "rseq",
|
110
|
+
"rsubseq", "run!", "satisfies?", "second", "select-keys", "send",
|
111
|
+
"send-off", "send-via", "seq", "seq?", "seqable?", "seque", "sequence",
|
112
|
+
"sequential?", "set", "set-agent-send-executor!",
|
113
|
+
"set-agent-send-off-executor!", "set-error-handler!", "set-error-mode!",
|
114
|
+
"set-validator!", "set?", "short", "short-array", "shorts", "shuffle",
|
115
|
+
"shutdown-agents", "simple-ident?", "simple-keyword?", "simple-symbol?",
|
116
|
+
"slurp", "some", "some->", "some->>", "some-fn", "some?", "sort",
|
117
|
+
"sort-by", "sorted-map", "sorted-map-by", "sorted-set", "sorted-set-by",
|
118
|
+
"sorted?", "special-symbol?", "spit", "split-at", "split-with", "str",
|
119
|
+
"string?", "struct", "struct-map", "subs", "subseq", "subvec", "supers",
|
120
|
+
"swap!", "swap-vals!", "symbol", "symbol?", "sync", "tagged-literal",
|
121
|
+
"tagged-literal?", "take", "take-last", "take-nth", "take-while", "test",
|
122
|
+
"the-ns", "thread-bound?", "time", "to-array", "to-array-2d",
|
123
|
+
"trampoline", "transduce", "transient", "tree-seq", "true?", "type",
|
124
|
+
"unchecked-add", "unchecked-add-int", "unchecked-byte", "unchecked-char",
|
125
|
+
"unchecked-dec", "unchecked-dec-int", "unchecked-divide-int",
|
126
|
+
"unchecked-double", "unchecked-float", "unchecked-inc",
|
127
|
+
"unchecked-inc-int", "unchecked-int", "unchecked-long",
|
128
|
+
"unchecked-multiply", "unchecked-multiply-int", "unchecked-negate",
|
129
|
+
"unchecked-negate-int", "unchecked-remainder-int", "unchecked-short",
|
130
|
+
"unchecked-subtract", "unchecked-subtract-int", "underive", "unquote",
|
131
|
+
"unquote-splicing", "unreduced", "unsigned-bit-shift-right", "update",
|
132
|
+
"update-in", "update-proxy", "uri?", "use", "uuid?", "val", "vals",
|
133
|
+
"var-get", "var-set", "var?", "vary-meta", "vec", "vector", "vector-of",
|
134
|
+
"vector?", "volatile!", "volatile?", "vreset!", "vswap!", "when",
|
135
|
+
"when-first", "when-let", "when-not", "when-some", "while",
|
136
|
+
"with-bindings", "with-bindings*", "with-in-str", "with-loading-context",
|
137
|
+
"with-local-vars", "with-meta", "with-open", "with-out-str",
|
138
|
+
"with-precision", "with-redefs", "with-redefs-fn", "xml-seq", "zero?",
|
139
|
+
"zipmap"];
|
140
|
+
var haveBodyParameter = [
|
141
|
+
"->", "->>", "as->", "binding", "bound-fn", "case", "catch", "comment",
|
142
|
+
"cond", "cond->", "cond->>", "condp", "def", "definterface", "defmethod",
|
143
|
+
"defn", "defmacro", "defprotocol", "defrecord", "defstruct", "deftype",
|
144
|
+
"do", "doseq", "dotimes", "doto", "extend", "extend-protocol",
|
145
|
+
"extend-type", "fn", "for", "future", "if", "if-let", "if-not", "if-some",
|
146
|
+
"let", "letfn", "locking", "loop", "ns", "proxy", "reify", "struct-map",
|
147
|
+
"some->", "some->>", "try", "when", "when-first", "when-let", "when-not",
|
148
|
+
"when-some", "while", "with-bindings", "with-bindings*", "with-in-str",
|
149
|
+
"with-loading-context", "with-local-vars", "with-meta", "with-open",
|
150
|
+
"with-out-str", "with-precision", "with-redefs", "with-redefs-fn"];
|
151
|
+
|
152
|
+
CodeMirror.registerHelper("hintWords", "clojure",
|
153
|
+
[].concat(atoms, specialForms, coreSymbols));
|
154
|
+
|
155
|
+
var atom = createLookupMap(atoms);
|
156
|
+
var specialForm = createLookupMap(specialForms);
|
157
|
+
var coreSymbol = createLookupMap(coreSymbols);
|
158
|
+
var hasBodyParameter = createLookupMap(haveBodyParameter);
|
159
|
+
var delimiter = /^(?:[\\\[\]\s"(),;@^`{}~]|$)/;
|
160
|
+
var numberLiteral = /^(?:[+\-]?\d+(?:(?:N|(?:[eE][+\-]?\d+))|(?:\.?\d*(?:M|(?:[eE][+\-]?\d+))?)|\/\d+|[xX][0-9a-fA-F]+|r[0-9a-zA-Z]+)?(?=[\\\[\]\s"#'(),;@^`{}~]|$))/;
|
161
|
+
var characterLiteral = /^(?:\\(?:backspace|formfeed|newline|return|space|tab|o[0-7]{3}|u[0-9A-Fa-f]{4}|x[0-9A-Fa-f]{4}|.)?(?=[\\\[\]\s"(),;@^`{}~]|$))/;
|
162
|
+
|
163
|
+
// simple-namespace := /^[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*/
|
164
|
+
// simple-symbol := /^(?:\/|[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)/
|
165
|
+
// qualified-symbol := (<simple-namespace>(<.><simple-namespace>)*</>)?<simple-symbol>
|
166
|
+
var qualifiedSymbol = /^(?:(?:[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*(?:\.[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*\/)?(?:\/|[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*(?=[\\\[\]\s"(),;@^`{}~]|$))/;
|
167
|
+
|
168
|
+
function base(stream, state) {
|
169
|
+
if (stream.eatSpace()) return ["space", null];
|
170
|
+
if (stream.match(numberLiteral)) return [null, "number"];
|
171
|
+
if (stream.match(characterLiteral)) return [null, "string-2"];
|
172
|
+
if (stream.eat(/^"/)) return (state.tokenize = inString)(stream, state);
|
173
|
+
if (stream.eat(/^[(\[{]/)) return ["open", "bracket"];
|
174
|
+
if (stream.eat(/^[)\]}]/)) return ["close", "bracket"];
|
175
|
+
if (stream.eat(/^;/)) {stream.skipToEnd(); return ["space", "comment"];}
|
176
|
+
if (stream.eat(/^[#'@^`~]/)) return [null, "meta"];
|
177
|
+
|
178
|
+
var matches = stream.match(qualifiedSymbol);
|
179
|
+
var symbol = matches && matches[0];
|
180
|
+
|
181
|
+
if (!symbol) {
|
182
|
+
// advance stream by at least one character so we don't get stuck.
|
183
|
+
stream.next();
|
184
|
+
stream.eatWhile(function (c) {return !is(c, delimiter);});
|
185
|
+
return [null, "error"];
|
186
|
+
}
|
187
|
+
|
188
|
+
if (symbol === "comment" && state.lastToken === "(")
|
189
|
+
return (state.tokenize = inComment)(stream, state);
|
190
|
+
if (is(symbol, atom) || symbol.charAt(0) === ":") return ["symbol", "atom"];
|
191
|
+
if (is(symbol, specialForm) || is(symbol, coreSymbol)) return ["symbol", "keyword"];
|
192
|
+
if (state.lastToken === "(") return ["symbol", "builtin"]; // other operator
|
193
|
+
|
194
|
+
return ["symbol", "variable"];
|
195
|
+
}
|
196
|
+
|
197
|
+
function inString(stream, state) {
|
198
|
+
var escaped = false, next;
|
199
|
+
|
200
|
+
while (next = stream.next()) {
|
201
|
+
if (next === "\"" && !escaped) {state.tokenize = base; break;}
|
202
|
+
escaped = !escaped && next === "\\";
|
203
|
+
}
|
204
|
+
|
205
|
+
return [null, "string"];
|
206
|
+
}
|
207
|
+
|
208
|
+
function inComment(stream, state) {
|
209
|
+
var parenthesisCount = 1;
|
210
|
+
var next;
|
211
|
+
|
212
|
+
while (next = stream.next()) {
|
213
|
+
if (next === ")") parenthesisCount--;
|
214
|
+
if (next === "(") parenthesisCount++;
|
215
|
+
if (parenthesisCount === 0) {
|
216
|
+
stream.backUp(1);
|
217
|
+
state.tokenize = base;
|
218
|
+
break;
|
219
|
+
}
|
220
|
+
}
|
221
|
+
|
222
|
+
return ["space", "comment"];
|
223
|
+
}
|
224
|
+
|
225
|
+
function createLookupMap(words) {
|
226
|
+
var obj = {};
|
227
|
+
|
228
|
+
for (var i = 0; i < words.length; ++i) obj[words[i]] = true;
|
229
|
+
|
230
|
+
return obj;
|
231
|
+
}
|
232
|
+
|
233
|
+
function is(value, test) {
|
234
|
+
if (test instanceof RegExp) return test.test(value);
|
235
|
+
if (test instanceof Object) return test.propertyIsEnumerable(value);
|
236
|
+
}
|
237
|
+
|
238
|
+
return {
|
239
|
+
startState: function () {
|
240
|
+
return {
|
241
|
+
ctx: {prev: null, start: 0, indentTo: 0},
|
242
|
+
lastToken: null,
|
243
|
+
tokenize: base
|
244
|
+
};
|
245
|
+
},
|
246
|
+
|
247
|
+
token: function (stream, state) {
|
248
|
+
if (stream.sol() && (typeof state.ctx.indentTo !== "number"))
|
249
|
+
state.ctx.indentTo = state.ctx.start + 1;
|
250
|
+
|
251
|
+
var typeStylePair = state.tokenize(stream, state);
|
252
|
+
var type = typeStylePair[0];
|
253
|
+
var style = typeStylePair[1];
|
254
|
+
var current = stream.current();
|
255
|
+
|
256
|
+
if (type !== "space") {
|
257
|
+
if (state.lastToken === "(" && state.ctx.indentTo === null) {
|
258
|
+
if (type === "symbol" && is(current, hasBodyParameter))
|
259
|
+
state.ctx.indentTo = state.ctx.start + options.indentUnit;
|
260
|
+
else state.ctx.indentTo = "next";
|
261
|
+
} else if (state.ctx.indentTo === "next") {
|
262
|
+
state.ctx.indentTo = stream.column();
|
263
|
+
}
|
264
|
+
|
265
|
+
state.lastToken = current;
|
266
|
+
}
|
267
|
+
|
268
|
+
if (type === "open")
|
269
|
+
state.ctx = {prev: state.ctx, start: stream.column(), indentTo: null};
|
270
|
+
else if (type === "close") state.ctx = state.ctx.prev || state.ctx;
|
271
|
+
|
272
|
+
return style;
|
273
|
+
},
|
274
|
+
|
275
|
+
indent: function (state) {
|
276
|
+
var i = state.ctx.indentTo;
|
277
|
+
|
278
|
+
return (typeof i === "number") ?
|
279
|
+
i :
|
280
|
+
state.ctx.start + 1;
|
281
|
+
},
|
282
|
+
|
283
|
+
closeBrackets: {pairs: "()[]{}\"\""},
|
284
|
+
lineComment: ";;"
|
285
|
+
};
|
286
|
+
});
|
287
|
+
|
288
|
+
CodeMirror.defineMIME("text/x-clojure", "clojure");
|
289
|
+
CodeMirror.defineMIME("text/x-clojurescript", "clojure");
|
290
|
+
CodeMirror.defineMIME("application/edn", "clojure");
|
291
|
+
|
292
|
+
});
|
@@ -0,0 +1,97 @@
|
|
1
|
+
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
2
|
+
// Distributed under an MIT license: https://codemirror.net/LICENSE
|
3
|
+
|
4
|
+
(function(mod) {
|
5
|
+
if (typeof exports == "object" && typeof module == "object")
|
6
|
+
mod(require("../../lib/codemirror"));
|
7
|
+
else if (typeof define == "function" && define.amd)
|
8
|
+
define(["../../lib/codemirror"], mod);
|
9
|
+
else
|
10
|
+
mod(CodeMirror);
|
11
|
+
})(function(CodeMirror) {
|
12
|
+
"use strict";
|
13
|
+
|
14
|
+
CodeMirror.defineMode("cmake", function () {
|
15
|
+
var variable_regex = /({)?[a-zA-Z0-9_]+(})?/;
|
16
|
+
|
17
|
+
function tokenString(stream, state) {
|
18
|
+
var current, prev, found_var = false;
|
19
|
+
while (!stream.eol() && (current = stream.next()) != state.pending) {
|
20
|
+
if (current === '$' && prev != '\\' && state.pending == '"') {
|
21
|
+
found_var = true;
|
22
|
+
break;
|
23
|
+
}
|
24
|
+
prev = current;
|
25
|
+
}
|
26
|
+
if (found_var) {
|
27
|
+
stream.backUp(1);
|
28
|
+
}
|
29
|
+
if (current == state.pending) {
|
30
|
+
state.continueString = false;
|
31
|
+
} else {
|
32
|
+
state.continueString = true;
|
33
|
+
}
|
34
|
+
return "string";
|
35
|
+
}
|
36
|
+
|
37
|
+
function tokenize(stream, state) {
|
38
|
+
var ch = stream.next();
|
39
|
+
|
40
|
+
// Have we found a variable?
|
41
|
+
if (ch === '$') {
|
42
|
+
if (stream.match(variable_regex)) {
|
43
|
+
return 'variable-2';
|
44
|
+
}
|
45
|
+
return 'variable';
|
46
|
+
}
|
47
|
+
// Should we still be looking for the end of a string?
|
48
|
+
if (state.continueString) {
|
49
|
+
// If so, go through the loop again
|
50
|
+
stream.backUp(1);
|
51
|
+
return tokenString(stream, state);
|
52
|
+
}
|
53
|
+
// Do we just have a function on our hands?
|
54
|
+
// In 'cmake_minimum_required (VERSION 2.8.8)', 'cmake_minimum_required' is matched
|
55
|
+
if (stream.match(/(\s+)?\w+\(/) || stream.match(/(\s+)?\w+\ \(/)) {
|
56
|
+
stream.backUp(1);
|
57
|
+
return 'def';
|
58
|
+
}
|
59
|
+
if (ch == "#") {
|
60
|
+
stream.skipToEnd();
|
61
|
+
return "comment";
|
62
|
+
}
|
63
|
+
// Have we found a string?
|
64
|
+
if (ch == "'" || ch == '"') {
|
65
|
+
// Store the type (single or double)
|
66
|
+
state.pending = ch;
|
67
|
+
// Perform the looping function to find the end
|
68
|
+
return tokenString(stream, state);
|
69
|
+
}
|
70
|
+
if (ch == '(' || ch == ')') {
|
71
|
+
return 'bracket';
|
72
|
+
}
|
73
|
+
if (ch.match(/[0-9]/)) {
|
74
|
+
return 'number';
|
75
|
+
}
|
76
|
+
stream.eatWhile(/[\w-]/);
|
77
|
+
return null;
|
78
|
+
}
|
79
|
+
return {
|
80
|
+
startState: function () {
|
81
|
+
var state = {};
|
82
|
+
state.inDefinition = false;
|
83
|
+
state.inInclude = false;
|
84
|
+
state.continueString = false;
|
85
|
+
state.pending = false;
|
86
|
+
return state;
|
87
|
+
},
|
88
|
+
token: function (stream, state) {
|
89
|
+
if (stream.eatSpace()) return null;
|
90
|
+
return tokenize(stream, state);
|
91
|
+
}
|
92
|
+
};
|
93
|
+
});
|
94
|
+
|
95
|
+
CodeMirror.defineMIME("text/x-cmake", "cmake");
|
96
|
+
|
97
|
+
});
|
@@ -0,0 +1,255 @@
|
|
1
|
+
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
2
|
+
// Distributed under an MIT license: https://codemirror.net/LICENSE
|
3
|
+
|
4
|
+
/**
|
5
|
+
* Author: Gautam Mehta
|
6
|
+
* Branched from CodeMirror's Scheme mode
|
7
|
+
*/
|
8
|
+
(function(mod) {
|
9
|
+
if (typeof exports == "object" && typeof module == "object") // CommonJS
|
10
|
+
mod(require("../../lib/codemirror"));
|
11
|
+
else if (typeof define == "function" && define.amd) // AMD
|
12
|
+
define(["../../lib/codemirror"], mod);
|
13
|
+
else // Plain browser env
|
14
|
+
mod(CodeMirror);
|
15
|
+
})(function(CodeMirror) {
|
16
|
+
"use strict";
|
17
|
+
|
18
|
+
CodeMirror.defineMode("cobol", function () {
|
19
|
+
var BUILTIN = "builtin", COMMENT = "comment", STRING = "string",
|
20
|
+
ATOM = "atom", NUMBER = "number", KEYWORD = "keyword", MODTAG = "header",
|
21
|
+
COBOLLINENUM = "def", PERIOD = "link";
|
22
|
+
function makeKeywords(str) {
|
23
|
+
var obj = {}, words = str.split(" ");
|
24
|
+
for (var i = 0; i < words.length; ++i) obj[words[i]] = true;
|
25
|
+
return obj;
|
26
|
+
}
|
27
|
+
var atoms = makeKeywords("TRUE FALSE ZEROES ZEROS ZERO SPACES SPACE LOW-VALUE LOW-VALUES ");
|
28
|
+
var keywords = makeKeywords(
|
29
|
+
"ACCEPT ACCESS ACQUIRE ADD ADDRESS " +
|
30
|
+
"ADVANCING AFTER ALIAS ALL ALPHABET " +
|
31
|
+
"ALPHABETIC ALPHABETIC-LOWER ALPHABETIC-UPPER ALPHANUMERIC ALPHANUMERIC-EDITED " +
|
32
|
+
"ALSO ALTER ALTERNATE AND ANY " +
|
33
|
+
"ARE AREA AREAS ARITHMETIC ASCENDING " +
|
34
|
+
"ASSIGN AT ATTRIBUTE AUTHOR AUTO " +
|
35
|
+
"AUTO-SKIP AUTOMATIC B-AND B-EXOR B-LESS " +
|
36
|
+
"B-NOT B-OR BACKGROUND-COLOR BACKGROUND-COLOUR BEEP " +
|
37
|
+
"BEFORE BELL BINARY BIT BITS " +
|
38
|
+
"BLANK BLINK BLOCK BOOLEAN BOTTOM " +
|
39
|
+
"BY CALL CANCEL CD CF " +
|
40
|
+
"CH CHARACTER CHARACTERS CLASS CLOCK-UNITS " +
|
41
|
+
"CLOSE COBOL CODE CODE-SET COL " +
|
42
|
+
"COLLATING COLUMN COMMA COMMIT COMMITMENT " +
|
43
|
+
"COMMON COMMUNICATION COMP COMP-0 COMP-1 " +
|
44
|
+
"COMP-2 COMP-3 COMP-4 COMP-5 COMP-6 " +
|
45
|
+
"COMP-7 COMP-8 COMP-9 COMPUTATIONAL COMPUTATIONAL-0 " +
|
46
|
+
"COMPUTATIONAL-1 COMPUTATIONAL-2 COMPUTATIONAL-3 COMPUTATIONAL-4 COMPUTATIONAL-5 " +
|
47
|
+
"COMPUTATIONAL-6 COMPUTATIONAL-7 COMPUTATIONAL-8 COMPUTATIONAL-9 COMPUTE " +
|
48
|
+
"CONFIGURATION CONNECT CONSOLE CONTAINED CONTAINS " +
|
49
|
+
"CONTENT CONTINUE CONTROL CONTROL-AREA CONTROLS " +
|
50
|
+
"CONVERTING COPY CORR CORRESPONDING COUNT " +
|
51
|
+
"CRT CRT-UNDER CURRENCY CURRENT CURSOR " +
|
52
|
+
"DATA DATE DATE-COMPILED DATE-WRITTEN DAY " +
|
53
|
+
"DAY-OF-WEEK DB DB-ACCESS-CONTROL-KEY DB-DATA-NAME DB-EXCEPTION " +
|
54
|
+
"DB-FORMAT-NAME DB-RECORD-NAME DB-SET-NAME DB-STATUS DBCS " +
|
55
|
+
"DBCS-EDITED DE DEBUG-CONTENTS DEBUG-ITEM DEBUG-LINE " +
|
56
|
+
"DEBUG-NAME DEBUG-SUB-1 DEBUG-SUB-2 DEBUG-SUB-3 DEBUGGING " +
|
57
|
+
"DECIMAL-POINT DECLARATIVES DEFAULT DELETE DELIMITED " +
|
58
|
+
"DELIMITER DEPENDING DESCENDING DESCRIBED DESTINATION " +
|
59
|
+
"DETAIL DISABLE DISCONNECT DISPLAY DISPLAY-1 " +
|
60
|
+
"DISPLAY-2 DISPLAY-3 DISPLAY-4 DISPLAY-5 DISPLAY-6 " +
|
61
|
+
"DISPLAY-7 DISPLAY-8 DISPLAY-9 DIVIDE DIVISION " +
|
62
|
+
"DOWN DROP DUPLICATE DUPLICATES DYNAMIC " +
|
63
|
+
"EBCDIC EGI EJECT ELSE EMI " +
|
64
|
+
"EMPTY EMPTY-CHECK ENABLE END END. END-ACCEPT END-ACCEPT. " +
|
65
|
+
"END-ADD END-CALL END-COMPUTE END-DELETE END-DISPLAY " +
|
66
|
+
"END-DIVIDE END-EVALUATE END-IF END-INVOKE END-MULTIPLY " +
|
67
|
+
"END-OF-PAGE END-PERFORM END-READ END-RECEIVE END-RETURN " +
|
68
|
+
"END-REWRITE END-SEARCH END-START END-STRING END-SUBTRACT " +
|
69
|
+
"END-UNSTRING END-WRITE END-XML ENTER ENTRY " +
|
70
|
+
"ENVIRONMENT EOP EQUAL EQUALS ERASE " +
|
71
|
+
"ERROR ESI EVALUATE EVERY EXCEEDS " +
|
72
|
+
"EXCEPTION EXCLUSIVE EXIT EXTEND EXTERNAL " +
|
73
|
+
"EXTERNALLY-DESCRIBED-KEY FD FETCH FILE FILE-CONTROL " +
|
74
|
+
"FILE-STREAM FILES FILLER FINAL FIND " +
|
75
|
+
"FINISH FIRST FOOTING FOR FOREGROUND-COLOR " +
|
76
|
+
"FOREGROUND-COLOUR FORMAT FREE FROM FULL " +
|
77
|
+
"FUNCTION GENERATE GET GIVING GLOBAL " +
|
78
|
+
"GO GOBACK GREATER GROUP HEADING " +
|
79
|
+
"HIGH-VALUE HIGH-VALUES HIGHLIGHT I-O I-O-CONTROL " +
|
80
|
+
"ID IDENTIFICATION IF IN INDEX " +
|
81
|
+
"INDEX-1 INDEX-2 INDEX-3 INDEX-4 INDEX-5 " +
|
82
|
+
"INDEX-6 INDEX-7 INDEX-8 INDEX-9 INDEXED " +
|
83
|
+
"INDIC INDICATE INDICATOR INDICATORS INITIAL " +
|
84
|
+
"INITIALIZE INITIATE INPUT INPUT-OUTPUT INSPECT " +
|
85
|
+
"INSTALLATION INTO INVALID INVOKE IS " +
|
86
|
+
"JUST JUSTIFIED KANJI KEEP KEY " +
|
87
|
+
"LABEL LAST LD LEADING LEFT " +
|
88
|
+
"LEFT-JUSTIFY LENGTH LENGTH-CHECK LESS LIBRARY " +
|
89
|
+
"LIKE LIMIT LIMITS LINAGE LINAGE-COUNTER " +
|
90
|
+
"LINE LINE-COUNTER LINES LINKAGE LOCAL-STORAGE " +
|
91
|
+
"LOCALE LOCALLY LOCK " +
|
92
|
+
"MEMBER MEMORY MERGE MESSAGE METACLASS " +
|
93
|
+
"MODE MODIFIED MODIFY MODULES MOVE " +
|
94
|
+
"MULTIPLE MULTIPLY NATIONAL NATIVE NEGATIVE " +
|
95
|
+
"NEXT NO NO-ECHO NONE NOT " +
|
96
|
+
"NULL NULL-KEY-MAP NULL-MAP NULLS NUMBER " +
|
97
|
+
"NUMERIC NUMERIC-EDITED OBJECT OBJECT-COMPUTER OCCURS " +
|
98
|
+
"OF OFF OMITTED ON ONLY " +
|
99
|
+
"OPEN OPTIONAL OR ORDER ORGANIZATION " +
|
100
|
+
"OTHER OUTPUT OVERFLOW OWNER PACKED-DECIMAL " +
|
101
|
+
"PADDING PAGE PAGE-COUNTER PARSE PERFORM " +
|
102
|
+
"PF PH PIC PICTURE PLUS " +
|
103
|
+
"POINTER POSITION POSITIVE PREFIX PRESENT " +
|
104
|
+
"PRINTING PRIOR PROCEDURE PROCEDURE-POINTER PROCEDURES " +
|
105
|
+
"PROCEED PROCESS PROCESSING PROGRAM PROGRAM-ID " +
|
106
|
+
"PROMPT PROTECTED PURGE QUEUE QUOTE " +
|
107
|
+
"QUOTES RANDOM RD READ READY " +
|
108
|
+
"REALM RECEIVE RECONNECT RECORD RECORD-NAME " +
|
109
|
+
"RECORDS RECURSIVE REDEFINES REEL REFERENCE " +
|
110
|
+
"REFERENCE-MONITOR REFERENCES RELATION RELATIVE RELEASE " +
|
111
|
+
"REMAINDER REMOVAL RENAMES REPEATED REPLACE " +
|
112
|
+
"REPLACING REPORT REPORTING REPORTS REPOSITORY " +
|
113
|
+
"REQUIRED RERUN RESERVE RESET RETAINING " +
|
114
|
+
"RETRIEVAL RETURN RETURN-CODE RETURNING REVERSE-VIDEO " +
|
115
|
+
"REVERSED REWIND REWRITE RF RH " +
|
116
|
+
"RIGHT RIGHT-JUSTIFY ROLLBACK ROLLING ROUNDED " +
|
117
|
+
"RUN SAME SCREEN SD SEARCH " +
|
118
|
+
"SECTION SECURE SECURITY SEGMENT SEGMENT-LIMIT " +
|
119
|
+
"SELECT SEND SENTENCE SEPARATE SEQUENCE " +
|
120
|
+
"SEQUENTIAL SET SHARED SIGN SIZE " +
|
121
|
+
"SKIP1 SKIP2 SKIP3 SORT SORT-MERGE " +
|
122
|
+
"SORT-RETURN SOURCE SOURCE-COMPUTER SPACE-FILL " +
|
123
|
+
"SPECIAL-NAMES STANDARD STANDARD-1 STANDARD-2 " +
|
124
|
+
"START STARTING STATUS STOP STORE " +
|
125
|
+
"STRING SUB-QUEUE-1 SUB-QUEUE-2 SUB-QUEUE-3 SUB-SCHEMA " +
|
126
|
+
"SUBFILE SUBSTITUTE SUBTRACT SUM SUPPRESS " +
|
127
|
+
"SYMBOLIC SYNC SYNCHRONIZED SYSIN SYSOUT " +
|
128
|
+
"TABLE TALLYING TAPE TENANT TERMINAL " +
|
129
|
+
"TERMINATE TEST TEXT THAN THEN " +
|
130
|
+
"THROUGH THRU TIME TIMES TITLE " +
|
131
|
+
"TO TOP TRAILING TRAILING-SIGN TRANSACTION " +
|
132
|
+
"TYPE TYPEDEF UNDERLINE UNEQUAL UNIT " +
|
133
|
+
"UNSTRING UNTIL UP UPDATE UPON " +
|
134
|
+
"USAGE USAGE-MODE USE USING VALID " +
|
135
|
+
"VALIDATE VALUE VALUES VARYING VLR " +
|
136
|
+
"WAIT WHEN WHEN-COMPILED WITH WITHIN " +
|
137
|
+
"WORDS WORKING-STORAGE WRITE XML XML-CODE " +
|
138
|
+
"XML-EVENT XML-NTEXT XML-TEXT ZERO ZERO-FILL " );
|
139
|
+
|
140
|
+
var builtins = makeKeywords("- * ** / + < <= = > >= ");
|
141
|
+
var tests = {
|
142
|
+
digit: /\d/,
|
143
|
+
digit_or_colon: /[\d:]/,
|
144
|
+
hex: /[0-9a-f]/i,
|
145
|
+
sign: /[+-]/,
|
146
|
+
exponent: /e/i,
|
147
|
+
keyword_char: /[^\s\(\[\;\)\]]/,
|
148
|
+
symbol: /[\w*+\-]/
|
149
|
+
};
|
150
|
+
function isNumber(ch, stream){
|
151
|
+
// hex
|
152
|
+
if ( ch === '0' && stream.eat(/x/i) ) {
|
153
|
+
stream.eatWhile(tests.hex);
|
154
|
+
return true;
|
155
|
+
}
|
156
|
+
// leading sign
|
157
|
+
if ( ( ch == '+' || ch == '-' ) && ( tests.digit.test(stream.peek()) ) ) {
|
158
|
+
stream.eat(tests.sign);
|
159
|
+
ch = stream.next();
|
160
|
+
}
|
161
|
+
if ( tests.digit.test(ch) ) {
|
162
|
+
stream.eat(ch);
|
163
|
+
stream.eatWhile(tests.digit);
|
164
|
+
if ( '.' == stream.peek()) {
|
165
|
+
stream.eat('.');
|
166
|
+
stream.eatWhile(tests.digit);
|
167
|
+
}
|
168
|
+
if ( stream.eat(tests.exponent) ) {
|
169
|
+
stream.eat(tests.sign);
|
170
|
+
stream.eatWhile(tests.digit);
|
171
|
+
}
|
172
|
+
return true;
|
173
|
+
}
|
174
|
+
return false;
|
175
|
+
}
|
176
|
+
return {
|
177
|
+
startState: function () {
|
178
|
+
return {
|
179
|
+
indentStack: null,
|
180
|
+
indentation: 0,
|
181
|
+
mode: false
|
182
|
+
};
|
183
|
+
},
|
184
|
+
token: function (stream, state) {
|
185
|
+
if (state.indentStack == null && stream.sol()) {
|
186
|
+
// update indentation, but only if indentStack is empty
|
187
|
+
state.indentation = 6 ; //stream.indentation();
|
188
|
+
}
|
189
|
+
// skip spaces
|
190
|
+
if (stream.eatSpace()) {
|
191
|
+
return null;
|
192
|
+
}
|
193
|
+
var returnType = null;
|
194
|
+
switch(state.mode){
|
195
|
+
case "string": // multi-line string parsing mode
|
196
|
+
var next = false;
|
197
|
+
while ((next = stream.next()) != null) {
|
198
|
+
if (next == "\"" || next == "\'") {
|
199
|
+
state.mode = false;
|
200
|
+
break;
|
201
|
+
}
|
202
|
+
}
|
203
|
+
returnType = STRING; // continue on in string mode
|
204
|
+
break;
|
205
|
+
default: // default parsing mode
|
206
|
+
var ch = stream.next();
|
207
|
+
var col = stream.column();
|
208
|
+
if (col >= 0 && col <= 5) {
|
209
|
+
returnType = COBOLLINENUM;
|
210
|
+
} else if (col >= 72 && col <= 79) {
|
211
|
+
stream.skipToEnd();
|
212
|
+
returnType = MODTAG;
|
213
|
+
} else if (ch == "*" && col == 6) { // comment
|
214
|
+
stream.skipToEnd(); // rest of the line is a comment
|
215
|
+
returnType = COMMENT;
|
216
|
+
} else if (ch == "\"" || ch == "\'") {
|
217
|
+
state.mode = "string";
|
218
|
+
returnType = STRING;
|
219
|
+
} else if (ch == "'" && !( tests.digit_or_colon.test(stream.peek()) )) {
|
220
|
+
returnType = ATOM;
|
221
|
+
} else if (ch == ".") {
|
222
|
+
returnType = PERIOD;
|
223
|
+
} else if (isNumber(ch,stream)){
|
224
|
+
returnType = NUMBER;
|
225
|
+
} else {
|
226
|
+
if (stream.current().match(tests.symbol)) {
|
227
|
+
while (col < 71) {
|
228
|
+
if (stream.eat(tests.symbol) === undefined) {
|
229
|
+
break;
|
230
|
+
} else {
|
231
|
+
col++;
|
232
|
+
}
|
233
|
+
}
|
234
|
+
}
|
235
|
+
if (keywords && keywords.propertyIsEnumerable(stream.current().toUpperCase())) {
|
236
|
+
returnType = KEYWORD;
|
237
|
+
} else if (builtins && builtins.propertyIsEnumerable(stream.current().toUpperCase())) {
|
238
|
+
returnType = BUILTIN;
|
239
|
+
} else if (atoms && atoms.propertyIsEnumerable(stream.current().toUpperCase())) {
|
240
|
+
returnType = ATOM;
|
241
|
+
} else returnType = null;
|
242
|
+
}
|
243
|
+
}
|
244
|
+
return returnType;
|
245
|
+
},
|
246
|
+
indent: function (state) {
|
247
|
+
if (state.indentStack == null) return state.indentation;
|
248
|
+
return state.indentStack.indent;
|
249
|
+
}
|
250
|
+
};
|
251
|
+
});
|
252
|
+
|
253
|
+
CodeMirror.defineMIME("text/x-cobol", "cobol");
|
254
|
+
|
255
|
+
});
|