Model for inline completions.

Hierarchy

Implemented by

Properties

Current inline completions.

cursor: IPosition

Original placement of cursor.

filterTextChanged: ISignal<InlineCompleter.IModel, IndexMap>

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

isDisposed: boolean

Test whether the object has been disposed.

Notes

This property is always safe to access.

A signal emitted when new information about progress is available.

suggestionsChanged: ISignal<InlineCompleter.IModel, ISuggestionsChangedArgs>

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

Methods

  • Append completions while preserving new ones.

    Returns void

  • Dispose of the resources held by the object.

    Notes

    If the object's dispose method is called more than once, all calls made after the first will be a no-op.

    Undefined Behavior

    It is undefined behavior to use any functionality of the object after it has been disposed unless otherwise explicitly noted.

    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

  • Set completions clearing existing ones.

    Returns void

Generated using TypeDoc