Set enableUndo property.
Denotes if support for undoing and redoing changes to the buffer is allowed.
Set enableUndo property.