On Apr 12, 2012, at 12:11 AM, Lee Ann Rucker <lruc...@vmware.com> wrote:
> That's interesting, because the doc disagrees: > > "Text using NSNaturalTextAlignment is actually displayed using one of the > other alignments, depending on the natural alignment of the text’s script." You're looking at the reference for NSText, not NSTextField. As I said, I would probably find it surprising if, in an interface designed for an LTR language, entering RTL text suddenly changed the alignment of my text fields. That could seriously disrupt the readability of a form. (I must note that I don't write in any RTL languages.) Of course it should respect the writing direction, so the cursor would remain fixed at the left of the text field while typed characters were appended to the left. For a text view, however, I would definitely want RTL text to be aligned to the right. I would not be surprised if NSTextFieldCell configures its field editor with left/right alignment based on the UI direction rather than passing on the natural alignment. That might be worth testing. --Kyle Sluder _______________________________________________ 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