Inherits from NSUndoManager
Declared in DTUndoManager.h

Overview

Specialized undo manager that automatically closes open undo groups.

If you do an undo or removeAllActions then closeAllOpenGroups will be called. This is required because while typing you want all typed characters go into the same open undo group, but need to close the group in time before doing an undo, otherwise there will be a crash.

Properties

numberOfOpenGroups

Number of currently open undo groups

@property (nonatomic, readonly) NSUInteger numberOfOpenGroups

Declared In

DTUndoManager.h

Instance Methods

closeAllOpenGroups

Closes all open undo groups

- (void)closeAllOpenGroups

Declared In

DTUndoManager.h