Mercurial > vim
comparison src/testdir/dumps/Test_popupwin_previewpopup_2.dump @ 31954:d8fdafc4b390 v9.0.1309
patch 9.0.1309: scrolling two lines with even line count and 'scrolloff' set
Commit: https://github.com/vim/vim/commit/1d6539cf36a7b6d1afe76fb6316fe662f543bf60
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Feb 14 17:41:20 2023 +0000
patch 9.0.1309: scrolling two lines with even line count and 'scrolloff' set
Problem: Scrolling two lines with even line count and 'scrolloff' set.
Solution: Adjust how the topline is computed. (closes https://github.com/vim/vim/issues/10545)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 14 Feb 2023 18:45:05 +0100 |
parents | bcf16185be60 |
children |
comparison
equal
deleted
inserted
replaced
31953:80d41e6f9f2a | 31954:d8fdafc4b390 |
---|---|
1 |o+0&#ffffff0|n|e| @71 | 1 |o+0&#ffffff0|n|e| @71 |
2 |#|i|n|c|l|u|d|e| |"|X|h|e|a|d|e|r|.|h|"| @54 | 2 |#|i|n|c|l|u|d|e| |"|X|h|e|a|d|e|r|.|h|"| @54 |
3 |t|h|r|e@1| @69 | 3 |t|h|r|e@1| @69 |
4 |f|o|u|r| @3|╔+0&#afffff255| |X|t|a|g|f|i|l|e| |═@30|X| +0&#ffffff0@23 | 4 |f|o|u|r| @3|╔+0&#afffff255| |X|t|a|g|f|i|l|e| |═@30|X| +0&#ffffff0@23 |
5 |f|i|v|e| @3|║+0&#afffff255|2|7| @37| +0&#a8a8a8255|║+0&#afffff255| +0&#ffffff0@23 | 5 |f|i|v|e| @3|║+0&#afffff255|2|6| @37| +0&#a8a8a8255|║+0&#afffff255| +0&#ffffff0@23 |
6 |s|i|x| @4|║+0&#afffff255|t|h|i|s| |i|s| |a|n|o|t|h|e|r| |p|l|a|c|e| @18| +0&#a8a8a8255|║+0&#afffff255| +0&#ffffff0@23 | 6 |s|i|x| @4|║+0&#afffff255|2|7| @37| +0&#a8a8a8255|║+0&#afffff255| +0&#ffffff0@23 |
7 |s|e|v|e|n| @2|║+0&#afffff255|2|9| @37| +0|║+0&#afffff255| +0&#ffffff0@23 | 7 |s|e|v|e|n| @2|║+0&#afffff255|t|h|i|s| |i|s| |a|n|o|t|h|e|r| |p|l|a|c|e| @18| +0|║+0&#afffff255| +0&#ffffff0@23 |
8 |f|i|n|d| |t|h|e|║+0&#afffff255|3|0| @37| +0&#a8a8a8255|║+0&#afffff255| +0&#ffffff0@23 | 8 |f|i|n|d| |t|h|e|║+0&#afffff255|2|9| @37| +0&#a8a8a8255|║+0&#afffff255| +0&#ffffff0@23 |
9 |n|i|n|e| @3|╚+0&#afffff255|═@40|⇲| +0&#ffffff0@23 | 9 |n|i|n|e| @3|╚+0&#afffff255|═@40|⇲| +0&#ffffff0@23 |
10 |t|h|i|s| |i|s| >a|n|o|t|h|e|r| |w|o|r|d| @54 | 10 |t|h|i|s| |i|s| >a|n|o|t|h|e|r| |w|o|r|d| @54 |
11 |v|e|r|y| |l|o|n|g| |l|i|n|e| |w|h|e|r|e| |t|h|e| |w|o|r|d| |i|s| |a|l|s|o| |a|n|o|t|h|e|r| @29 | 11 |v|e|r|y| |l|o|n|g| |l|i|n|e| |w|h|e|r|e| |t|h|e| |w|o|r|d| |i|s| |a|l|s|o| |a|n|o|t|h|e|r| @29 |
12 |~+0#4040ff13&| @73 | 12 |~+0#4040ff13&| @73 |
13 |~| @73 | 13 |~| @73 |