• 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: 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.

  • Follow-Ups:
    • Re: Text Storage
      • From: Nico <email@hidden>
References: 
 >Re: Text Storage (From: Nico <email@hidden>)

  • Prev by Date: Re: Text Storage
  • Next by Date: Re: filtering contents for NSBrowser
  • Previous by thread: Re: Text Storage
  • Next by thread: Re: Text Storage
  • Index(es):
    • Date
    • Thread