Mercurial > vim
diff src/testdir/test_window_cmd.vim @ 30251:0288baaedf91 v9.0.0461
patch 9.0.0461: 'scroll' is not always updated
Commit: https://github.com/vim/vim/commit/470a14140bc06f1653edf26ab0b3c9b801080353
Author: Luuk van Baal <luukvbaal@gmail.com>
Date: Wed Sep 14 01:27:23 2022 +0100
patch 9.0.0461: 'scroll' is not always updated
Problem: 'scroll' is not always updated.
Solution: Call win_init_size() at the right place.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 14 Sep 2022 02:30:03 +0200 |
parents | 91ecee475811 |
children | 48db7f8f1b44 |
line wrap: on
line diff
--- a/src/testdir/test_window_cmd.vim +++ b/src/testdir/test_window_cmd.vim @@ -1668,6 +1668,7 @@ func Test_splitscroll_with_splits() execute 'norm gg' . pos split | redraw | wincmd k call assert_equal(1, line("w0")) + call assert_equal(&scroll, winheight(0) / 2) wincmd j call assert_equal(win_screenpos(0)[0] - tabline - winbar_sb, line("w0"))