A VDomModel for the current editor/mode combination.

Hierarchy

Constructors

Properties

_editor: any
_language: any
_onMIMETypeChange: any

If the editor mode changes, update the model.

_triggerChange: any

Trigger a rerender of the model.

stateChanged: Signal<EditorSyntaxStatus.Model, void>

A signal emitted when any model state changes.

Accessors

  • get editor(): IEditor
  • The current editor for the application editor tracker.

    Returns IEditor

  • set editor(editor): void
  • Parameters

    • editor: IEditor

    Returns void

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

    Returns boolean

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

    Returns string

Methods

  • Dispose the model.

    Returns void

Generated using TypeDoc