Commit 8accc272 authored by Jérome Perrin's avatar Jérome Perrin

code mirror hack: force anyword automcomplete

parent 2c031041
...@@ -474,7 +474,7 @@ ...@@ -474,7 +474,7 @@
}\n }\n
updateLinting(cm, found);\n updateLinting(cm, found);\n
});\n });\n
}, 500);\n }, 500); // this timeout can depend on the source code len length\n
}\n }\n
\n \n
var mode = "&dtml-mode;";\n var mode = "&dtml-mode;";\n
...@@ -531,6 +531,12 @@ ...@@ -531,6 +531,12 @@
} );\n } );\n
}\n }\n
</dtml-if>\n </dtml-if>\n
\n
CodeMirror.commands.autocomplete = function(cm) {\n
CodeMirror.showHint(cm, CodeMirror.hint.anyword, {\n
} );\n
}\n
\n
\n \n
updateErrorWarningMessageDivWithJump();\n updateErrorWarningMessageDivWithJump();\n
\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