>>> 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 (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