top | item 38006176

(no title)

obahareth | 2 years ago

Yeah browsers are much better at this but there's still a lot of places where it's problematic (e.g. Visual Studio Code, Sublime Text, etc.)

In terms of text editing no not really, most folks I know are either using Word, Pages, or Google Docs.

Usually the caret going the opposite direction is because of bidi characters. It would behave properly if you used Eastern Arabic / Indo-Arabic numerals, e.g. ١٢٣٤٥٦٧٨٩ because those count as RTL.

If you need to have on line that has both RTL, bidi, and LTR, that's when I find everything goes to hell no matter what software I am using.

discuss

order

java-man|2 years ago

Right. My goal is to find a good solution.

One possible solution is a dual, or split caret, with direction indicators [0]. So at least when the insertion position depends on the type of character being typed, one can see where it may go. What do you think of that?

And also, I didn't quite understand which kind of navigation (using LEFT and RIGHT arrow keys) you prefer or feel natural - the visual or "logical". The thing about logical one is that the caret might move in the opposite direction (relative to the arrow key pressed) when crossing bidi boundaries (browsers seem to use logical).

[0] https://user-images.githubusercontent.com/107069028/27779060...