How come I always do things the hard way?
Word Guesser works on automatic. Just compile this with FBtoC's
Objective-C compiler preference.
Enter a word or partial word, hit and hit the "Guess" button.
Next step is to implement full automatic spelling from within FB.
Then we will have a full-fledged spell checker for our apps.
I need to try to figure out how to send the spell checking panel a
range of words to check. Ideas welcome.
Ken
#if def _PASSTHROUGHFUNCTION
void ShowSpellPanel()
{
NSApplicationLoad();
NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init];
[NSApplication sharedApplication];
NSPanel *spellingPanel = [[NSSpellChecker sharedSpellChecker]
spellingPanel];
[spellingPanel orderFront:nil];
[pool release];
}
#endif
toolbox ShowSpellPanel
call ShowSpellPanel
do
HandleEvents
until ( gFBQuit )