Re: Shared NSTextView
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