On Nov 7, 2016, at 10:46 , Richard Charles <rcharles...@gmail.com> wrote: > > This is exactly the same as before but it now works!
Regarding that particular mystery, NSChangeUndone decrements the change count. If it happened to be 1 when you tried this, the document would stop being dirty. Presumably, in your first test, the change count was greater than 1. As Jens said, the third test was invalid. _______________________________________________ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com