NSRulerView question
NSRulerView question
- Subject: NSRulerView question
- From: "Timothy J. Wood" <email@hidden>
- Date: Wed, 10 Dec 2003 16:34:18 -0800
So, I have a view that isn't a NSTextView subclass that wants to get
information from a ruler. I see how to turn a NSParagraphStyle into
markers using a method on NSLayoutManager (which is an instance method
for some bizarre reason).
But, when I'm the ruler view's client and it tells me it wants to add
a marker, I'd like to be able to turn the set of markers back into a
new NSParagraphStyle. I don't see any API to do this. Obviously I can
encode dependencies on the represented objects of the NSRulerMarkers,
but that is a Bad Idea IMO :)
-tim
_______________________________________________
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.