A text range in the document

interface Range {
    length: number;
    offset: number;
}

Properties

Properties

length: number

The length of the range. Must not be negative.

offset: number

The start offset of the range.