TextWhizzHelper
Functions
comparePositions()
function comparePositions(p0, p1): any;
Compares two positions.
Parameters
| Parameter | Type | Description |
|---|---|---|
p0 | TextPosition | first position. |
p1 | TextPosition | second position. |
Returns
any
true if the positions match, false otherwise.
compareRanges()
function compareRanges(sel0, sel1): any;
Compares two ranges.
Parameters
| Parameter | Type | Description |
|---|---|---|
sel0 | TextRange | first range. |
sel1 | TextRange | second range. |
Returns
any
true if the ranges match, false otherwise.