setLine

fun setLine(lineNumber: Int)

Moves iterator @iter to the start of the line @line_number.

If @line_number is negative or larger than or equal to the number of lines in the buffer, moves @iter to the start of the last line in the buffer.

Parameters

lineNumber

line number (counted from 0)