Tweak ACE defaults
This commit is contained in:
parent
9e58456aaa
commit
4cc50e86c9
|
@ -91,7 +91,8 @@ var ACE;
|
|||
editor.setTheme("ace/theme/monokai");
|
||||
var ses = editor.getSession();
|
||||
ses.setTabSize(4);
|
||||
ses.setUseSoftTabs(true);
|
||||
ses.setUseSoftTabs(false);
|
||||
ses.setUseWrapMode(true);
|
||||
|
||||
// On save.
|
||||
ses.on("change", function() {
|
||||
|
|
|
@ -174,7 +174,8 @@ var ACE;
|
|||
editor.setTheme("ace/theme/monokai");
|
||||
var ses = editor.getSession();
|
||||
ses.setTabSize(4);
|
||||
ses.setUseSoftTabs(true);
|
||||
ses.setUseSoftTabs(false);
|
||||
ses.setUseWrapMode(true);
|
||||
|
||||
// On save.
|
||||
ses.on("change", function() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user