findLineStart method

int findLineStart(
  1. int offset
)

Implementation

int findLineStart(int offset) {
  return _rope.findLineStart(offset: BigInt.from(offset)).toInt();
}