Skip navigation.
 
mlRe: Using cocoa's spelling panel in a carbon application
FROM : Rosyna
DATE : Tue Nov 19 20:58:06 2002

Check
http://developer.apple.com/samplecode/Sample_Code/OS_Utilities/SpellingChecker-CarbonCocoa.htm

Which is sample code for what I think you are trying to do.

Ack, at 11/19/02, Jérôme Seydoux said:

>I'm using NSSpellChecker's API from a carbon application, but I would
>also like to use the cocoa spelling panel. I can open it, using
>[[[NSSpellChecker sharedSpellChecker] spellingPanel]
>makeKeyAndOrderFront:NULL], but I don't know how to catch the messages
>sent when the user clicks the "correct" or "find next" buttons in the
>panel. I tried to set an object as nextResponder or a delegate for the
>spelling panel, but it never receives the changeSpelling: message, and I
>have not found a protocol for "find next".
>Has anyone ever used the spelling panel with anything other than NSText?
>
>I'm also considering to reimplement this dialog in carbon, but I have not
>found an API to get the list of languages to put in the popup menu. Am I
>missing something?


--


Sincerely,
Rosyna Keller
Technical Support/Holy Knight/Always needs a hug

Unsanity: Unsane Tools for Insanely Great People
---

Please include any previous correspondence in replies, it helps me
remember what we were talking about. Thanks.

Related mailsAuthorDate
mlUsing cocoa's spelling panel in a carbon application Jérôme Seydoux Nov 19, 11:04
mlRe: Using cocoa's spelling panel in a carbon application Douglas Davidson Nov 19, 11:38
mlRe: Using cocoa's spelling panel in a carbon application Jérôme Seydoux Nov 19, 12:36
mlRe: Using cocoa's spelling panel in a carbon application Rosyna Nov 19, 20:58
mlRe: Using cocoa's spelling panel in a carbon application Jérôme Seydoux Nov 20, 00:38
mlRe: Using cocoa's spelling panel in a carbon application Jérôme Seydoux Dec 2, 09:42