• 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
Text Storage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Text Storage


  • Subject: Text Storage
  • From: Nico <email@hidden>
  • Date: Fri, 09 Aug 2002 21:52:44 +0200

Hi.
Is there any way I can delete the first line of an NSTextView's textStorage?
Saying "the first line" I mean :
[[[myTextStorage componentsSeparatedByString:@"\n"] objectAtIndex:0]

I tried the docs, but I just managed to replace this line by an empty one.
That's not what I need, I want the second line to become the first one,
etc..

Thanks. 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: Douglas Davidson <email@hidden>
    • Re: Text Storage
      • From: Scott Anguish <email@hidden>
  • Prev by Date: RE: NSLayoutManagers
  • Next by Date: Newbie Questions About Methods and Messages
  • Previous by thread: New Yahoo!Group for Users of AppleGlot
  • Next by thread: Re: Text Storage
  • Index(es):
    • Date
    • Thread