• 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: NSLayoutManager question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSLayoutManager question


  • Subject: Re: NSLayoutManager question
  • From: Brian Webster <email@hidden>
  • Date: Mon, 3 Feb 2003 19:50:19 -0600

On Monday, February 3, 2003, at 05:42 PM, Koen van der Drift wrote:

At 4:11 PM -0600 2/3/03, Brian Webster wrote:
NSTextContainer would be better suited to doing this than
NSLayoutManager. If you write your own subclass of NSTextContainer,
you can use it to define what regions of a text view you want text to
flow into. So, your subclass would only allow ten characters at a time
to be laid out, putting a gap in between each line fragment.


Thanks, I'll look into that. Do I need a separate textcontainer for each
line fragment, or can one instance of it take care of it?

One text container is used for each NSTextView, no matter the number of breaks you want to make in the text.

--
Brian Webster
email@hidden
http://homepage.mac.com/bwebster
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: NSLayoutManager question (From: Koen van der Drift <email@hidden>)

  • Prev by Date: Re: current user if started from /Library/StartupItems
  • Next by Date: Floating point problem???
  • Previous by thread: Re: NSLayoutManager question
  • Next by thread: Re: NSLayoutManager question
  • Index(es):
    • Date
    • Thread