NodeRange
Represents a flat range of content, i.e. one that starts and ends in the same node.
class NodeRange {}
readonly depth: number;
get start(): number;
get end(): number;
get startIndex(): number;
get endIndex(): number;
§Constructors
§Properties
§
$from: ResolvedPos
[src]A resolved position along the start of the content. May have a
depth
greater than this object's depth
property, since
these are the positions that were used to compute the range,
not re-resolved positions directly at its boundaries.
§
$to: ResolvedPos
[src]A position along the end of the content. See
caveat for $from
.