TextBuffer.deleteInteractive

Deletes all editable text in the given range.

Calls gtk.text_buffer.TextBuffer.delete_ for each editable sub-range of [start,end). start and end are revalidated to point to the location of the last deleted range, or left untouched if no text was deleted.

Parameters

startIter gtk.text_iter.TextIter

start of range to delete

endIter gtk.text_iter.TextIter

end of range

defaultEditable bool

whether the buffer is editable by default

Return Value

Type: bool

whether some text was actually deleted