• 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
NSLayoutManager additional temporary attributes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSLayoutManager additional temporary attributes


  • Subject: NSLayoutManager additional temporary attributes
  • From: Jesse Grosjean <email@hidden>
  • Date: Mon, 24 Jul 2006 22:47:57 -0400

NSLayoutManger's temporary attributes work great for me, but they are limited to attributes that don't effect the text layout such as foreground and background color. Does anyone know where can I plug into the text system so that I can make other attributes (such as font) act in this temporary fashion?

It seems like there must be one place where the NSLayoutManager asks the NSTextStorage for attributes at an index, but I can't seem to find that place. I'd like to subclass NSLayoutManager and be able to make modifications to the attributes at a particular index of the NSTextStorage so that the layout manager will lay the text out with my attributes, but so that the underlying NSTextStorage won't be changed.

Can anyone recommend the best way to approach this?

Thanks,
Jesse
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSLayoutManager additional temporary attributes
      • From: Martin Wierschin <email@hidden>
  • Prev by Date: Re: Re: Re: Re: Re: Re: What is serializaton?
  • Next by Date: Getting bounding rect of NSAttributedString
  • Previous by thread: RE: How do I display a path like in PathFinder 4, the file path
  • Next by thread: Re: NSLayoutManager additional temporary attributes
  • Index(es):
    • Date
    • Thread