Closes the top-level undo group if necessary and invokes undoNestedGroup.
On This Page
This method also invokes endUndoGrouping if the nesting level is 1. Raises an NSInternalInconsistencyException if more than one undo group is open (that is, if the last group isn’t at the top level).
This method posts an NSUndoManagerCheckpointNotification.
Performs the undo operations in the last undo group (whether top-level or nested), recording the operations on the redo stack as a single group.
Performs the operations in the last group on the redo stack, if there are any, recording them on the undo stack as a single group.
The number of nested undo groups (or redo groups, if Redo was invoked last) in the current event loop.
Enables the recording of undo operations.