Function EditableContent.lineLength

returns text position for end of line lineIndex

int lineLength(
  int lineIndex
);