rulerView(_:didAdd:)
Informs the client that aRulerView allowed the user to add aMarker.
Declaration
func rulerView(_ ruler: NSRulerView, didAdd marker: NSRulerMarker)Discussion
The client can take whatever action it needs based on this message, such as adding a new tab stop to the selected paragraph or creating a layout guideline.
See Also
Related Documentation
Synchronizing with Ruler Views
rulerView(_:didMove:)rulerView(_:didRemove:)rulerView(_:handleMouseDownWith:)rulerView(_:locationFor:)rulerView(_:pointForLocation:)rulerView(_:shouldAdd:)rulerView(_:shouldMove:)rulerView(_:shouldRemove:)rulerView(_:willAdd:atLocation:)rulerView(_:willMove:toLocation:)rulerView(_:willSetClientView:)