I have a text view subclass, and I need to know when its contents have been 
changed. I have been overriding -shouldChangeTextInRange:replacementString:, 
but that does not get called if the user performs a replace via the find bar.

I tried observing the view's text storage's 
NSTextStorageDidProcessEditingNotification, but that's not triggered by a 
find-bar replace either.

Any suggestions on how I can track when a change is made via the find bar?

-- 
Shane Stanley <sstan...@myriad-com.com.au>
<www.macosxautomation.com/applescript/apps/>


_______________________________________________

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

Reply via email to