Extracted from Pike v7.8 release 352 at 2012-09-09.
pike.ida.liu.se
[Top]
GTK2
GTK2.TextBuffer

Method GTK2.TextBuffer()->get_iter_at_line_index()


Method get_iter_at_line_index

GTK2.TextIter get_iter_at_line_index(int line, int byte_index)

Description

Obtains an iterator point to byte_index with the given line. byte_index must be the start of a UTF-8 character, and must not be beyond the end of the line. Note bytes, not characters; UTF-8 may encode one character as multiple bytes.