Fix other CodeMirror.Pass usage
This commit is contained in:
parent
9418e446b1
commit
42ac80eb0e
1 changed files with 3 additions and 3 deletions
|
@ -2906,19 +2906,19 @@ $(editor.getInputField())
|
|||
$(this).data('autocompleting', true);
|
||||
editor.setOption("extraKeys", {
|
||||
"Up": function () {
|
||||
return CodeMirror.PASS;
|
||||
return CodeMirror.Pass;
|
||||
},
|
||||
"Right": function () {
|
||||
editor.doc.cm.execCommand("goCharRight");
|
||||
},
|
||||
"Down": function () {
|
||||
return CodeMirror.PASS;
|
||||
return CodeMirror.Pass;
|
||||
},
|
||||
"Left": function () {
|
||||
editor.doc.cm.execCommand("goCharLeft");
|
||||
},
|
||||
"Enter": function () {
|
||||
return CodeMirror.PASS;
|
||||
return CodeMirror.Pass;
|
||||
},
|
||||
"Backspace": function () {
|
||||
editor.doc.cm.execCommand("delCharBefore");
|
||||
|
|
Loading…
Reference in a new issue