isPointInRange method

bool isPointInRange(
  1. Node node,
  2. int offset
)

The Range.isPointInRange() method returns a boolean indicating whether the given point is in the Range. It returns true if the point (cursor position) at offset within ReferenceNode is within this range.

Implementation

external bool isPointInRange(
  Node node,
  int offset,
);