Instance Property

groupsByEvent

A Boolean value that indicates whether the receiver automatically creates undo groups around each pass of the run loop.

Declaration

@property BOOL groupsByEvent;

Discussion

YES if the receiver automatically creates undo groups around each pass of the run loop, otherwise NO.

The default is YES. If you turn automatic grouping off, you must close groups explicitly before invoking either undo or undoNestedGroup.

See Also

Creating Undo Groups

- beginUndoGrouping

Marks the beginning of an undo group.

- endUndoGrouping

Marks the end of an undo group.

groupingLevel

The number of nested undo groups (or redo groups, if Redo was invoked last) in the current event loop.