Re: Best approach for selective spell-checking...
Re: Best approach for selective spell-checking...
- Subject: Re: Best approach for selective spell-checking...
- From: Daniel Jalkut <email@hidden>
- Date: Tue, 21 Jul 2009 00:02:04 -0400
Hi Jim -
On Jul 20, 2009, at 11:01pm, Jim Correia wrote:
It would be nice if NSSpellChecker offered a delegate relationship,
something like "willMarkMispelledWordInRange:" ... where I could
choose to have it keep quiet instead.
or the delegate variant:
- (NSInteger)textView:(NSTextView *)textView shouldSetSpellingState:
(NSInteger)value range:(NSRange)affectedCharRange;
// Delegate only. Allows delegate to control the setting of
spelling and grammar indicators. Values are those listed for
NSSpellingStateAttributeName.
Hmm.... OK :) It sounds like I have some more reading to do.
Thanks for letting me know to RTFM so gently...
D
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden