Instance Property

undoActionIsDiscardable

Boolean value that indicates whether the next undo action is discardable.

Declaration

@property(readonly) BOOL undoActionIsDiscardable;

Discussion

YES if the action is discardable; NO otherwise.

Specifies that the latest undo action may be safely discarded when a document can not be saved for any reason. These are typically actions that don’t affect persistent state.

An example might be an undo action that changes the viewable area of a document.

See Also

Discardable Undo and Redo Actions

- setActionIsDiscardable:

Sets whether the next undo or redo action is discardable.

redoActionIsDiscardable

Boolean value that indicates whether the next redo action is discardable.