TextBuffer.deleteInteractive

Deletes all editable text in the given range. Calls gtk_text_buffer_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.

class TextBuffer
int
deleteInteractive

Parameters

startIter TextIter

start of range to delete

endIter TextIter

end of range

defaultEditable int

whether the buffer is editable by default

Return Value

Type: int

whether some text was actually deleted

Meta