• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Text Storage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Text Storage (From: Scott Anguish <email@hidden>)

  • Prev by Date: Re: filtering contents for NSBrowser
  • Next by Date: Re: FTPClient Beta Released - Please test
  • Previous by thread: Re: Text Storage
  • Next by thread: Re: Text Storage
  • Index(es):
    • Date
    • Thread