TextBuffer.deleteInteractive

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

class TextBuffer
bool
deleteInteractive

Parameters

startIter TextIter

start of range to delete

endIter TextIter

end of range

defaultEditable bool

whether the buffer is editable by default

Return Value

Type: bool

whether some text was actually deleted