[Biococoa-dev] strider and gck format

Koen van der Drift kvddrift at earthlink.net
Sun Mar 19 20:25:06 EST 2006


On Mar 19, 2006, at 6:34 PM, Koen van der Drift wrote:

> One thing that the BCSequenceView will also need (or actually maybe  
> its controller) is a method that checks whether what the user types  
> is part of the symbolset of the sequence. If the controller does  
> that, it's probably needed in a delegate method, such as
>
> - (BOOL)textView:(NSTextView *)aTextView
> 		shouldChangeTextInRange:(NSRange)affectedCharRange
> 		replacementString:(NSString *)replacementString
>
>
> And also a way to change every typed letter to uppercase/lowercase  
> automagically.


Hmm, replying to myself here :) Another possibilty could be to make a  
formatter that takes care of these things. I will look into that,  
unless someone thinks that's a bad idea.

cheers,

- Koen.



More information about the Biococoa-dev mailing list