Re: How to make key shortcuts and mouse click trigger controlTextDidEndEditing:
Re: How to make key shortcuts and mouse click trigger controlTextDidEndEditing:
- Subject: Re: How to make key shortcuts and mouse click trigger controlTextDidEndEditing:
- From: Darkshadow <email@hidden>
- Date: Sun, 6 Mar 2005 04:26:45 -0500
On Mar 05, 2005, at 6:33 PM, James Housley wrote:
On Mar 5, 2005, at 4:50 PM, Erik M. Buck wrote:
Thanks, the [window makeFirstResponder:nil] is the most elegant
solution to tiggering end of editing, but it doesn't solve the second
half of my problem. That was/is after the save the document is still
marked as being modified even though I call [self
updateChangeCount:NSChangeCleared] at the bottom of the save routine.
Would the be solved by going to be based on NSObject and handling the
undo/edited myself.
Jim
Try [[self undoManager] removeAllActions]; instead.
Darkshadow (aka Michael Nickerson)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden