I think Ross's confusion stems from your statement that: >>> There is one NSLayoutManager and one NSTextStorage behind each text view
You make it sound as if a single NSTextView is responsible for completely showing all the text in each NSTextStorage. In other words, that each of your NSLayoutManagers has exactly one NSTextContainer (and one NSTextView) associated with it. But from your code and described strategy, it sounds like you actually have multiple NSTextContainers (and NSTextViews) associated with each NSLayoutManager. >>> So how do I prevent NSLayoutManager from drawing cut-off glyphs in a series >>> of non-contiguous text views? Yes, I did make sure that the text >>> container's size tracks the text view's size. I don't know the particulars of your situation or what might be triggering the cutoff display (are they just descenders?), but have you tried reducing the height of the NSTextContainer while keeping your NSTextView height the same? (You'll have to disable automatic resizing). That should make NSLayoutManager place/assign less lines of text to the view, while keeping the drawable view bounds the same. ~Martin _______________________________________________ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com