Hello list, I'm using NSDocument default undoManager but want to override it's change counting behaviour (I want the black modifed dot to not show when some minor changes are done, but still have them undoable)
I've discovered it's internally handled by these methods observing the undoManager's notifications: - (void) _changeWasDone: (NSNotification *)notification - (void) _changeWasUndone: (NSNotification *)notification - (void) _changeWasRedone: (NSNotification *)notification I can hack these just fine by overriding them in my NSDocument subclass but I feel uncomfortable with that (and with those compiler warnings obviously thrown by XCode) I've also tried to intercept the undoManager's notifications which I can do but can't find a way to prevent them from propagating to the default handlers Am I missing something or should I implement my own undoManager just to handle this minor tweak? Thanks for listening. Cool Runnings, Erne. _______________________________________________ Cocoa-dev mailing list ([email protected]) 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 [email protected]
