| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
- (NSUndoManager *)undoManagerForTextView:(NSTextView *)aTextView
{
return undoManager;
}
This made the entire undo system go haywire - e.g. hitting Undo removed the entire contents of the view, undos failed to register, or they registered but didn't enable the Undo menu item. As far as I could tell, I now had three undo managers (or three conflicting pointers to the same undo manager) - one for each delegate, plus the default manager for the main window, which was still trying to manage everything.
| References: | |
| >Correct implementation of undoManagerForTextView (From: Jeremy Dronfield <email@hidden>) | |
| >Re: Correct implementation of undoManagerForTextView (From: Dustin Voss <email@hidden>) | |
| >Re: Correct implementation of undoManagerForTextView (From: Jeremy Dronfield <email@hidden>) | |
| >Re: Correct implementation of undoManagerForTextView (From: Dustin Voss <email@hidden>) | |
| >Re: Correct implementation of undoManagerForTextView (From: Jeremy Dronfield <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.