• 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: Properly wrapping non-contiguous NSTextViews
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Properly wrapping non-contiguous NSTextViews


  • Subject: Re: Properly wrapping non-contiguous NSTextViews
  • From: Ross Carter <email@hidden>
  • Date: Tue, 16 Aug 2011 11:09:57 -0400

On Aug 15, 2011, at 6:19 PM, Nick Zitzmann wrote:

> Of course, if there is a better way of using the Cocoa text system to layout multiple non-contiguous pages of text with margins, I'd like to hear about it. Maybe it'll even solve the problem I'm having.

Well, it should just work without any fiddling of container or text view geometry. The Cocoa text system knows how much text will fit in a text container and  does a very good job of wrapping to the next container. It does not cut off lines of text (most of the time; some extreme fonts such as Zapfino might get clipped ascenders and descenders).

Sometimes Quartz Debug can show you areas where text is getting drawn and immediately overdrawn with background color.


_______________________________________________

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

  • Follow-Ups:
    • Re: Properly wrapping non-contiguous NSTextViews
      • From: Nick Zitzmann <email@hidden>
References: 
 >Properly wrapping non-contiguous NSTextViews (From: Nick Zitzmann <email@hidden>)
 >Re: Properly wrapping non-contiguous NSTextViews (From: Ross Carter <email@hidden>)
 >Re: Properly wrapping non-contiguous NSTextViews (From: Nick Zitzmann <email@hidden>)
 >Re: Properly wrapping non-contiguous NSTextViews (From: Martin Wierschin <email@hidden>)
 >Re: Properly wrapping non-contiguous NSTextViews (From: Nick Zitzmann <email@hidden>)
 >Re: Properly wrapping non-contiguous NSTextViews (From: Martin Wierschin <email@hidden>)
 >Re: Properly wrapping non-contiguous NSTextViews (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: How to pass command line parameters to Cocoa App
  • Next by Date: Re: Problems with UIAlertView
  • Previous by thread: Re: Properly wrapping non-contiguous NSTextViews
  • Next by thread: Re: Properly wrapping non-contiguous NSTextViews
  • Index(es):
    • Date
    • Thread