浏览代码

Indent with 1 tab

Nicolas Petton 12 年之前
父节点
当前提交
400dde93aa
共有 3 个文件被更改,包括 7 次插入4 次删除
  1. 2 1
      js/Helios-Workspace.deploy.js
  2. 3 2
      js/Helios-Workspace.js
  3. 2 1
      st/Helios-Workspace.st

+ 2 - 1
js/Helios-Workspace.deploy.js

@@ -535,8 +535,9 @@ return smalltalk.withContext(function($ctx1) { 
self['@editor'] = CodeMirror.fro
 		theme: 'amber',
                 lineNumbers: true,
                 enterMode: 'flat',
-                matchBrackets: true,
                 indentWithTabs: true,
+				indentUnit: 4,
+                matchBrackets: true,
                 electricChars: false
 	});
 return self}, function($ctx1) {$ctx1.fill(self,"setEditorOn:",{aTextarea:aTextarea}, smalltalk.HLCodeWidget)})},

+ 3 - 2
js/Helios-Workspace.js

@@ -721,13 +721,14 @@ return smalltalk.withContext(function($ctx1) { 
self['@editor'] = CodeMirror.fro
 		theme: 'amber',
                 lineNumbers: true,
                 enterMode: 'flat',
-                matchBrackets: true,
                 indentWithTabs: true,
+				indentUnit: 4,
+                matchBrackets: true,
                 electricChars: false
 	});
 return self}, function($ctx1) {$ctx1.fill(self,"setEditorOn:",{aTextarea:aTextarea}, smalltalk.HLCodeWidget)})},
 args: ["aTextarea"],
-source: "setEditorOn: aTextarea\x0a\x09<self['@editor'] = CodeMirror.fromTextArea(aTextarea, {\x0a\x09\x09theme: 'amber',\x0a                lineNumbers: true,\x0a                enterMode: 'flat',\x0a                matchBrackets: true,\x0a                indentWithTabs: true,\x0a                electricChars: false\x0a\x09})>",
+source: "setEditorOn: aTextarea\x0a\x09<self['@editor'] = CodeMirror.fromTextArea(aTextarea, {\x0a\x09\x09theme: 'amber',\x0a                lineNumbers: true,\x0a                enterMode: 'flat',\x0a                indentWithTabs: true,\x0a\x09\x09\x09\x09indentUnit: 4,\x0a                matchBrackets: true,\x0a                electricChars: false\x0a\x09})>",
 messageSends: [],
 referencedClasses: []
 }),

+ 2 - 1
st/Helios-Workspace.st

@@ -199,8 +199,9 @@ setEditorOn: aTextarea
 		theme: 'amber',
                 lineNumbers: true,
                 enterMode: 'flat',
-                matchBrackets: true,
                 indentWithTabs: true,
+				indentUnit: 4,
+                matchBrackets: true,
                 electricChars: false
 	})>
 ! !