TextDocumentEditUtf8

class TextDocumentEditUtf8

Utf-8 based text edit

Members defined in TextDocumentEditUtf8 (3 members)

range

RW

The range of the text document to be manipulated.

text

RW

The string to be inserted.

__init__

Attributes

property range: syside.RangeUtf8 | None

The range of the text document to be manipulated.

To insert text into a document create a range where start == end. To apply the edit to the whole document, use None.

property text: str

The string to be inserted.

For delete operations use an empty string.

Methods

__init__(text: str, range: syside.RangeUtf8 | None = None) None
Used in