Adam Fedor wrote: > 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?
What I also don't like about the current situation is that every correction to the mechanism of this classes has to be applied to both separately. But I think we should be a bit more careful here than just replace one by the other. We still want to be able to use GNUstep GUI with other foundation libraries than base, although currently nobody uses any of these combinations. When a class in GUI (NSTextStorage) is directly dependent on a class in base (GSMutableAttributedString) we cannot easily replace this. _______________________________________________ Bug-gnustep mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-gnustep