ITextSelection | @jupyterlab (original) (raw)

Interface ITextSelection

A text selection.

interface ITextSelection {
end: IPosition;
start: IPosition;
uuid: string;
[key: string]: JSONValue;
}

Hierarchy (View Summary)

Indexable

Index

Properties

end start uuid

Properties

Readonlyend

end: IPosition

The position of the last character in the current range.

Notes

If this position is less than [start] then the range is considered to be backward.

Readonlystart

start: IPosition

The position of the first character in the current range.

Notes

If this position is greater than [end] then the range is considered to be backward.

Readonlyuuid

uuid: string

The uuid of the text selection owner.