getTextPositionAbove abstract method

TextPosition getTextPositionAbove(
  1. TextPosition position
)

Returns the TextPosition above the given offset into the text.

If the offset is already on the first line, the given offset will be returned.

Implementation

TextPosition getTextPositionAbove(TextPosition position);