News for hackers. Stuff that matters.
Re:Ask HN: Bidirectional Text Navigation by java-man on Tuesday October 24, 2023 @06:50PM (#38006767)
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...

There are no comments on this comment yet.