Re: How to: Address Book-like text UI
Re: How to: Address Book-like text UI
- Subject: Re: How to: Address Book-like text UI
- From: Douglas Davidson <email@hidden>
- Date: Wed, 5 Sep 2007 09:01:14 -0700
On Sep 5, 2007, at 12:38 AM, Kai BrĂ¼ning wrote:
My first idea to control the placement of text blocks was to use
one NSTextContainer per block (as suggested in the documentation
e.g. for multi column layouts). Unfortunately I did not find a
means so far to control the amount of text which is layed out in a
text container. That is, NSLayoutManager seems to always fill a
text container, while I need to assign a pre-determined piece of
text to each container. Is there a way to tell NSLayoutManager to
move to the next text container at a defined point in the text (as
would be needed for forced page breaks or column breaks in more
traditional layout)?
Yes, a form feed character (NSFormFeedCharacter = 0xc) is treated as
a container break.
Douglas Davidson
_______________________________________________
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