From fdddccf0944a75a5c57fed187a8d232d1401665c Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 17 Sep 2014 16:01:41 -0700 Subject: [PATCH] :lipstick: --- src/workspace-view.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)