Re: textDidChange doesn't work with undo
Re: textDidChange doesn't work with undo
- Subject: Re: textDidChange doesn't work with undo
- From: Mike Ferris <email@hidden>
- Date: Wed, 4 Dec 2002 15:32:21 -0800
Just be aware of the difference here... The NSTextStorage notification
happens for every change. The intent of textDidChange: is to be sent
for direct user-initiated changed.
(By the way, I would concur that it seems a bug that Undo does not
cause the user-editing notifications/delegations to happen.)
Mike Ferris
Begin forwarded message:
From: Koen van der Drift <email@hidden>
Date: Wed Dec 4, 2002 2:39:22 PM US/Pacific
To: Brian Webster <email@hidden>, email@hidden
Subject: Re: textDidChange doesn't work with undo
At 1:32 PM -0600 12/4/02, Brian Webster wrote:
Seems like a bug to me. You might try instead registering for a
notification sent by the underlying NSTextStorage object,
NSTextStorageDidProcessEditingNotification.
Thanks! That works. I'll just use that instead of textDidChange.
- Koen.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.