bug-gnustep
[Top][All Lists]
Advanced

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

Re: Scrub last - better patch....


From: Richard Frith-Macdonald
Subject: Re: Scrub last - better patch....
Date: Wed, 10 Sep 2003 12:13:31 +0100


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.





reply via email to

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