RunArray immutable?

Damien Cassou damien.cassou at laposte.net
Mon Feb 12 09:41:51 UTC 2007


On Feb 12, 2007, at 10:35 AM, Lukas Renggli wrote:

>> Have a look at TextAndTextStreamTest. I think this is what the
>> RunArray is supposed to do (as opposed to what a generic collection
>> should be able to do).
>>
>> I don't understand what you are talking about. Do you agree with the
>> addition of #at:put: or do you think RunArrays should not be  
>> modified ?
>
> I don't think that makes sense. RunArrays are mainly used to annotate
> strings with text formats. It is not really a type of collection that
> one should use in your own project. Have a look at
> TextAndTextStreamTest, this class already includes a few tests for
> RunArray and its intended use.

I don't see why it should not be used for other uses.

-- 
Damien Cassou



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20070212/b7732717/attachment.htm


More information about the Squeak-dev mailing list