Reorg undo section

This commit is contained in:
Ben Ogle
2014-09-15 18:38:47 -07:00
parent 5f807df1b0
commit 5790221c15

View File

@@ -1221,12 +1221,12 @@ class Editor extends Model
Section: Undo Operations
###
# Public: Undo the last change.
# Essential: Undo the last change.
undo: ->
@getLastCursor().needsAutoscroll = true
@buffer.undo(this)
# Public: Redo the last change.
# Essential: Redo the last change.
redo: ->
@getLastCursor().needsAutoscroll = true
@buffer.redo(this)