Change editor-selection-change event name to selection-change

This commit is contained in:
Kevin Sawicki
2012-10-01 15:40:39 -07:00
parent edfd61c702
commit b7f32036c2
3 changed files with 4 additions and 4 deletions

View File

@@ -344,7 +344,7 @@ class Editor extends View
@gutter.addClass('drop-shadow')
@on 'cursor-move', => @highlightCursorLine()
@on 'editor-selection-change', => @highlightCursorLine()
@on 'selection-change', => @highlightCursorLine()
selectOnMousemoveUntilMouseup: ->
moveHandler = (e) => @selectToScreenPosition(@screenPositionFromMouseEvent(e))
@@ -419,7 +419,7 @@ class Editor extends View
@trigger 'editor-path-change'
@activeEditSession.getSelection().on 'change-screen-range', =>
@trigger 'editor-selection-change'
@trigger 'selection-change'
@trigger 'editor-path-change'
@renderWhenAttached()