Forum und email

GtkTextBuffer::get_text

string get_text(GtkTextIter start, GtkTextIter end, boolean include_hidden_chars);

Returns the text in the specified range [start, end). This method does not return characters representing embedded images, so byte and character indexes into the returned string do not correspond to byte and character indexes into the buffer. Text marked with tags that set the invisibility attribute are excluded if include_hidden_chars is FALSE.

参照: set_text()