• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Confusion about NSWritingDirectionNatural
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Confusion about NSWritingDirectionNatural (From: Kyle Sluder <email@hidden>)
 >Re: Confusion about NSWritingDirectionNatural (From: Shane Stanley <email@hidden>)
 >Re: Confusion about NSWritingDirectionNatural (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Confusion about NSWritingDirectionNatural
  • Next by Date: NSView, Animator, and Autoresizing
  • Previous by thread: Re: Confusion about NSWritingDirectionNatural
  • Next by thread: Re: Confusion about NSWritingDirectionNatural
  • Index(es):
    • Date
    • Thread