mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-12-26 16:14:16 +03:00
2 spaces
This commit is contained in:
parent
97d079bd8f
commit
3529b7e133
@ -4,6 +4,8 @@ editor = ace.edit "editor"
|
|||||||
editor.setTheme "ace/theme/twilight"
|
editor.setTheme "ace/theme/twilight"
|
||||||
JavaScriptMode = require("ace/mode/javascript").Mode
|
JavaScriptMode = require("ace/mode/javascript").Mode
|
||||||
editor.getSession().setMode new JavaScriptMode
|
editor.getSession().setMode new JavaScriptMode
|
||||||
|
editor.getSession().setUseSoftTabs true
|
||||||
|
editor.getSession().setTabSize 2
|
||||||
|
|
||||||
filename = null
|
filename = null
|
||||||
save = ->
|
save = ->
|
||||||
|
@ -5,6 +5,8 @@
|
|||||||
editor.setTheme("ace/theme/twilight");
|
editor.setTheme("ace/theme/twilight");
|
||||||
JavaScriptMode = require("ace/mode/javascript").Mode;
|
JavaScriptMode = require("ace/mode/javascript").Mode;
|
||||||
editor.getSession().setMode(new JavaScriptMode);
|
editor.getSession().setMode(new JavaScriptMode);
|
||||||
|
editor.getSession().setUseSoftTabs(true);
|
||||||
|
editor.getSession().setTabSize(2);
|
||||||
filename = null;
|
filename = null;
|
||||||
save = function() {
|
save = function() {
|
||||||
var str;
|
var str;
|
||||||
|
Loading…
Reference in New Issue
Block a user