Re: Getting a list of alternative words from NSSpellChecker
Re: Getting a list of alternative words from NSSpellChecker
- Subject: Re: Getting a list of alternative words from NSSpellChecker
- From: Martin Hewitson <email@hidden>
- Date: Sat, 10 Jul 2010 18:16:31 +0200
Wow! I looked long and hard at the documentation and didn't see that one. Guess it's time to take a break :)
Thanks!
Martin
On Jul 10, 2010, at 5:20 PM, Keary Suska wrote:
> On Jul 10, 2010, at 6:16 AM, Martin Hewitson wrote:
>
>> Does anyone know a way to get a list of alternative words for a particular (wrongly spelt) work from NSSpellChecker? I want to provide an in-line pop-up list of possible replacement words for words that are shown as mis-spelt in an NSTextView. The idea would be that the user just puts the cursor in the mis-spelt word, hits <escape> and gets a pop-up list to choose from. The point is to avoid using the mouse which is necessary in the standard Cocoa spell checker window.
>
> -[NSSpellChecker guessesForWordRange:inString:language:inSpellDocumentWithTag:]?
>
> Keary Suska
> Esoteritech, Inc.
> "Demystifying technology for your home or business"
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Martin Hewitson
Albert-Einstein-Institut
Max-Planck-Institut fuer
Gravitationsphysik und Universitaet Hannover
Callinstr. 38, 30167 Hannover, Germany
Tel: +49-511-762-17121, Fax: +49-511-762-5861
E-Mail: email@hidden
WWW: http://www.aei.mpg.de/~hewitson
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________
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