It's strange that an additional offset is needed. It is something specific for RTL? It used to work as following: target_x was never touched on cursor
up and down, but adjusted on all other cursor movements.

When I cleaned up this, the target_x was touched everywhere :-). So I decided to touch it only when moving up and down. Maybe the opposite logic is better but that not obvious to me at the time.

I tried to follow the logic to always touch it in the middle of a text line. At the left and right it depends on the RTL flag and whether we are on a shorter line than the target and the same for the left side of a RTL paragraph or indented paragraph.

Stefan


Attachment: PGP.sig
Description: Signierter Teil der Nachricht

Reply via email to