setEnableUndo

open fun setEnableUndo(enableUndo: Boolean)

If enabled, changes to @editable will be saved for undo/redo actions.

This results in an additional copy of text changes and are not stored in secure memory. As such, undo is forcefully disabled when property@Gtk.Text:visibility is set to false.

Parameters

enableUndo

if undo/redo should be enabled