• 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: How to: Address Book-like text UI
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >How to: Address Book-like text UI (From: Kai BrĂ¼ning <email@hidden>)

  • Prev by Date: Re: [ANN] RegexKit - An Objective-C Framework for Regular Expressions Using the PCRE Library
  • Next by Date: Blogo weblog editor - Beta
  • Previous by thread: Re: How to: Address Book-like text UI
  • Next by thread: Re: How to: Address Book-like text UI
  • Index(es):
    • Date
    • Thread