This commit is contained in:
Kevin Sawicki
2014-09-17 16:01:41 -07:00
parent 4521eeaeb1
commit fdddccf094

View File

@@ -174,14 +174,14 @@ class WorkspaceView extends View
@on = (eventName) =>
switch eventName
when 'cursor:moved'
deprecate('Use Editor::onDidChangeCursorPosition instead')
when 'pane:active-item-changed'
deprecate('Use Pane::onDidChangeActiveItem instead')
when 'pane:removed'
deprecate('Use Pane::onDidDestroy instead')
when 'pane-container:active-pane-item-changed'
deprecate('Use Workspace::onDidChangeActivePaneItem instead')
when 'cursor:moved'
deprecate('Use Editor::onDidChangeCursorPosition instead')
when 'selection:changed'
deprecate('Use Editor::onDidChangeSelectionRange instead')
originalOn.apply(this, arguments)