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

Re: Shared NSTextView


  • Subject: Re: Shared NSTextView
  • From: Graham Cox <email@hidden>
  • Date: Tue, 19 Aug 2008 15:32:39 +1000


On 19 Aug 2008, at 3:23 pm, chaitanya pandit wrote:

But as in your case you will have to use a separate set of above classes for each textView, that means you cannot share the layout manager as it belongs to a single textStorage.


Not strictly true, because while the LM is associated with the text storage, you can switch it on the fly. Whether this is faster or slower than having a separate instance would need to be measured, but it definitely works.

Graham
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Shared NSTextView (From: "Oleg Krupnov" <email@hidden>)
 >Re: Shared NSTextView (From: chaitanya pandit <email@hidden>)

  • Prev by Date: Re: Shared NSTextView
  • Next by Date: Re: NSView confusion
  • Previous by thread: Re: Shared NSTextView
  • Next by thread: Re: Shared NSTextView
  • Index(es):
    • Date
    • Thread