Hierarchy

Constructors

Properties

_activeEditor: undefined | EditorWidget
_currentEditor: undefined | EditorWidget
commands: CommandService
editorCounters: Map<string, number> = ...
id: string = EditorWidgetFactory.ID
label: string = ...
onActiveEditorChanged: Event<undefined | EditorWidget> = ...

Emit when the active editor is changed.

onActiveEditorChangedEmitter: Emitter<undefined | EditorWidget> = ...
onCurrentEditorChanged: Event<undefined | EditorWidget> = ...

Emit when the current editor is changed.

onCurrentEditorChangedEmitter: Emitter<undefined | EditorWidget> = ...
openWithService: OpenWithService
preferenceService: PreferenceService
recentlyVisibleIds: string[] = []

Accessors

  • get currentEditor(): undefined | EditorWidget
  • The most recently activated editor (which might not have the focus anymore, hence it is not active). If no editor has focus, e.g. when a context menu is shown, the active editor is undefined, but current might be the editor that was active before the menu popped up.

    Returns undefined | EditorWidget

Methods