Commit 2ea4bfda authored by Jérome Perrin's avatar Jérome Perrin

codemirror: just use anyword autocomplete anywhere

codemirror python's completion just complete on builtins, so that hack is a bit better

XXX the best would be to have both suggestions
parent f84e3662
......@@ -506,6 +506,10 @@
cm.setSize(undefined, parent_height);
}
CodeMirror.commands.autocomplete = function(cm) {
CodeMirror.showHint(cm, CodeMirror.hint.anyword, {range: Infinity} );
}
updateErrorWarningMessageDivWithJump();
// When hovering editor element with the mouse, seeing the title of the field is annoying...
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment