getOffsetOfLineAfter method

int getOffsetOfLineAfter(
  1. int offset
)

Return the offset of the first character on the line following the line containing the given offset.

Implementation

int getOffsetOfLineAfter(int offset) {
  return getOffsetOfLine(getLocation(offset).line);
}