Skip navigation.
 
mlUsing cocoa's spelling panel in a carbon application
FROM : Jérôme Seydoux
DATE : Tue Nov 19 11:04:24 2002

Hi all,

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?

Jerome


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