diff --git a/src/workspace-view.coffee b/src/workspace-view.coffee index b226ada0e..98e9051c7 100644 --- a/src/workspace-view.coffee +++ b/src/workspace-view.coffee @@ -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)