Options
All
  • Public
  • Public/Protected
  • All
Menu

A VDomModel for the current editor/mode combination.

Hierarchy

Index

Constructors

constructor

Properties

Private _editor

_editor: any

Private _mode

_mode: any

Private _onMIMETypeChange

_onMIMETypeChange: any

If the editor mode changes, update the model.

Private _triggerChange

_triggerChange: any

Trigger a rerender of the model.

Readonly stateChanged

stateChanged: Signal<this, void>

A signal emitted when any model state changes.

Accessors

editor

  • get editor(): CodeEditor.IEditor | null
  • set editor(editor: CodeEditor.IEditor | null): any
  • The current editor for the application editor tracker.

    Returns CodeEditor.IEditor | null

  • The current editor for the application editor tracker.

    Parameters

    • editor: CodeEditor.IEditor | null

    Returns any

isDisposed

  • get isDisposed(): boolean
  • Test whether the model is disposed.

    Returns boolean

mode

  • get mode(): string
  • The current mode for the editor. If no editor is present, returns the empty string.

    Returns string

Methods

dispose

  • dispose(): void
  • Dispose the model.

    Returns void

Generated using TypeDoc