Re: Confusion about NSWritingDirectionNatural
Re: Confusion about NSWritingDirectionNatural
- Subject: Re: Confusion about NSWritingDirectionNatural
- From: Kyle Sluder <email@hidden>
- Date: Thu, 26 Sep 2013 19:14:38 -0700
> On Sep 26, 2013, at 7:00 PM, Shane Stanley <email@hidden> wrote:
>
>> On 27/09/2013, at 11:12 AM, Kyle Sluder <email@hidden> wrote:
>>
>> - Text in the range (0, textStorage.length) has a value of
>> NSWritingDirectionNatural for the NSWritingDirectionAttributeName attribute
>
> As I read the docs, NSWritingDirectionNatural is a type of NSTextAlignment,
No, it's not. It specifically refers to the writing direction, NOT the text alignment. Values in this enum are valid for NSParagraphStyle.baseWritingDirection right out of the bag, and when combined with NSTextWritingDirectionOverride or NSTextWritingDirectionEmbedded can be used with the NSWritingDirectionAttributeName key. See the OS X 10.6 AppKit release notes for further clarification.
--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