TextIter.forwardToEnd

void forwardToEnd()

Moves iter forward to the “end iterator”, which points one past the last valid character in the buffer.

[gtk.text_iter.TextIter.getChar] called on the end iterator returns 0, which is convenient for writing loops.