Commit 06265be7 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
parent 131cb77c
......@@ -529,6 +529,13 @@
if(parent_height !== undefined && parent_height > (300 * 0.8)) {\n
cm.setSize(undefined, parent_height);\n
}\n
\n
\n
CodeMirror.commands.autocomplete = function(cm) {\n
CodeMirror.showHint(cm, CodeMirror.hint.anyword, {\n
} );\n
}\n
\n
\n
updateErrorWarningMessageDivWithJump();\n
\n
......
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