getLineBoundary abstract method
Returns the text range of the line at the given offset.
The newline, if any, is included in the range.
The position
parameter must be relative to the node
's content.
Valid only after layout.
Implementation
TextRange getLineBoundary(TextPosition position);