getPositionAtEndOfLine method

  1. @override
TextNodePosition getPositionAtEndOfLine(
  1. TextNodePosition textNodePosition
)
override

Returns the TextNodePosition that corresponds to the last character in the line of text that contains the given textNodePosition.

Implementation

@override
TextNodePosition getPositionAtEndOfLine(TextNodePosition textNodePosition) {
  return childTextComposable.getPositionAtEndOfLine(textNodePosition);
}