Instance Method

enableUndoRegistration

Enables the recording of undo operations.

Declaration

- (void)enableUndoRegistration;

Discussion

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.

undoRegistrationEnabled

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