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