When editing RTL text with DWW enabled, the cursor indicator is wrongly placed, one character to the right (that is, the previous character). The cursor indicator is placed at the right character if the line is short enough and at the last virtual line of the wrapped line. For example, if the line contains "אאאא בבבב גגגג" and the cursor is phyically placed at the first character of the second word ("אאאא |בבבב גגגג"), the cursor is wrongly drawn before the space ("אאאא| בבבב גגגג"). Reproducible: Always Steps to Reproduce: 1. Enable dynamic word wrap. 2. Enter long Hebrew line (i.e., repeating "אאאא בבבב גגגג"). 3. Move the cursor to the second word (using Crtl+left). 4. Erase/Add some text. Actual Results: Cursor is shown at the wrong place. Expected Results: Cursor is shown at the right place. This is a major regression, basicly rendering kate useless as RTL text editor. Qt: 4.8.6 KDE Development Platform: 4.13.3 Kate: 3.13.3
I could not reproduce. Please test with the latest version. Arch Linux 64-bit Kate 16.04.2 KDE Frameworks 5.22.0 Qt 5.6.1 xcb wm
I test this on Kate 15.22 all work fine
Kate Version 17.08.1 32bit Windows 7, I still have this bug.