set_line_index


Description:

public void set_line_index (int byte_on_line)

Same as [method@Gtk.

TextIter.set_line_offset], but works with a byte index. The given byte index must be at the start of a character, it can’t be in the middle of a UTF-8 encoded character.

Parameters:

this

a `GtkTextIter`

byte_on_line

a byte index relative to the start of this’s current line