mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
wip: what nathan and corey did
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user