The issue appeared both in Scintilla 3.x/4.x (tested with latest 4.4.6)
Steps to reproduce:
- Run SctiTE, select File-> Encoding-> UTF8, select Options-> Wrap
- Enter the long line of characters (eg 1), create second line by pasting the following chars: 日本
- Resize window to wrap lines as shown on the attached image
- Move cursor to wrapped line start, press Alt+End, cursor get moved to last character on line
- Press Alt+Home to return cursor back, press Down to switch to the following line
- Repeat steps 4-5
Actual result: cursor moved to the following line (on Alt+End keypress) for lines with hieroglyphs
Expected result: cursor moved to the last character on line
Please consider the following fix:
https://github.com/ProgerXP/Notepad2e/commit/73ef6af219f840e64dd228ad3d7b0e724536277f
While the proposed patch appears reasonable, I can't reproduce this bug. You should attach the file you are using and specify any non-standard settings. The image shows larger than normal characters so it appears you have changed the system scale factor.
Specified behavior is also reproduced with 100% scaling factor.
Please do the following:
Last edit: cshnik 2021-02-01
How do I extract that change as a .patch file?
Patch for Scintilla 3.11.2
Committed as [b8c51a] .
Documentation credits this to "cshnik". If you want a different name then specify it here.
Related
Commit: [b8c51a]