https://bugs.documentfoundation.org/show_bug.cgi?id=141663

--- Comment #16 from Eyal Rozenberg <eyalr...@gmx.com> ---
(In reply to Eric Bright from comment #0)
> Actual Results:
> As soon as you type the punctuation mark at the end of the English sentence,
> it jumps to the beginning of the English sentence (which is the end of the
> Persian paragraph).
> 
> Expected Results:
> The punctuation mark must stay at the end of the English sentence within the
> Persian paragraph.

No, that's not expected. Unless you somehow indicated the exclamation mark
belongs to something LTRish  with the RTL paragraph - it belong at the end of
the paragraph. 

You can, if you like, insert an LRM mark
(https://en.wikipedia.org/wiki/Left-to-right_mark) after the exclamation mark;
it will then be laid out as part of an LTR sequence - between an English
character and another strongly-LTR character, the LRM.

Now, you _could_ argue that the position of the cursor, and the current
keyboard layout language (English) suggest that more strong-LTR characters will
be added, and the layout should be made as though a "phantom LRM" were present
at that position. But this is certainly not a bug, and such a suggestions has
significant drawbacks.


See also: 
https://www.unicode.org/reports/tr9/
and specifically the section about resolving embedding levels. It's a long and
complicated document though.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to