Hello Benhur!Hi David!
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?
But one good thing is, that we did find this bug, as these cells are currently compared by the location of their _contents in memory.Yes, I had always wondered why my cells were so strangely ordered...
Cheers, Benhur
_______________________________________________ Bug-gnustep mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-gnustep
