getIterAtLine

open fun getIterAtLine(iter: TextIter, lineNumber: Int): Boolean

Initializes @iter to the start of the given line.

If @line_number is greater than or equal to the number of lines in the @buffer, the end iterator is returned.

Return

whether the exact position has been found

Parameters

iter

iterator to initialize

lineNumber

line number counting from 0