Commit cd3c7fa0 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
(cherry picked from commit 926b0c71)
parent 61af7f37
......@@ -489,6 +489,11 @@
lint: lint_option\n
});\n
//cm.foldCode(CodeMirror.Pos(8, 0));\n
\n
\n
CodeMirror.commands.autocomplete = function(cm) {\n
CodeMirror.showHint(cm, CodeMirror.hint.anyword, { "range": Infinity } );\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