mirror of
https://github.com/storytold/figcraft.git
synced 2026-10-25 10:56:48 -06:00
On lines with right-to-left runs, Left and Right now move the caret one position left or right on screen (TextLayout::visual_step) instead of one char in logical order, so the caret no longer jumps backwards inside Arabic or Hebrew. At a line's edge it continues to the neighbouring line in reading order. Plain left-to-right lines are unchanged. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>