Model for inline completions.

Hierarchy

  • Model

Implements

Constructors

Properties

_completions: any
_cursor: any
_isDisposed: any
filterTextChanged: Signal<InlineCompleter.Model, IndexMap>

A signal emitted when filter text is updated. Emits a mapping from old to new index for items after filtering.

A signal emitted when new information about progress is available.

suggestionsChanged: Signal<InlineCompleter.Model, ISuggestionsChangedArgs>

A signal emitted when new suggestions are set on the model.

Accessors

  • get cursor(): IPosition
  • Original placement of cursor.

    Returns IPosition

  • set cursor(value): void
  • Original placement of cursor.

    Parameters

    • value: IPosition

    Returns void

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

    Returns boolean

Methods

  • Dispose of the resources held by the model.

    Returns void

  • Handle cursor selection change.

    Parameters

    • range: IRange

    Returns void

  • Handle a source change.

    Parameters

    Returns void

  • Notify model about progress in generation of completion candidates by providers.

    Parameters

    Returns void

  • Reset completer model.

    Returns void

Generated using TypeDoc