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'