Commit

commit d78f066dbc5fdd419eafa738196867d8216088af
Author: Jan Dankert 
Date:   Sun Dec 17 01:14:09 2017 +0100

    Integration eines weiteren Code-Editors: Codemirror. Demnächst müssen wir hier mal aufräumen und andere Editoren rauswerfen.

 modules/cms-core/action/IndexAction.class.php      |   18 +-
 modules/editor/codemirror/lib/codemirror.css       |  346 +
 modules/editor/codemirror/lib/codemirror.js        | 9653 ++++++++++++++++++++
 modules/editor/codemirror/lib/codemirror.min.js    |    0
 modules/editor/codemirror/mode/apl/apl.js          |  174 +
 modules/editor/codemirror/mode/apl/index.html      |   72 +
 .../codemirror/mode/asciiarmor/asciiarmor.js       |   74 +
 .../editor/codemirror/mode/asciiarmor/index.html   |   46 +
 modules/editor/codemirror/mode/asn.1/asn.1.js      |  204 +
 modules/editor/codemirror/mode/asn.1/index.html    |   77 +
 .../editor/codemirror/mode/asterisk/asterisk.js    |  196 +
 modules/editor/codemirror/mode/asterisk/index.html |  154 +
 .../editor/codemirror/mode/brainfuck/brainfuck.js  |   85 +
 .../editor/codemirror/mode/brainfuck/index.html    |   85 +
 modules/editor/codemirror/mode/clike/clike.js      |  790 ++
 modules/editor/codemirror/mode/clike/index.html    |  360 +
 modules/editor/codemirror/mode/clike/scala.html    |  767 ++
 modules/editor/codemirror/mode/clike/test.js       |   59 +
 modules/editor/codemirror/mode/clojure/clojure.js  |  306 +
 modules/editor/codemirror/mode/clojure/index.html  |   91 +
 modules/editor/codemirror/mode/cmake/cmake.js      |   97 +
 modules/editor/codemirror/mode/cmake/index.html    |  129 +
 modules/editor/codemirror/mode/cobol/cobol.js      |  255 +
 modules/editor/codemirror/mode/cobol/index.html    |  210 +
 .../codemirror/mode/coffeescript/coffeescript.js   |  359 +
 .../editor/codemirror/mode/coffeescript/index.html |  740 ++
 .../codemirror/mode/commonlisp/commonlisp.js       |  124 +
 .../editor/codemirror/mode/commonlisp/index.html   |  177 +
 modules/editor/codemirror/mode/crystal/crystal.js  |  433 +
 modules/editor/codemirror/mode/crystal/index.html  |  116 +
 modules/editor/codemirror/mode/css/css.js          |  832 ++
 modules/editor/codemirror/mode/css/gss.html        |  103 +
 modules/editor/codemirror/mode/css/gss_test.js     |   17 +
 modules/editor/codemirror/mode/css/index.html      |   75 +
 modules/editor/codemirror/mode/css/less.html       |  152 +
 modules/editor/codemirror/mode/css/less_test.js    |   54 +
 modules/editor/codemirror/mode/css/scss.html       |  157 +
 modules/editor/codemirror/mode/css/scss_test.js    |  110 +
 modules/editor/codemirror/mode/css/test.js         |  206 +
 modules/editor/codemirror/mode/cypher/cypher.js    |  150 +
 modules/editor/codemirror/mode/cypher/index.html   |   63 +
 modules/editor/codemirror/mode/cypher/test.js      |   37 +
 modules/editor/codemirror/mode/d/d.js              |  218 +
 modules/editor/codemirror/mode/d/index.html        |  273 +
 modules/editor/codemirror/mode/d/test.js           |   11 +
 modules/editor/codemirror/mode/dart/dart.js        |  157 +
 modules/editor/codemirror/mode/dart/index.html     |   71 +
 modules/editor/codemirror/mode/diff/diff.js        |   47 +
 modules/editor/codemirror/mode/diff/index.html     |  117 +
 modules/editor/codemirror/mode/django/django.js    |  356 +
 modules/editor/codemirror/mode/django/index.html   |   73 +
 .../codemirror/mode/dockerfile/dockerfile.js       |   79 +
 .../editor/codemirror/mode/dockerfile/index.html   |   73 +
 modules/editor/codemirror/mode/dtd/dtd.js          |  142 +
 modules/editor/codemirror/mode/dtd/index.html      |   89 +
 modules/editor/codemirror/mode/dylan/dylan.js      |  352 +
 modules/editor/codemirror/mode/dylan/index.html    |  407 +
 modules/editor/codemirror/mode/dylan/test.js       |   88 +
 modules/editor/codemirror/mode/ebnf/ebnf.js        |  195 +
 modules/editor/codemirror/mode/ebnf/index.html     |  102 +
 modules/editor/codemirror/mode/ecl/ecl.js          |  206 +
 modules/editor/codemirror/mode/ecl/index.html      |   52 +
 modules/editor/codemirror/mode/eiffel/eiffel.js    |  160 +
 modules/editor/codemirror/mode/eiffel/index.html   |  429 +
 modules/editor/codemirror/mode/elm/elm.js          |  205 +
 modules/editor/codemirror/mode/elm/index.html      |   61 +
 modules/editor/codemirror/mode/erlang/erlang.js    |  619 ++
 modules/editor/codemirror/mode/erlang/index.html   |   76 +
 modules/editor/codemirror/mode/factor/factor.js    |   85 +
 modules/editor/codemirror/mode/factor/index.html   |   77 +
 modules/editor/codemirror/mode/fcl/fcl.js          |  173 +
 modules/editor/codemirror/mode/fcl/index.html      |  108 +
 modules/editor/codemirror/mode/forth/forth.js      |  180 +
 modules/editor/codemirror/mode/forth/index.html    |   75 +
 modules/editor/codemirror/mode/fortran/fortran.js  |  188 +
 modules/editor/codemirror/mode/fortran/index.html  |   81 +
 modules/editor/codemirror/mode/gas/gas.js          |  345 +
 modules/editor/codemirror/mode/gas/index.html      |   68 +
 modules/editor/codemirror/mode/gfm/gfm.js          |  129 +
 modules/editor/codemirror/mode/gfm/index.html      |  136 +
 modules/editor/codemirror/mode/gfm/test.js         |  198 +
 modules/editor/codemirror/mode/gherkin/gherkin.js  |  178 +
 modules/editor/codemirror/mode/gherkin/index.html  |   48 +
 modules/editor/codemirror/mode/go/go.js            |  187 +
 modules/editor/codemirror/mode/go/index.html       |   85 +
 modules/editor/codemirror/mode/groovy/groovy.js    |  230 +
 modules/editor/codemirror/mode/groovy/index.html   |   84 +
 modules/editor/codemirror/mode/haml/haml.js        |  161 +
 modules/editor/codemirror/mode/haml/index.html     |   79 +
 modules/editor/codemirror/mode/haml/test.js        |   97 +
 .../codemirror/mode/handlebars/handlebars.js       |   62 +
 .../editor/codemirror/mode/handlebars/index.html   |   79 +
 .../mode/haskell-literate/haskell-literate.js      |   43 +
 .../codemirror/mode/haskell-literate/index.html    |  282 +
 modules/editor/codemirror/mode/haskell/haskell.js  |  267 +
 modules/editor/codemirror/mode/haskell/index.html  |   73 +
 modules/editor/codemirror/mode/haxe/haxe.js        |  515 ++
 modules/editor/codemirror/mode/haxe/index.html     |  124 +
 .../codemirror/mode/htmlembedded/htmlembedded.js   |   28 +
 .../editor/codemirror/mode/htmlembedded/index.html |   60 +
 .../editor/codemirror/mode/htmlmixed/htmlmixed.js  |  152 +
 .../editor/codemirror/mode/htmlmixed/index.html    |  100 +
 modules/editor/codemirror/mode/http/http.js        |  113 +
 modules/editor/codemirror/mode/http/index.html     |   45 +
 modules/editor/codemirror/mode/idl/idl.js          |  290 +
 modules/editor/codemirror/mode/idl/index.html      |   64 +
 modules/editor/codemirror/mode/index.html          |  165 +
 .../editor/codemirror/mode/javascript/index.html   |  114 +
 .../codemirror/mode/javascript/javascript.js       |  875 ++
 .../editor/codemirror/mode/javascript/json-ld.html |   72 +
 modules/editor/codemirror/mode/javascript/test.js  |  423 +
 .../codemirror/mode/javascript/typescript.html     |   61 +
 modules/editor/codemirror/mode/jinja2/index.html   |   54 +
 modules/editor/codemirror/mode/jinja2/jinja2.js    |  142 +
 modules/editor/codemirror/mode/jsx/index.html      |   89 +
 modules/editor/codemirror/mode/jsx/jsx.js          |  148 +
 modules/editor/codemirror/mode/jsx/test.js         |   88 +
 modules/editor/codemirror/mode/julia/index.html    |  195 +
 modules/editor/codemirror/mode/julia/julia.js      |  418 +
 .../editor/codemirror/mode/livescript/index.html   |  459 +
 .../codemirror/mode/livescript/livescript.js       |  280 +
 modules/editor/codemirror/mode/lua/index.html      |   85 +
 modules/editor/codemirror/mode/lua/lua.js          |  159 +
 modules/editor/codemirror/mode/markdown/index.html |  411 +
 .../editor/codemirror/mode/markdown/markdown.js    |  861 ++
 modules/editor/codemirror/mode/markdown/test.js    | 1289 +++
 .../editor/codemirror/mode/mathematica/index.html  |   72 +
 .../codemirror/mode/mathematica/mathematica.js     |  176 +
 modules/editor/codemirror/mode/mbox/index.html     |   44 +
 modules/editor/codemirror/mode/mbox/mbox.js        |  129 +
 modules/editor/codemirror/mode/meta.js             |  216 +
 modules/editor/codemirror/mode/mirc/index.html     |  160 +
 modules/editor/codemirror/mode/mirc/mirc.js        |  193 +
 modules/editor/codemirror/mode/mllike/index.html   |  179 +
 modules/editor/codemirror/mode/mllike/mllike.js    |  208 +
 modules/editor/codemirror/mode/modelica/index.html |   67 +
 .../editor/codemirror/mode/modelica/modelica.js    |  245 +
 modules/editor/codemirror/mode/mscgen/index.html   |  151 +
 modules/editor/codemirror/mode/mscgen/mscgen.js    |  175 +
 .../editor/codemirror/mode/mscgen/mscgen_test.js   |   83 +
 .../editor/codemirror/mode/mscgen/msgenny_test.js  |   76 +
 modules/editor/codemirror/mode/mscgen/xu_test.js   |   86 +
 modules/editor/codemirror/mode/mumps/index.html    |   85 +
 modules/editor/codemirror/mode/mumps/mumps.js      |  148 +
 modules/editor/codemirror/mode/nginx/index.html    |  181 +
 modules/editor/codemirror/mode/nginx/nginx.js      |  178 +
 modules/editor/codemirror/mode/nsis/index.html     |   80 +
 modules/editor/codemirror/mode/nsis/nsis.js        |   95 +
 modules/editor/codemirror/mode/ntriples/index.html |   70 +
 .../editor/codemirror/mode/ntriples/ntriples.js    |  195 +
 modules/editor/codemirror/mode/octave/index.html   |   83 +
 modules/editor/codemirror/mode/octave/octave.js    |  139 +
 modules/editor/codemirror/mode/oz/index.html       |   59 +
 modules/editor/codemirror/mode/oz/oz.js            |  252 +
 modules/editor/codemirror/mode/pascal/index.html   |   61 +
 modules/editor/codemirror/mode/pascal/pascal.js    |  109 +
 modules/editor/codemirror/mode/pegjs/index.html    |   66 +
 modules/editor/codemirror/mode/pegjs/pegjs.js      |  114 +
 modules/editor/codemirror/mode/perl/index.html     |   75 +
 modules/editor/codemirror/mode/perl/perl.js        |  837 ++
 modules/editor/codemirror/mode/php/index.html      |   64 +
 modules/editor/codemirror/mode/php/php.js          |  234 +
 modules/editor/codemirror/mode/php/test.js         |  154 +
 modules/editor/codemirror/mode/pig/index.html      |   53 +
 modules/editor/codemirror/mode/pig/pig.js          |  178 +
 .../editor/codemirror/mode/powershell/index.html   |  204 +
 .../codemirror/mode/powershell/powershell.js       |  398 +
 modules/editor/codemirror/mode/powershell/test.js  |   74 +
 .../editor/codemirror/mode/properties/index.html   |   53 +
 .../codemirror/mode/properties/properties.js       |   78 +
 modules/editor/codemirror/mode/protobuf/index.html |  104 +
 .../editor/codemirror/mode/protobuf/protobuf.js    |   69 +
 modules/editor/codemirror/mode/pug/index.html      |   70 +
 modules/editor/codemirror/mode/pug/pug.js          |  591 ++
 modules/editor/codemirror/mode/puppet/index.html   |  121 +
 modules/editor/codemirror/mode/puppet/puppet.js    |  220 +
 modules/editor/codemirror/mode/python/index.html   |  198 +
 modules/editor/codemirror/mode/python/python.js    |  334 +
 modules/editor/codemirror/mode/python/test.js      |   35 +
 modules/editor/codemirror/mode/q/index.html        |  144 +
 modules/editor/codemirror/mode/q/q.js              |  139 +
 modules/editor/codemirror/mode/r/index.html        |   88 +
 modules/editor/codemirror/mode/r/r.js              |  183 +
 .../editor/codemirror/mode/rpm/changes/index.html  |   66 +
 modules/editor/codemirror/mode/rpm/index.html      |  149 +
 modules/editor/codemirror/mode/rpm/rpm.js          |  109 +
 modules/editor/codemirror/mode/rst/index.html      |  535 ++
 modules/editor/codemirror/mode/rst/rst.js          |  557 ++
 modules/editor/codemirror/mode/ruby/index.html     |  183 +
 modules/editor/codemirror/mode/ruby/ruby.js        |  296 +
 modules/editor/codemirror/mode/ruby/test.js        |   16 +
 modules/editor/codemirror/mode/rust/index.html     |   64 +
 modules/editor/codemirror/mode/rust/rust.js        |   72 +
 modules/editor/codemirror/mode/rust/test.js        |   39 +
 modules/editor/codemirror/mode/sas/index.html      |   81 +
 modules/editor/codemirror/mode/sas/sas.js          |  303 +
 modules/editor/codemirror/mode/sass/index.html     |   68 +
 modules/editor/codemirror/mode/sass/sass.js        |  454 +
 modules/editor/codemirror/mode/sass/test.js        |  122 +
 modules/editor/codemirror/mode/scheme/index.html   |   77 +
 modules/editor/codemirror/mode/scheme/scheme.js    |  249 +
 modules/editor/codemirror/mode/shell/index.html    |   66 +
 modules/editor/codemirror/mode/shell/shell.js      |  142 +
 modules/editor/codemirror/mode/shell/test.js       |   64 +
 modules/editor/codemirror/mode/sieve/index.html    |   93 +
 modules/editor/codemirror/mode/sieve/sieve.js      |  193 +
 modules/editor/codemirror/mode/slim/index.html     |   96 +
 modules/editor/codemirror/mode/slim/slim.js        |  575 ++
 modules/editor/codemirror/mode/slim/test.js        |   96 +
 .../editor/codemirror/mode/smalltalk/index.html    |   68 +
 .../editor/codemirror/mode/smalltalk/smalltalk.js  |  168 +
 modules/editor/codemirror/mode/smarty/index.html   |  138 +
 modules/editor/codemirror/mode/smarty/smarty.js    |  225 +
 modules/editor/codemirror/mode/solr/index.html     |   57 +
 modules/editor/codemirror/mode/solr/solr.js        |  104 +
 modules/editor/codemirror/mode/soy/index.html      |   68 +
 modules/editor/codemirror/mode/soy/soy.js          |  354 +
 modules/editor/codemirror/mode/soy/test.js         |  114 +
 modules/editor/codemirror/mode/sparql/index.html   |   61 +
 modules/editor/codemirror/mode/sparql/sparql.js    |  180 +
 .../editor/codemirror/mode/spreadsheet/index.html  |   42 +
 .../codemirror/mode/spreadsheet/spreadsheet.js     |  112 +
 modules/editor/codemirror/mode/sql/index.html      |   88 +
 modules/editor/codemirror/mode/sql/sql.js          |  488 +
 modules/editor/codemirror/mode/stex/index.html     |  110 +
 modules/editor/codemirror/mode/stex/stex.js        |  251 +
 modules/editor/codemirror/mode/stex/test.js        |  123 +
 modules/editor/codemirror/mode/stylus/index.html   |  106 +
 modules/editor/codemirror/mode/stylus/stylus.js    |  771 ++
 modules/editor/codemirror/mode/swift/index.html    |   88 +
 modules/editor/codemirror/mode/swift/swift.js      |  210 +
 modules/editor/codemirror/mode/swift/test.js       |  149 +
 modules/editor/codemirror/mode/tcl/index.html      |  142 +
 modules/editor/codemirror/mode/tcl/tcl.js          |  139 +
 modules/editor/codemirror/mode/textile/index.html  |  191 +
 modules/editor/codemirror/mode/textile/test.js     |  417 +
 modules/editor/codemirror/mode/textile/textile.js  |  469 +
 .../editor/codemirror/mode/tiddlywiki/index.html   |  154 +
 .../codemirror/mode/tiddlywiki/tiddlywiki.css      |   14 +
 .../codemirror/mode/tiddlywiki/tiddlywiki.js       |  308 +
 modules/editor/codemirror/mode/tiki/index.html     |   95 +
 modules/editor/codemirror/mode/tiki/tiki.css       |   26 +
 modules/editor/codemirror/mode/tiki/tiki.js        |  312 +
 modules/editor/codemirror/mode/toml/index.html     |   73 +
 modules/editor/codemirror/mode/toml/toml.js        |   88 +
 modules/editor/codemirror/mode/tornado/index.html  |   63 +
 modules/editor/codemirror/mode/tornado/tornado.js  |   68 +
 modules/editor/codemirror/mode/troff/index.html    |  146 +
 modules/editor/codemirror/mode/troff/troff.js      |   84 +
 modules/editor/codemirror/mode/ttcn-cfg/index.html |  115 +
 .../editor/codemirror/mode/ttcn-cfg/ttcn-cfg.js    |  214 +
 modules/editor/codemirror/mode/ttcn/index.html     |  118 +
 modules/editor/codemirror/mode/ttcn/ttcn.js        |  283 +
 modules/editor/codemirror/mode/turtle/index.html   |   50 +
 modules/editor/codemirror/mode/turtle/turtle.js    |  162 +
 modules/editor/codemirror/mode/twig/index.html     |   45 +
 modules/editor/codemirror/mode/twig/twig.js        |  141 +
 modules/editor/codemirror/mode/vb/index.html       |   49 +
 modules/editor/codemirror/mode/vb/vb.js            |  275 +
 modules/editor/codemirror/mode/vbscript/index.html |   55 +
 .../editor/codemirror/mode/vbscript/vbscript.js    |  350 +
 modules/editor/codemirror/mode/velocity/index.html |  120 +
 .../editor/codemirror/mode/velocity/velocity.js    |  201 +
 modules/editor/codemirror/mode/verilog/index.html  |  120 +
 modules/editor/codemirror/mode/verilog/test.js     |  273 +
 modules/editor/codemirror/mode/verilog/verilog.js  |  675 ++
 modules/editor/codemirror/mode/vhdl/index.html     |   95 +
 modules/editor/codemirror/mode/vhdl/vhdl.js        |  189 +
 modules/editor/codemirror/mode/vue/index.html      |   69 +
 modules/editor/codemirror/mode/vue/vue.js          |   77 +
 modules/editor/codemirror/mode/webidl/index.html   |   71 +
 modules/editor/codemirror/mode/webidl/webidl.js    |  195 +
 modules/editor/codemirror/mode/xml/index.html      |   61 +
 modules/editor/codemirror/mode/xml/test.js         |   51 +
 modules/editor/codemirror/mode/xml/xml.js          |  394 +
 modules/editor/codemirror/mode/xquery/index.html   |  210 +
 modules/editor/codemirror/mode/xquery/test.js      |   67 +
 modules/editor/codemirror/mode/xquery/xquery.js    |  448 +
 modules/editor/codemirror/mode/yacas/index.html    |   87 +
 modules/editor/codemirror/mode/yacas/yacas.js      |  204 +
 .../codemirror/mode/yaml-frontmatter/index.html    |  121 +
 .../mode/yaml-frontmatter/yaml-frontmatter.js      |   68 +
 modules/editor/codemirror/mode/yaml/index.html     |   80 +
 modules/editor/codemirror/mode/yaml/yaml.js        |  118 +
 modules/editor/codemirror/mode/z80/index.html      |   53 +
 modules/editor/codemirror/mode/z80/z80.js          |  116 +
 modules/editor/codemirror/require.php              |    5 +
 .../components/html/editor/editor.js               |   20 +-
 .../components/html/editor/editor.min.js           |   88 +-
 themes/default/layout/index.php                    |    1 +
 290 files changed, 61027 insertions(+), 97 deletions(-)