Gtk.TextBuffer.prototype.delete_interactive

function delete_interactive(start_iter:Gtk.TextIter, end_iter:Gtk.TextIter, default_editable:Boolean):Boolean {
    // Gjs wrapper for gtk_text_buffer_delete_interactive()
}

Deletes all <emphasis>editable</emphasis> text in the given range. Calls Gtk.TextBuffer.prototype.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.

start_iter

start of range to delete

end_iter

end of range

default_editable

whether the buffer is editable by default

Returns

whether some text was actually deleted