set_line


Description:

public void set_line (int line_number)

Moves iterator this to the start of the line line_number.

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

Parameters:

this

a TextIter

line_number

line number (counted from 0)