Re: Text Storage
Re: Text Storage
- Subject: Re: Text Storage
- From: Nico <email@hidden>
- Date: Sat, 10 Aug 2002 11:32:20 +0200
Ohhhhhhhhh :)
OK I see
Thanks you very much, that works fine.
Nico
On 10/08/02 11:03, "Scott Anguish" <email@hidden> wrote:
>
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.