re: NSSpellChecker and checkSpellingOfString problems
re: NSSpellChecker and checkSpellingOfString problems
- Subject: re: NSSpellChecker and checkSpellingOfString problems
- From: Keith Blount <email@hidden>
- Date: Thu, 3 Dec 2009 12:55:37 -0800 (PST)
Hi,
Thanks for the reply. That's a good suggestion, but unfortunately it doesn't work. I tried:
[spellChecker checkSpellingOfString:[NSString stringWithFormat:@" %@ ", theWord] startAT:0]
and that returned NSNotFound too. Very strange. "accade" is clearly marked as a misspelling but for some reason -checkSpellingOfString: thinks it's fine; I can only think that Apple are using some other method internally to check spellings, but that seems odd.
Thanks again and all the best,
Keith
--- On Thu, 12/3/09, email@hidden <email@hidden> wrote:
> From: email@hidden <email@hidden>
> Subject: re: NSSpellChecker and checkSpellingOfString problems
> To: email@hidden, email@hidden
> Date: Thursday, December 3, 2009, 7:40 PM
> i don't know if this is your problem
> or not, but i don't see the red underline when i "accade"
> until i type a word delimeter (e.g. a space or comma) after
> it. do u perhaps need to make sure the string u r passing to
> the spell checker has appropriate beginning and ending
> delimeters?
>
> ken
>
>
> At 11:22 AM -0800 12/3/09, email@hidden
> wrote:
> > Try typing "accade" into TextEdit (I'm assuming
> English as the language here, of course). It is underlined
> in red, and ctrl-clicking on it brings up a list of
> suggestions. So the system recognises it as a misspelling, a
> word that it doesn't know.
>
_______________________________________________
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