factory Range.fromPoint(Point point) => document._caretRangeFromPoint(point.x.toInt(), point.y.toInt());