Re: NSTextView Bad Behavior

2009-12-14 Thread Gordon Apple
Thanks. Those are relatively new. I had forgotten about them. I think that did solve a few problems. However, I found that it doesn't set the container or frame length. Unfortunately, that API is private, so I had to find another way. I'm flipping text both H and/or V, scaling, and slow scroll

Re: NSTextView Bad Behavior

2009-12-14 Thread Douglas Davidson
On Dec 14, 2009, at 10:50 AM, Gordon Apple wrote: Any ideas on how to force a full layout and then prevent NSTextView from further mucking with it? One of NSLayoutManager's -ensureLayout... methods would be a good bet here. Douglas Davidson _

NSTextView Bad Behavior

2009-12-14 Thread Gordon Apple
Apparently, I'm not the only one who has experienced this. NSTextView (or NSLayoutManager) is lazy. It does stuff in the background that is driving me nuts. I need to do a full layout, not just what's visible, so I can get a reliably accurate measure of the total physical text layout length. I'