[Biococoa-dev] strider and gck format

Koen van der Drift kvddrift at earthlink.net
Sat Mar 25 11:11:03 EST 2006

On Mar 25, 2006, at 10:35 AM, Alexander Griekspoor wrote:

> Yes I know, and I only use 10pt courier in my apps for that reason ;-)
> No seriously, this comes down to an extension of the view that I  
> would like to see in the future. I think the view should have three  
> properties accessors
> - the font (which it already has of course, although we should make  
> sure you can only set one font for the whole textview)
> - the numbers of characters per column
> - the column spacing

Sounds good.

> Based on the first two we should then calculate the columnwidth  
> dynamically, and the  numbers_of_characters_per_column property can  
> be used in the select by word range calculations.
>> Regarding the 1-10 selection bug, it may be related to our 'hack'  
>> to move the left margin to the right (kLEFT_MARGIN_WIDTH).
> Hmm, I actually thought of the columnwidth because the problems are  
> limited to exactly a column.

That's possible too :)

Somewhere I have a feeling that we may need to subclass the  
layoutmanager, instead of the textcontainer, though. For my  
linenumber code it works well with the textcontainer subclass,  
however, for biological sequences that require more advanced layouts,  
including the columns, it may not be sufficient. This may also help  
to draw annotations, lines, markers, etc. I will look a bit more into  
this this weekend.

> This is the email I try to post to the cocoa-dev list for a couple  
> of times already (it contains some more info, also see the  
> picture), but no success yet...

I haven't seen any mails from cocodev in a couple of hours, I guess  
their mailing listserver has some hiccups.

- Koen.

More information about the Biococoa-dev mailing list