On Fri, Nov 13, 2009 at 6:53 PM, Jerry Krinock <je...@ieee.org> wrote:
>
> Why would the dirty dot become dirty when no change was made to the store?
>  I don't see any logical reason for this.

Because NSDocument change count is linked to the NSUndoManager
notifications.  See
http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/Documents/Tasks/FAQ.html#//apple_ref/doc/uid/20000954

> In my real app, I often manually begin and end a "super undo group".

AppKit already does this for you.  See -[NSUndoManager groupsByEvent]
http://developer.apple.com/mac/library/documentation/Cocoa/Reference/Foundation/Classes/NSUndoManager_Class/Reference/Reference.html#//apple_ref/doc/uid/20000211-CHDCHADA

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to