Upgrade CodeMirror to 5.10.1 and now support fullscreen, jump-to-line in editor
This commit is contained in:
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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user