Text Storage
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.