Instance Method


Enables the recording of undo operations.


- (void)enableUndoRegistration;


Because undo registration is enabled by default, it is often used to balance a prior disableUndoRegistration message. Undo registration isn’t actually re-enabled until an enable message balances the last disable message in effect. Raises an NSInternalInconsistencyException if invoked while no disableUndoRegistration message is in effect.

See Also

Enabling and Disabling Undo

- disableUndoRegistration

Disables the recording of undo operations, whether by registerUndoWithTarget:selector:object: or by invocation-based undo.


A Boolean value that indicates whether the recording of undo operations is enabled.