mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Deprecate editor:detached
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user