[Biococoa-dev] Re: Weird bug with selection in Textview with custom textcontainer [solved]

Alexander Griekspoor mek at mekentosj.com
Tue Apr 18 14:23:02 EDT 2006

Great, it works perfect now!

Ps. Koen I can send you the updated KDTextView for the BioCocoa project.

On 18-apr-2006, at 20:16, Douglas Davidson wrote:

> On Apr 18, 2006, at 11:12 AM, Alexander Griekspoor wrote:
>> Many thanks for the advice, I've got it to work!
>> Below is the implementation of a custom layoutmanager class that  
>> fixes the problem. The nice thing is that it will get self- 
>> deactivated when you've fixed the problem ;-) I know if I have  
>> correctly implemented the fractionOfDistanceThroughGlyph part of  
>> the method, I'm not well known with c pointers, but that's anyway  
>> not really needed anyway for me.
>> Once again, thanks for the help!
> That should work.  The lines that say "partialFraction =  
> &fraction;" should instead read "if (partialFraction)  
> *partialFraction = fraction;" but overall it seems reasonable.
> Douglas Davidson

Mek (Alexander Griekspoor)
Web: http://www.mekentosj.com
Mail:  mek at mekentosj.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.bioinformatics.org/pipermail/biococoa-dev/attachments/20060418/b827a7dd/attachment.html>

More information about the Biococoa-dev mailing list