Function EditableContent.lineEnd

returns text position for end of line lineIndex

TextPosition lineEnd(
  int lineIndex
);