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

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.

  • Prev by Date: Re: NSView subclass, contextual menu, mouse click...
  • Next by Date: Addendum: Problem with NSOutlineView::shouldSelectItem: and NSRunCriticalAlertPanel
  • Previous by thread: Re: NSView subclass, contextual menu, mouse click...
  • Next by thread: Addendum: Problem with NSOutlineView::shouldSelectItem: and NSRunCriticalAlertPanel
  • Index(es):
    • Date
    • Thread