right2leftdh / right2leftdh.github.io

Website for right2leftDH
3 stars 0 forks source link

Atom right-to-left test #3

Open nathangibson opened 4 years ago

nathangibson commented 4 years ago

Name of app/URL of website

Atom Are you testing a particular field or type of document? Plain text

Desktop (please complete the following information):

OS: Mac OS 10.14.5
Version of app or website (if applicable): 1.43.0

TESTS FOR PLAIN TEXT EDITORS

Copy this text into your text editor, answer the questions, and then paste it back here. Put an x inside the [] to answer the questions below. Feel free to add screenshots in the issue.

TEXT DISPLAY

  1. Does basic mixed-direction text display correctly? The first line should display the numbers left-to-right, the second line right-to-left. Word 1, 2 الكلمة, word 3 كلمة 1، word 2, كلمة 3

-[] Yes If No, what happened? The first line displayed correctly but the second line shows the numbers left-to-right.

LINE DIRECTION

  1. Can you set the base text-direction in the program's menu? Try setting the direction of the line below as right-to-left. The period should be on the left side of the line. هذه الكلمة.

-[] Yes If No, what happened? No line direction option is available in the menu and the period appears on the right. The line direction can be changed to right-to-left by setting the CSS property for the relevant div.line as "direction: rtl" using Atom's Developer Tools. In that case the period displays correctly on the left.

  1. Can you align text to the right (either using paragraph alignment or by setting the text direction)? هذه الكلمة.

-[] Yes If No, what happened? Not possible from the menu, only by setting the CSS property for the relevant div.line as "text-align: right" using Atom's Developer Tools. But the period still appears on the right.

  1. Does the beginning of the line start on the right for RTL text? (Try entering a line break with the cursor on the right side.) هذه الكلمة.

-[] Yes If No, what happened? The line ends on the right.

SELECTING TEXT

  1. Can you position the cursor correctly in RTL text with the mouse? هذه الكلمة.

-[] Yes If No, what happened? The cursor displays only on the far left or far right of the string of RTL text.

  1. Can you position the cursor correctly in RTL text with the arrow keys? هذه الكلمة.

-[] Yes If No, what happened? The cursor remains on the far left or far right of the string of RTL text.

  1. If you double-click on a word in RTL text, does it highlight the correct word? هذه الكلمة.

-[] Yes If No, what happened? It highlights the line number in the left margin or the entire RTL string, depending on which word is clicked.

  1. If you double-click on a word in RTL text, does it select the correct word? (Test by copying the word to the clipboard and pasting it somewhere else.) هذه الكلمة.

-[] Yes If No, what happened? It selects a different word from the one clicked.

  1. Can you select characters within an RTL word using the mouse? هذه الكلمة.

-[] Yes If No, what happened? Either nothing is highlighted and selected or all of the RTL text is highlighted and selected.

  1. Can you select characters within an RTL word using the keyboard? هذه الكلمة.

-[] Yes If No, what happened? The characters on the opposite side of the line are selected. E.g., if I try to select the rightmost character in the line, the leftmost one is selected.

Other Notes / Screenshots

This relates to several currently open issues reported in the Atom repository: https://github.com/atom/atom/issues/10132 https://github.com/atom/atom/pull/13194 https://github.com/atom/atom/issues/13612 https://github.com/atom/atom/issues/13348 https://github.com/atom/atom/issues/10294 https://github.com/atom/atom/issues/9397 https://github.com/atom/atom/issues/5990 As well as to this closed issue: https://github.com/atom/atom/issues/4682

Screen Shot 2020-01-30 at 11 23 04 AM Screen Shot 2020-01-30 at 11 23 33 AM