change toggle-fold to fold

This commit is contained in:
Corey Johnson
2012-07-27 11:47:30 -07:00
parent 20ff70115f
commit 76ffa5a2c5
4 changed files with 15 additions and 23 deletions

View File

@@ -139,7 +139,7 @@ class Editor extends View
'newline-below': @insertNewlineBelow
'toggle-soft-wrap': @toggleSoftWrap
'fold-all': @foldAll
'toggle-fold': @toggleFold
'fold': @fold
'fold-selection': @foldSelection
'unfold': => @unfoldCurrentRow()
'split-left': @splitLeft
@@ -220,11 +220,11 @@ class Editor extends View
undo: -> @activeEditSession.undo()
redo: -> @activeEditSession.redo()
createFold: (startRow, endRow) -> @activeEditSession.createFold(startRow, endRow)
fold: -> @activeEditSession.fold()
foldAll: -> @activeEditSession.foldAll()
foldSelection: -> @activeEditSession.foldSelection()
destroyFold: (foldId) -> @activeEditSession.destroyFold(foldId)
destroyFoldsContainingBufferRow: (bufferRow) -> @activeEditSession.destroyFoldsContainingBufferRow(bufferRow)
toggleFold: -> @activeEditSession.toggleFold()
isFoldedAtScreenRow: (screenRow) -> @activeEditSession.isFoldedAtScreenRow(screenRow)
unfoldCurrentRow: -> @activeEditSession.unfoldCurrentRow()