• 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: When/Where does the text system create it's NSRulerMarkers?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: When/Where does the text system create it's NSRulerMarkers?


  • Subject: Re: When/Where does the text system create it's NSRulerMarkers?
  • From: Douglas Davidson <email@hidden>
  • Date: Fri, 31 Mar 2006 15:04:37 -0800


On Mar 31, 2006, at 3:02 PM, The Karl Adam wrote:

I'm creating my own custom NSRulerView and NSTextView subclasses.
Things have gone well so far, what I need now is to cancel out the
text system's standard ruler markers and to create my own once during
either layout or display. Do I subclass NSLayoutManager or
NSTextStorage to do this?


Depending on what you want to do, you could look at -[NSLayoutManager rulerMarkersForTextView:paragraphStyle:ruler:] or -[NSLayoutManager rulerAccessoryViewForTextView:paragraphStyle:ruler:enabled:].


-Doug

_______________________________________________
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


References: 
 >When/Where does the text system create it's NSRulerMarkers? (From: "The Karl Adam" <email@hidden>)

  • Prev by Date: When/Where does the text system create it's NSRulerMarkers?
  • Next by Date: Re: NSUndoManager across multiple nibs
  • Previous by thread: When/Where does the text system create it's NSRulerMarkers?
  • Next by thread: Getting version of JavaVM?
  • Index(es):
    • Date
    • Thread