On Mar 7, 2017, at 4:17 AM, Gerriet M. Denkmann <gerri...@icloud.com> wrote:
> 
> On 6 Mar 2017, at 23:26, Ken Thomases <k...@codeweavers.com> wrote:
>> 
>> Try using 
>> -enumerateEnclosingRectsForGlyphRange:withinSelectedGlyphRange:inTextContainer:usingBlock:.
>>   In particular, if you want rectangles which match how selection looks, 
>> pass a valid range for selectedRange.
> 
> Does return the same results as boundingRectForGlyphRange.

It may for some specific test cases, but it's specifically documented that it 
doesn't in the general case.

Regards,
Ken


_______________________________________________

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

Reply via email to