getTextPositionAbove method Null safety
- 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);