[futurebasic] Re: [FB] Unloading bundles

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

From: Brian S <fblistserve@...>
Date: Tue, 15 Jun 2010 14:35:56 -0700
On Jun 14, 2010, at 9:44 PM, Brian S wrote:

> 
> On Jun 12, 2010, at 8:22 PM, Ken Shmidheiser wrote:
> 
>> Brian,
>> 
>> You can bypass the SpellCheck.bundle and call the Spelling Panel directly on a HITextView using Carbon Events, especially since you are not using interactive spelling.
>> 
>> Here is a rough nibless demo I put together using standard FB controls. I wrote this incorporating code Bernie shared with me some time ago when we were playing with the Cocoa spell checker. In the real world, you would more than likely use a nib with a HITextView embedded in a Scroll View.
>> 
>> <very nice demo snipped>
> 
> 
> Excellent! I knew the panel could be called via Objective-C and the NSSpellChecker class ( which I haven’t investigated at all ) but didn’t realize a Carbon version could be called. Since my code builds its own spellchecker panel, this has a lot of potential. I’m going to start playing with it next chance I get. Thanks for this Ken.


Works great and allowed me to eliminate code and a nib. Registered for the event and it just works. 

Brian S