void gtk_text_buffer_get_iter_at_line_offset ( GtkTextBuffer* buffer, GtkTextIter* iter, gint line_number, gint char_offset )
Obtains an iterator pointing to
char_offset within the given line. Note
characters, not bytes; UTF-8 may encode one character as multiple bytes.
Before the 3.20 version, it was not allowed to pass an invalid location.
Since the 3.20 version, if
line_number is greater than the number of lines
buffer, the end iterator is returned. And if
char_offset is off the
end of the line, the iterator at the end of the line is returned.
Iterator to initialize.
The argument will be set by the function. The returned data is owned by the instance.
Line number counting from 0
Char offset from start of line.