insert_range_interactive


Description:

public bool insert_range_interactive (ref TextIter iter, TextIter start, TextIter end, bool default_editable)

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

Same as [[email protected]_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 [[email protected]_editable] is appropriate here.

Parameters:

this

a `GtkTextBuffer`

iter

a position in this

start

a position in a `GtkTextBuffer`

end

another position in the same buffer as start

default_editable

default editability of the buffer

Returns:

whether an insertion was possible at iter




2022 vala-language.org