Commit 7d6d0ea3 authored by Arnaud Fontaine's avatar Arnaud Fontaine

erp5_code_mirror: Add syntax checking in Merge view as well.

parent eaba53bc
......@@ -480,11 +480,15 @@
matchBrackets: true,\n
/* viewportMargin: Infinity, */\n
extraKeys: {"Ctrl-Space": "autocomplete",\n
"Ctrl-Q": function(cm){cm.foldCode(cm.getCursor());},\n
"Ctrl-S": function(cm){saveDocument(merge_mode_elem.edit, $.Event(\'click\'))}},\n
foldGutter: true,\n
lineWrapping: true,\n
gutters: ["CodeMirror-linenumbers",\n
"CodeMirror-foldgutter"]});\n
gutters: ["CodeMirror-lint-markers",\n
"CodeMirror-linenumbers",\n
"CodeMirror-foldgutter"],\n
lint: {"getAnnotations": checkPythonSourceCode,\n
"async": true}});\n
\n
$("#merge").keyup(\n
function(event) {\n
......
2015-01-22 arnaud.fontaine
* Add syntax checking in Merge view as well.
2015-01-22 arnaud.fontaine
* Update CodeMirror to 4.11.
......
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