get_enable_undo


Description:

public bool get_enable_undo ()

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.

Parameters:

this

a `GtkTextBuffer`

Returns:

true if undoing and redoing changes to the buffer is allowed.