Gtk.TextBuffer.prototype.insert_range_interactive
function insert_range_interactive(iter:Gtk.TextIter, start:Gtk.TextIter, end:Gtk.TextIter, default_editable:Boolean):Boolean { // Gjs wrapper for gtk_text_buffer_insert_range_interactive() }
Same as Gtk.TextBuffer.prototype.insert_range, but does nothing if the insertion point isn't editable. The default_editable parameter indicates whether the text is editable at iter if no tags enclosing iter affect editability. Typically the result of Gtk.get_editable is appropriate here.
- iter
a position in buffer
- start
a position in a Gtk.TextBuffer
- end
another position in the same buffer as start
- default_editable
default editability of the buffer
- Returns
whether an insertion was possible at iter