• 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: NSTextView limit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextView limit


  • Subject: Re: NSTextView limit
  • From: Douglas Davidson <email@hidden>
  • Date: Fri, 26 Jul 2002 09:33:01 -0700

On Thursday, July 25, 2002, at 02:50 PM, Nico wrote:

Thanks, but my problem is mainly to understand how to -delete- the lines from the NSTextView.

For that you just modify the NSTextStorage. NSTextStorage is a subclass of NSMutableAttributedString, so you modify it like a mutable attributed string. See the documentation for more information. If you're making multiple modifications in a row, bracket them in beginEditing/endEditing.

Douglas Davidson
_______________________________________________
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: NSTextView limit (From: Nico <email@hidden>)

  • Prev by Date: Re: cocoa-dev digest, Vol 2 #999 - 13 msgs
  • Next by Date: Re: Metallic Windows ... Is Apple Breakin' the Rules?
  • Previous by thread: Re: NSTextView limit
  • Next by thread: initWithCoder: called on objects in nibs
  • Index(es):
    • Date
    • Thread