Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ICompletionModel

The data model backing a code completion widget.

Hierarchy

  • IDisposable

Implemented by

Index

Properties

current

current: ITextChange

The current text change details.

cursor

cursor: ICursorSpan

The cursor details that the API has used to return matching options.

isDisposed

isDisposed: boolean

Test whether the object has been disposed.

Notes

This is a read-only property which is always safe to access.

items

The list of visible items in the completion menu.

options

options: string[]

The unfiltered list of all available options in a completion menu.

original

The original completion request details.

stateChanged

stateChanged: ISignal<ICompletionModel, void>

A signal emitted when state of the completion menu changes.

Methods

createPatch

dispose

  • dispose(): void
  • Dispose of the resources held by the object.

    Notes

    It is generally unsafe to use the object after it has been disposed.

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

    Returns void

reset

  • reset(): void

Generated using TypeDoc