TextBuffer.getIterAtLine

bool getIterAtLine(out gtk.text_iter.TextIter iter, int lineNumber)

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.

Parameters

iteriterator to initialize
lineNumberline number counting from 0

Returns

whether the exact position has been found