TextBuffer.beginIrreversibleAction

void beginIrreversibleAction()

Denotes the beginning of an action that may not be undone.

This will cause any previous operations in the undo/redo queue to be cleared.

This should be paired with a call to [gtk.text_buffer.TextBuffer.endIrreversibleAction] after the irreversible action has completed.

You may nest calls to [gtk.text_buffer.TextBuffer.beginIrreversibleAction] and [gtk.text_buffer.TextBuffer.endIrreversibleAction] pairs.