mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-23 03:27:05 -04:00
Upgrade CodeMirror to 5.10.1 and now support fullscreen, jump-to-line in editor
This commit is contained in:
parent
ce65e58096
commit
eaa8ccaccb
381 changed files with 6726 additions and 2636 deletions
3
public/vendor/codemirror/mode/clojure/clojure.js
vendored
Executable file → Normal file
3
public/vendor/codemirror/mode/clojure/clojure.js
vendored
Executable file → Normal file
|
@ -96,6 +96,9 @@ CodeMirror.defineMode("clojure", function (options) {
|
|||
if ( '.' == stream.peek() ) {
|
||||
stream.eat('.');
|
||||
stream.eatWhile(tests.digit);
|
||||
} else if ('/' == stream.peek() ) {
|
||||
stream.eat('/');
|
||||
stream.eatWhile(tests.digit);
|
||||
}
|
||||
|
||||
if ( stream.eat(tests.exponent) ) {
|
||||
|
|
3
public/vendor/codemirror/mode/clojure/index.html
vendored
Executable file → Normal file
3
public/vendor/codemirror/mode/clojure/index.html
vendored
Executable file → Normal file
|
@ -78,6 +78,9 @@
|
|||
\tab \return \backspace
|
||||
\u1000 \uAaAa \u9F9F)
|
||||
|
||||
;; Let's play with numbers
|
||||
(+ 1 -1 1/2 -1/2 -0.5 0.5)
|
||||
|
||||
</textarea></form>
|
||||
<script>
|
||||
var editor = CodeMirror.fromTextArea(document.getElementById("code"), {});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue