returns text position for begin of line lineIndex (if lineIndex > number of lines, returns end of last line)
See Implementation
returns text position for begin of line lineIndex (if lineIndex > number of lines, returns end of last line)