bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GSTextStorage vs GSMutableAttributedString


From: Nicola Pero
Subject: Re: GSTextStorage vs GSMutableAttributedString
Date: Mon, 20 May 2002 10:48:27 +0100 (BST)

> GSTextStorage is almost an exact copy of 
> GSMutableAttributedString/GSAttributedString.
> 
> I think it would be easier if we just used behaviors to add that 
> functionality to GSTextStorage. The only problem is that GSTextStorage 
> uses an extra call in some routines:
> 
> - (void) edited: (unsigned)mask range: (NSRange)old changeInLength: 
> (int)delta;
> 
> 
> But perhaps we could just put a dummy implementation of that in 
> GSMutableAttributedString. Does this sound ok?

I wish I could say yes :-) but it would bind gnustep-gui to special
gnustep-only features of gnustep-base ... which does not look like a
feasible option.  Still, I'm definitely annoyed - as you are - by having
the code for an entire class duplicated literally in two different classes
in two different libraries.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]