On Thu, Nov 22, 2012, at 03:22 PM, Kyle Sluder wrote: > If you think about it, it makes sense that NSTextView cannot be > responsible for the black line, because NSTextView (in its default > configuration) sizes itself vertically to fit the used rect of its text > container, yet the line draws in the entire vertical extent of the > scroll view.
Actually now that I think of it, that's a load of bull. If NSTextView is the document view of a scroll view, it fills out the scroll view so it can accept mouse clicks in the entire area. The rest of my post still stands, though—it appears that NSRulerMarker collaborates directly with NSScrollView to draw the guidelines. --Kyle Sluder _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com