TextBuffer.insertRangeInteractive

bool insertRangeInteractive(gtk.text_iter.TextIter iter, gtk.text_iter.TextIter start, gtk.text_iter.TextIter end, bool defaultEditable)

Copies text, tags, and paintables between start and end and inserts the copy at iter.

Same as [gtk.text_buffer.TextBuffer.insertRange], 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.text_view.TextView.getEditable] is appropriate here.

Parameters

itera position in buffer
starta position in a [gtk.text_buffer.TextBuffer]
endanother position in the same buffer as start
defaultEditabledefault editability of the buffer

Returns

whether an insertion was possible at iter