Преглед на файлове

Improved indenting support

Nicolas Petton преди 11 години
родител
ревизия
f20eb2cbc6
променени са 3 файла, в които са добавени 4 реда и са изтрити 1 реда
  1. 1 0
      js/IDE.deploy.js
  2. 2 1
      js/IDE.js
  3. 1 0
      st/IDE.st

+ 1 - 0
js/IDE.deploy.js

@@ -677,6 +677,7 @@ return smalltalk.withContext(function($ctx1) { 
self['@editor'] = CodeMirror.fro
                 lineNumbers: true,
                 enterMode: 'flat',
                 indentWithTabs: true,
+				indentUnit: 4,
                 matchBrackets: true,
                 electricChars: false
 	});

+ 2 - 1
js/IDE.js

@@ -888,12 +888,13 @@ return smalltalk.withContext(function($ctx1) { 
self['@editor'] = CodeMirror.fro
                 lineNumbers: true,
                 enterMode: 'flat',
                 indentWithTabs: true,
+				indentUnit: 4,
                 matchBrackets: true,
                 electricChars: false
 	});
 return self}, function($ctx1) {$ctx1.fill(self,"setEditorOn:",{aTextarea:aTextarea}, smalltalk.SourceArea)})},
 args: ["aTextarea"],
-source: "setEditorOn: aTextarea\x0a\x09<self['@editor'] = CodeMirror.fromTextArea(aTextarea, {\x0a\x09\x09theme: 'amber',\x0a                lineNumbers: true,\x0a                enterMode: 'flat',\x0a                indentWithTabs: true,\x0a                matchBrackets: 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: []
 }),

+ 1 - 0
st/IDE.st

@@ -214,6 +214,7 @@ setEditorOn: aTextarea
                 lineNumbers: true,
                 enterMode: 'flat',
                 indentWithTabs: true,
+				indentUnit: 4,
                 matchBrackets: true,
                 electricChars: false
 	})>