fix #282
This commit is contained in:
@@ -340,3 +340,9 @@ div.CodeMirror-dragcursors {
|
||||
|
||||
/* Help users use markselection to safely style text background */
|
||||
span.CodeMirror-selectedtext { background: none; }
|
||||
|
||||
.CodeMirror-gutter-wrapper {
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
@@ -76,7 +76,9 @@ editor.on("keyup", function(editor, event)
|
||||
clearTimeout(id);
|
||||
}
|
||||
id = setTimeout(function(){
|
||||
editor.execCommand("autocomplete");
|
||||
editor.showHint({
|
||||
completeSingle: false
|
||||
})
|
||||
}, 100);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user