Re: Confusion about NSWritingDirectionNatural
Re: Confusion about NSWritingDirectionNatural
- Subject: Re: Confusion about NSWritingDirectionNatural
- From: Martin Wierschin <email@hidden>
- Date: Thu, 26 Sep 2013 16:15:35 -0700
>>> The ruler has flipped to right-aligned, but the text, while running RTL,
>>> is laid out flush-left. Why?
>>
>> Because paragraph alignment and text direction are orthogonal?
>
> But it means the tabstops on the ruler have no relation to where the
> text is laid out on screen.
>
> And it doesn't explain why explicitly setting the paragraph to RTL
> causes text to align flush-right.
When you say you're changing the writing direction, do you mean programmatically via NSParagraphStyle or just testing in TextEdit? If it's the latter, then I'd guess TextEdit's menu action is also changing the text alignment as a convenience.
~Martin
_______________________________________________
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