Method GTK2.TextIter()->get_line_index()


Method get_line_index

int get_line_index()

Description

Returns the byte index of the iterator, counting from the start of a newline-terminated line. Rember that W(TextBuffer) encodes text in UTF-8, and that characters can require a variable number of bytes to represent.