Open ProgerXP opened 2 years ago
Cannot reproduce. Please provide video if the problem remains.
There was a bug in Scintilla which caused unexpected scrolling when renewing document styling in case of opened file with word wrap mode enabled.
https://github.com/ProgerXP/Notepad2e/assets/8019354/8015b997-2523-4587-bffb-9004dc3c6e41
Fixed.
There is still a visual defect: vertical scrolling slider jump few times when applying document styling in word wrap mode. The actual cause is that word wrapping formatting updates in paint()-subproc iteratively and requires several calls before formatting become correct.
https://github.com/ProgerXP/Notepad2e/assets/8019354/4c2cb672-badd-4e2d-8960-6f5c87cc6796
Open new window, open some long file, scroll it down, press Ctrl+F12, then close the dialog - the file isn't scrolled. Now make a split view and repeat - both views will be scrolled. Interestingly, if you close the split view (so that only one view remains), the behaviour will start happening even in this case.
Looks similar to #405.