Re: NSTextView Bad Behavior
Re: NSTextView Bad Behavior
- Subject: Re: NSTextView Bad Behavior
- From: Gordon Apple <email@hidden>
- Date: Mon, 14 Dec 2009 16:26:39 -0600
- Thread-topic: NSTextView Bad Behavior
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 scrolling. It still
has a few issues, but mostly works.
On 12/14/09 12:55 PM, "Douglas Davidson" <email@hidden> wrote:
>
> 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
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden