TextBuffer.getEnableUndo
bool getEnableUndo()Gets whether the buffer is saving modifications to the buffer to allow for undo and redo actions.
See [gtk.text_buffer.TextBuffer.beginIrreversibleAction] and [gtk.text_buffer.TextBuffer.endIrreversibleAction] to create changes to the buffer that cannot be undone.
Returns
true if undoing and redoing changes to the buffer is allowed.