Passivize more event names: 'change(d)' & 'screen-lines-change(d)'

This commit is contained in:
Nathan Sobo
2013-01-03 17:27:27 -07:00
parent 5a409dde3c
commit fb6fe04023
4 changed files with 9 additions and 9 deletions

View File

@@ -784,7 +784,7 @@ class Editor extends View
@newSelections.push(selection)
@requestDisplayUpdate()
@activeEditSession.on 'screen-lines-change.editor', (e) => @handleScreenLinesChange(e)
@activeEditSession.on 'screen-lines-changed.editor', (e) => @handleScreenLinesChange(e)
@newCursors = @activeEditSession.getCursors()
@newSelections = @activeEditSession.getSelections()