On Wednesday, September 10, 2003, at 11:46 AM, Pete French wrote:


BTW- I dont understand some of the GNUstep architecture that well. There
are several implementations of rangeOfComposedCharaterSequenecAtIndex
- how do I know which is used when ? I note that one of them appears not
to use the isnonsp stuff, and thus I neeed to alter it and find a way to
test it. A brief explanation would be much appreciated !

The one in NSString.m is used whenever anyone implements their own subclass of NSString.


The ones in GSString.m are used for the private concrete subclasses dealing with unicode strings, unicode mutable strings, byte encoded strings and byte encoded mutable strings.
Since the byte encoded strings cannot possible contain multibyte sequences, the implementation for that always returns the single character at the specified index.




_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to