RGtk2 (version 2.20.31)

gtkTextBufferGetIterAtLineIndex: gtkTextBufferGetIterAtLineIndex

Description

Obtains an iterator pointing to byte.index within 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.

Usage

gtkTextBufferGetIterAtLineIndex(object, line.number, byte.index)

Arguments

line.number
line number counting from 0
byte.index
byte index from start of line

Value

A list containing the following elements:
iter
iterator to initialize