replace new Range(...) with [[..], [..]] syntax

This commit is contained in:
Ben Ogle
2013-07-17 17:38:51 -07:00
parent 3f8c120ad0
commit abdce2df04

View File

@@ -84,7 +84,7 @@ class LanguageMode
indent = @minIndentLevelForRowRange(start, end)
indentString = @editSession.buildIndentString(indent)
for row in [start..end]
buffer.change(new Range([row, 0], [row, indentString.length]), indentString+commentStartString)
buffer.change([[row, 0], [row, indentString.length]], indentString+commentStartString)
# Folds all the foldable lines in the buffer.
foldAll: ->