comparison src/window.c @ 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 be97adfeac3a
comparison
equal deleted inserted replaced
30250:c3b37b9e8919 30251:0288baaedf91
6382 wp->w_cursor.lnum = lnum; 6382 wp->w_cursor.lnum = lnum;
6383 } 6383 }
6384 invalidate_botline_win(wp); 6384 invalidate_botline_win(wp);
6385 validate_botline_win(wp); 6385 validate_botline_win(wp);
6386 } 6386 }
6387 win_comp_scroll(wp);
6387 wp->w_prev_height = wp->w_height; 6388 wp->w_prev_height = wp->w_height;
6388 wp->w_prev_winrow = wp->w_winrow; 6389 wp->w_prev_winrow = wp->w_winrow;
6389 } 6390 }
6390 // Ensure cursor is valid when not in normal mode or when resized. 6391 // Ensure cursor is valid when not in normal mode or when resized.
6391 if (!(get_real_state() & (MODE_NORMAL|MODE_CMDLINE))) 6392 if (!(get_real_state() & (MODE_NORMAL|MODE_CMDLINE)))