diff --git a/lib/ace/document.js b/lib/ace/document.js index 4edb3167..e7d933d6 100644 --- a/lib/ace/document.js +++ b/lib/ace/document.js @@ -701,7 +701,7 @@ var Document = function(text, mode) { return end; }; - this.indentRows = function(startRow, endRow) { + this.indentRows = function(startRow, endRow, indentString) { indentString = indentString.replace("\t", this.getTabString()); for (var row=startRow; row<=endRow; row++) { this.$insert({row: row, column:0}, indentString);