RGtk2 (version 2.20.31)

gtkTextIterSetLineIndex: gtkTextIterSetLineIndex

Description

Same as gtkTextIterSetLineOffset, 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.

Usage

gtkTextIterSetLineIndex(object, byte.on.line)

Arguments

object
byte.on.line
a byte index relative to the start of iter's current line