mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-25 12:34:45 -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
4
public/vendor/codemirror/mode/erlang/erlang.js
vendored
Executable file → Normal file
4
public/vendor/codemirror/mode/erlang/erlang.js
vendored
Executable file → Normal file
|
@ -220,8 +220,6 @@ CodeMirror.defineMode("erlang", function(cmCfg) {
|
|||
}else{
|
||||
return rval(state,stream,"function");
|
||||
}
|
||||
}else if (is_member(w,operatorAtomWords)) {
|
||||
return rval(state,stream,"operator");
|
||||
}else if (lookahead(stream) == ":") {
|
||||
if (w == "erlang") {
|
||||
return rval(state,stream,"builtin");
|
||||
|
@ -230,8 +228,6 @@ CodeMirror.defineMode("erlang", function(cmCfg) {
|
|||
}
|
||||
}else if (is_member(w,["true","false"])) {
|
||||
return rval(state,stream,"boolean");
|
||||
}else if (is_member(w,["true","false"])) {
|
||||
return rval(state,stream,"boolean");
|
||||
}else{
|
||||
return rval(state,stream,"atom");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue