Thanks, that's just what I was looking for. I am now able to know exactly when autocorrect has taken place in the NSTextView in my app. However (if you don't mind me extending my question), what if I wanted to know when this happens in any NSTextView in the active app whether it's my app, TextEdit or Safari? Similar to the app here (http://pilotmoon.com/popclip/).
I'm not sure how exactly to go about this and the only thing I have thought of so far is becoming a service but I'm not sure it it's the right way to go about it and even so where I'd go from there. Thanks again. Josh On Monday, 8 August 2011 at 08:02, Kyle Sluder wrote: > On Sun, Aug 7, 2011 at 11:40 PM, Joshua Garnham > <joshua.garn...@yahoo.co.uk (mailto:joshua.garn...@yahoo.co.uk)> wrote: > > > > Is there some notification that is posted or some other way to tell when in > > a NSTextView or any editable element that something has been autocorrected? > > -textView:didCheckTextInRange:types:options:results:orthography:wordCount: > > http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/NSTextViewDelegate_Protocol/Reference/Reference.html#//apple_ref/doc/uid/TP40008628-CH1-SW25 > > --Kyle Sluder _______________________________________________ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com