Documentation

TextEdit
in package

A textual edit applicable to a text document.

Table of Contents

Properties

$newText  : string
The string to be inserted. For delete operations use an empty string.
$range  : Range
The range of the text document to be manipulated. To insert text into a document create a range where start === end.

Methods

__construct()  : mixed

Properties

$newText

The string to be inserted. For delete operations use an empty string.

public string $newText

$range

The range of the text document to be manipulated. To insert text into a document create a range where start === end.

public Range $range

Methods

__construct()

public __construct([Range|null $range = null ][, string|null $newText = null ]) : mixed
Parameters
$range : Range|null = null
$newText : string|null = null

        
On this page

Search results