From fe30cf2135ec10265d628dca94dfddc8319a50d1 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 17 Sep 2014 17:47:08 -0700 Subject: [PATCH] Deprecate editor:detached --- src/workspace-view.coffee | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/workspace-view.coffee b/src/workspace-view.coffee index 6a61fe1b2..2496d47f0 100644 --- a/src/workspace-view.coffee +++ b/src/workspace-view.coffee @@ -422,6 +422,8 @@ class WorkspaceView extends View deprecate('Use Editor::onDidChangeCursorPosition instead') when 'editor:attached' deprecate('Use Editor::onDidAddTextEditor instead') + when 'editor:detached' + deprecate('Use Editor::onDidDestroy instead') when 'editor:will-be-removed' deprecate('Use Editor::onDidDestroy instead') when 'pane:active-item-changed' @@ -460,6 +462,8 @@ class WorkspaceView extends View deprecate('Use Editor::onDidChangeCursorPosition instead') when 'editor:attached' deprecate('Use Editor::onDidAddTextEditor instead') + when 'editor:detached' + deprecate('Use Editor::onDidDestroy instead') when 'editor:will-be-removed' deprecate('Use Editor::onDidDestroy instead') when 'selection:changed' @@ -473,6 +477,8 @@ class WorkspaceView extends View deprecate('Use Editor::onDidChangeCursorPosition instead') when 'editor:attached' deprecate('Use Editor::onDidAddTextEditor instead') + when 'editor:detached' + deprecate('Use Editor::onDidDestroy instead') when 'editor:will-be-removed' deprecate('Use Editor::onDidDestroy instead') when 'pane:active-item-changed'