A pair of offset and length that has to be highlighted as a range.

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

Properties

Properties

length: number

The length of the highlighted region.

offset: number

Zero based offset of the highlighted region.