Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TextEdit

A text edit represents edits that should be applied to a document.

Hierarchy

  • TextEdit

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

newEol

newEol: EndOfLine

The eol-sequence used in the document.

Note that the eol-sequence will be applied to the whole document.

newText

newText: string

The string this edit will insert.

range

range: Range

The range this edit applies to.

Methods

Static delete

Static insert

Static replace

Static setEndOfLine