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 protected] <[email protected]> wrote: > From: [email protected] <[email protected]> > Subject: re: NSSpellChecker and checkSpellingOfString problems > To: [email protected], [email protected] > 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 protected] > 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 protected]) 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 [email protected]
