getEnableUndo

Gets whether the buffer is saving modifications to the buffer to allow for undo and redo actions.

See method@Gtk.TextBuffer.begin_irreversible_action and method@Gtk.TextBuffer.end_irreversible_action to create changes to the buffer that cannot be undone.