Gtk.TextBuffer.GetIterAtLineIndex Method
Obtains an iterator pointing to byte_index within the given line.

Syntax

public TextIter GetIterAtLineIndex (int line_number, int byte_index)

Parameters

line_number
A line number for the current buffer, counting from 0.
byte_index
The byte index from start of line.

Returns

The location as specified by line_number and byte_index.

Remarks

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.

Requirements

Namespace: Gtk
Assembly: gtk-sharp (in gtk-sharp.dll)