Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TextEditorEdit

Hierarchy

  • TextEditorEdit

Index

Constructors

constructor

  • new TextEditorEdit(document: TextDocument, options: { undoStopAfter: boolean; undoStopBefore: boolean }): TextEditorEdit

Properties

Private collectedEdits

collectedEdits: TextEditOperation[]

Private Readonly documentVersionId

documentVersionId: number

Private eol

Private Readonly undoStopAfter

undoStopAfter: boolean

Private Readonly undoStopBefore

undoStopBefore: boolean

Methods

Private addEdit

  • addEdit(range: Range, text: undefined | string, moveMarkers: boolean): void

delete

finalize

insert

  • insert(location: Position, val: string): void

replace

setEndOfLine