Interesting indeed. I've just checked on OS 4.2 and also had it confirmed for OS X that NSAttributedString doesn't implement -compare: Right now I'm leaning towards changing the implementation of NSCell-compare: to:
...
return [[self stringValue] compare: [(NSCell*)otherCell stringValue]];
I like the idea, but -stringValue do not seem to be in openstep for NSString
and NSAttributedString. Maybe -description would be a better option?
... that's why I'm sending it to the NSCell's and not to the NS(Attributed)String's :-)
Cheers, David
_______________________________________________ Bug-gnustep mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-gnustep
