Pike v8.1 release 6

Method GTK2.TextBuffer()->get_iter_at_line_offset()


Method get_iter_at_line_offset

GTK2.TextIter get_iter_at_line_offset(int line_number, int char_offset)

Description

Obtains an iterator pointing to char_offset within the given line. The char_offset must exist, offsets off the end of the line are not allowed. Note characters, not bytes; UTF-8 may encode one character as multiple bytes.