Re: Text Storage
Re: Text Storage
- Subject: Re: Text Storage
- From: Scott Anguish <email@hidden>
- Date: Sat, 10 Aug 2002 05:03:53 -0400
of course.. foolish me..
you'll need to make the range slightly different
On Saturday, August 10, 2002, at 04:39 AM, Nico wrote:
On 10/08/02 1:35, "Scott Anguish" <email@hidden> wrote:
theRange=[[myTextStorage string] rangeOfString:@"\n"];
theRange=NSMakeRange(0,theRange.location);
[myTextStorage deleteCharactersInRange: theRange];
I've just tried this, I seems that this code only deletes the first \n
character he finds in the textSotage, and not the line before it.
Nico
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.