Re: When/Where does the text system create it's NSRulerMarkers?
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