TextIter.getLine

int getLine()

Returns the line number containing the iterator.

Lines in a gtk.text_buffer.TextBuffer are numbered beginning with 0 for the first line in the buffer.

Returns

a line number