Hi everyone,
I am writing an application that offers support for Undo/Redo.
Everything works fine, except for a small detail that bothers me.
Since I set the document edited flag manually, using the [theWindow
setDocumentEdited:YES] instruction each time the document is modified,
I have no way to remove the flag when a user undoes all the changes.
The solution would be to set the document edited flag based on the
status of the Undo menu item state. Is there a simple way to do this?
Thanks in advance,
Huibert
_______________________________________________
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