Re: Text System Architecture is really confusing me.
Re: Text System Architecture is really confusing me.
- Subject: Re: Text System Architecture is really confusing me.
- From: Alastair Houghton <email@hidden>
- Date: Fri, 29 Jun 2007 16:56:25 +0100
On 29 Jun 2007, at 16:11, David Harper wrote:
4. TextViews have a reference to EXACTLY 1 text container.
My problem is with #4. I'd like to be able to customize layout
within a textview in order to be able to display equations. I'm
visualizing this being done by placing multiple text containers in
a single view.
You do know that you can subclass NSTextContainer and override -
lineFragmentRectForProposedRect:sweepDirection:movementDirection:remaini
ngRect:, right?
That will give you complete control over the layout of your text, and
doesn't require the use of multiple text containers.
Kind regards,
Alastair.
--
http://alastairs-place.net
_______________________________________________
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