Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ISelectionOwner

A selection owner.

Hierarchy

Index

Properties

uuid

uuid: string

The uuid of this selection owner.

Methods

getCursorPosition

getSelection

getSelections

setCursorPosition

  • setCursorPosition(position: IPosition): void

setSelection

  • setSelection(selection: IRange): void

setSelections

  • setSelections(selections: IRange[]): void
  • Sets the selections for all the cursors.

    Parameters

    • selections: IRange[]

      The new selections.

      Notes

      Cursors will be removed or added, as necessary. Passing an empty array resets a cursor position to the start of a document.

    Returns void

Generated using TypeDoc