TextIter.getLine

int getLine()

Returns the line number containing the iterator. Lines in a #GtkTextBuffer are numbered beginning with 0 for the first line in the buffer.

Returns

a line number