insertRangeInteractive

open fun insertRangeInteractive(iter: TextIter, start: TextIter, end: TextIter, defaultEditable: Boolean): Boolean

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

Same as method@Gtk.TextBuffer.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 method@Gtk.TextView.get_editable is appropriate here.

Return

whether an insertion was possible at @iter

Parameters

iter

a position in @buffer

start

a position in a GtkTextBuffer

end

another position in the same buffer as @start

defaultEditable

default editability of the buffer