wip: what nathan and corey did

This commit is contained in:
Corey Johnson & Nathan Sobo
2012-05-18 15:15:44 -07:00
parent 4c92be669e
commit 39e02bbf9f
8 changed files with 164 additions and 387 deletions

View File

@@ -522,8 +522,8 @@ class Editor extends View
maxLineLength ?= @calcMaxLineLength()
@renderer.setMaxLineLength(maxLineLength) if maxLineLength
createFold: (range) ->
@renderer.createFold(range)
createFold: (startRow, endRow) ->
@renderer.createFold(startRow, endRow)
setSoftWrap: (@softWrap, maxLineLength=undefined) ->
@setMaxLineLength(maxLineLength) if @attached