Mercurial > vim
diff src/testdir/dumps/Test_smooth_long_showbreak_2.dump @ 31131:8de082110e2d v9.0.0900
patch 9.0.0900: cursor moves too far with 'smoothscroll'
Commit: https://github.com/vim/vim/commit/81ba26e9de24ca6b1c05b6ec03e53b21793f1a4b
Author: Yee Cheng Chin <ychin.git@gmail.com>
Date: Fri Nov 18 12:52:50 2022 +0000
patch 9.0.0900: cursor moves too far with 'smoothscroll'
Problem: Cursor moves too far with 'smoothscroll'.
Solution: Only move as far as really needed. (Yee Cheng Chin, closes https://github.com/vim/vim/issues/11504)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 18 Nov 2022 14:00:07 +0100 |
parents | 92b929203a4f |
children |
line wrap: on
line diff
--- a/src/testdir/dumps/Test_smooth_long_showbreak_2.dump +++ b/src/testdir/dumps/Test_smooth_long_showbreak_2.dump @@ -1,6 +1,6 @@ -|++0#4040ff13#ffffff0@2| |o+0#0000000&|f| |t|e|x|t| |i|n| |o|n|e| |l|i|n|e| |w|i|t|h| |l|o|t|s| |o|f| |t|e|x -|++0#4040ff13&@2| >t+0#0000000&| |i|n| |o|n|e| |l|i|n|e| |w|i|t|h| |l|o|t|s| |o|f| |t|e|x|t| |i|n| |o +|++0#4040ff13#ffffff0@2| >o+0#0000000&|f| |t|e|x|t| |i|n| |o|n|e| |l|i|n|e| |w|i|t|h| |l|o|t|s| |o|f| |t|e|x +|++0#4040ff13&@2| |t+0#0000000&| |i|n| |o|n|e| |l|i|n|e| |w|i|t|h| |l|o|t|s| |o|f| |t|e|x|t| |i|n| |o |++0#4040ff13&@2| |n+0#0000000&|e| |l|i|n|e| |w|i|t|h| |l|o|t|s| |o|f| |t|e|x|t| |i|n| |o|n|e| |l|i|n |++0#4040ff13&@2| |e+0#0000000&| |w|i|t|h| |l|o|t|s| |o|f| |t|e|x|t| |i|n| |o|n|e| |l|i|n|e| @4 |~+0#4040ff13&| @38 -| +0#0000000&@21|1|,|7@1|-|8|5| @6|A|l@1| +| +0#0000000&@21|1|,|4|1|-|4|5| @6|A|l@1|