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: martin.hewit...@aei.mpg.de WWW: http://www.aei.mpg.de/~hewitson ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _______________________________________________ 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