Notepad2e icon indicating copy to clipboard operation
Notepad2e copied to clipboard

Split views scrolled after closing Customize Schemes

Open ProgerXP opened this issue 3 years ago • 3 comments

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.

ProgerXP avatar Jul 04 '22 20:07 ProgerXP

Cannot reproduce. Please provide video if the problem remains.

cshnik avatar Feb 21 '24 15:02 cshnik

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.

cshnik avatar Feb 28 '24 18:02 cshnik

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

cshnik avatar Feb 28 '24 19:02 cshnik