Commit bff90d72 authored by Arnaud Fontaine's avatar Arnaud Fontaine

ZODB Components: Follow ERP5 Python indentation style in Ace editor.

parent 2bd9af2b
...@@ -218,6 +218,8 @@ ...@@ -218,6 +218,8 @@
\n \n
var PythonMode = require(\'ace/mode/python\').Mode;\n var PythonMode = require(\'ace/mode/python\').Mode;\n
ace_editor.getSession().setMode(new PythonMode());\n ace_editor.getSession().setMode(new PythonMode());\n
ace_editor.getSession().setUseSoftTabs(true);\n
ace_editor.getSession().setTabSize(2);\n
\n \n
var textarea = $(\'#${id}\');\n var textarea = $(\'#${id}\');\n
ace_editor.getSession().on(\'change\', function() {\n ace_editor.getSession().on(\'change\', function() {\n
......
2013-07-09 arnaud.fontaine
* ZODB Components: Follow ERP5 Python indentation style in Ace editor.
2013-07-09 arnaud.fontaine 2013-07-09 arnaud.fontaine
* ZODB Components: inner{Weight,Width} is not applicable to window document (from jQuery API). * ZODB Components: inner{Weight,Width} is not applicable to window document (from jQuery API).
......
8 9
\ No newline at end of file \ No newline at end of file
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