If command panel selects text within a fold, the fold is destroyed

This commit is contained in:
Corey Johnson & Nathan Sobo
2012-06-14 14:00:35 -07:00
parent 8a2aa881f7
commit 9ada2daebd
3 changed files with 19 additions and 1 deletions

View File

@@ -217,6 +217,7 @@ class Editor extends View
softWrapColumn ?= @calcSoftWrapColumn()
@activeEditSession.setSoftWrapColumn(softWrapColumn) if softWrapColumn
lineForScreenRow: (screenRow) -> @activeEditSession.lineForScreenRow(screenRow)
linesForScreenRows: (start, end) -> @activeEditSession.linesForScreenRows(start, end)
screenLineCount: -> @activeEditSession.screenLineCount()
maxScreenLineLength: -> @activeEditSession.maxScreenLineLength()