Re: text highlighting with CALayer and NSTextVew
Re: text highlighting with CALayer and NSTextVew
- Subject: Re: text highlighting with CALayer and NSTextVew
- From: Kyle Sluder <email@hidden>
- Date: Fri, 24 Aug 2012 09:23:40 -0700
On Aug 24, 2012, at 3:16 AM, Koen van der Drift <email@hidden> wrote:
>
> On Aug 23, 2012, at 10:55 PM, Kyle Sluder <email@hidden> wrote:
>
>> Sadly, -convertRect:toLayer: and -convertRect:toBacking: are both broken on 10.7.4 and 10.7.5 for views that return YES from -isFlipped. (Yes, I filed a Radar and even a DTS incident, and it was returned.)
>
> Interesting, thanks for pointing that out. As it turns out, in an NSTextView isFlipped is YES.
>
> But wait, I see that you are talking about the CALayer method -convertRect:toLayer:, I am using the NSView method -convertRectToLayer (one word). Does that one also have the bug?
Sorry, I did in fact mean -[NSView convertRectToLayer:] and -convertRectToBacking:. As well as the point-based conversion methods.
--Kyle Sluder
_______________________________________________
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