Gtk.TextIter.prototype.get_text
function get_text(end:Gtk.TextIter):String { // Gjs wrapper for gtk_text_iter_get_text() }
Returns <emphasis>text</emphasis> in the given range. If the range contains non-text elements such as images, the character and byte offsets in the returned string will not correspond to character and byte offsets in the buffer. If you want offsets to correspond, see gtk_text_iter_get_slice ().
- end
iterator at end of a range
- Returns
array of characters from the buffer