From 280a3c30e60f800c4dec15d9f655254074f330eb Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 17 Sep 2014 17:44:21 -0700 Subject: [PATCH] Deprecate editor:attached --- src/workspace-view.coffee | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/workspace-view.coffee b/src/workspace-view.coffee index 9e94b9d8d..6a61fe1b2 100644 --- a/src/workspace-view.coffee +++ b/src/workspace-view.coffee @@ -420,6 +420,8 @@ class WorkspaceView extends View switch eventName when 'cursor:moved' deprecate('Use Editor::onDidChangeCursorPosition instead') + when 'editor:attached' + deprecate('Use Editor::onDidAddTextEditor instead') when 'editor:will-be-removed' deprecate('Use Editor::onDidDestroy instead') when 'pane:active-item-changed' @@ -456,6 +458,8 @@ class WorkspaceView extends View switch eventName when 'cursor:moved' deprecate('Use Editor::onDidChangeCursorPosition instead') + when 'editor:attached' + deprecate('Use Editor::onDidAddTextEditor instead') when 'editor:will-be-removed' deprecate('Use Editor::onDidDestroy instead') when 'selection:changed' @@ -467,6 +471,8 @@ class WorkspaceView extends View switch eventName when 'cursor:moved' deprecate('Use Editor::onDidChangeCursorPosition instead') + when 'editor:attached' + deprecate('Use Editor::onDidAddTextEditor instead') when 'editor:will-be-removed' deprecate('Use Editor::onDidDestroy instead') when 'pane:active-item-changed'