[Top][All Lists]

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

GSTextStorage vs GSMutableAttributedString

From: Adam Fedor
Subject: GSTextStorage vs GSMutableAttributedString
Date: Fri, 17 May 2002 15:00:17 -0600
User-agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:0.9.8) Gecko/20020310

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?

Adam Fedor, Digital Optics Corp.      | I'm glad I hate spinach, because
http://www.doc.com                    | if I didn't, I'd eat it, and you
                                      | know how I hate the stuff.

reply via email to

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