[futurebasic] Re: [FB] Spell checker

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : June 2004 : Group Archive : Group : All Groups

From: Jay Reeve <jayreeve@...>
Date: Wed, 30 Jun 2004 08:51:01 -0500
On Wednesday, June 30, 2004, at 07:42  AM, Robert Purves wrote:

>
> Brian Stevens wrote:
>
>> I just found the following link that seems to say that the  
>> spell-checker services are available for carbon applications that are  
>> CFM or Mach-O. It also says the application has to be bundled to take  
>> advantage of the service.
>> <http://developer.apple.com/samplecode/SpellingChecker-CarbonCocoa/ 
>> SpellingChecker-CarbonCocoa.html>
>
> Interesting example. To make Cocoa spell-checking available in FB:
>
> 1. Use Xcode to compile the Cocoa bundle SpellCheck.bundle  
> [ludicrously easy]
> 2. Translate the C source of SpellChecker.app into FB       
> [ludicrously hard]
>
>
> Specifically, step 2 requires familiarity with
> - the C language
> - the loading of function pointers from bundles
> - assembler stubs for calling the functions from FB
> - CFStrings
> - the DataBrowser control
>
> Either the final FB app will need to be packaged (for example,  
> processed through Aladdin's MakeBundle), or you'll have to make some  
> source code changes to allow an single-file CFM app (such as FB  
> produces) to locate the file SpellCheck.bundle.
>
> Doable?  Sure, it doesn't break new ground, but there's enough work to  
> make quite a challenge.
> Worth doing?  You be the judge. Note that Apple's sample code neither  
> shows, nor implies that it's possible to show, the standard Spelling  
> panel as obtained by Command-: in most Cocoa apps.
>
> Robert P.

So can you tell us.... Is the OSX dictionary (the actual word list)  
accessible in such a way that we could write an FB interface for it? If  
so, that actually sounds easier to me.

  e-e
  =J= a  y
   "

--
To unsubscribe, send ANY message to: futurebasic-unsubscribe@...