comparison src/move.c @ 18892:fb2d26bc8ca1 v8.2.0007

patch 8.2.0007: popup menu positioned wrong with folding in two tabs Commit: https://github.com/vim/vim/commit/09dd2bb3364cc8fb5a8f2507bc2f4ceba481db3d Author: Bram Moolenaar <Bram@vim.org> Date: Sat Dec 14 18:42:15 2019 +0100 patch 8.2.0007: popup menu positioned wrong with folding in two tabs Problem: Popup menu positioned wrong with folding in two tabs. Solution: Update the cursor line height. (closes https://github.com/vim/vim/issues/5353)
author Bram Moolenaar <Bram@vim.org>
date Sat, 14 Dec 2019 18:45:04 +0100
parents 49b78d6465e5
children 80b40bd5ec1a
comparison
equal deleted inserted replaced
18891:84747442f5e2 18892:fb2d26bc8ca1
814 } 814 }
815 815
816 /* 816 /*
817 * Validate curwin->w_cline_height only. 817 * Validate curwin->w_cline_height only.
818 */ 818 */
819 static void 819 void
820 validate_cheight(void) 820 validate_cheight(void)
821 { 821 {
822 check_cursor_moved(curwin); 822 check_cursor_moved(curwin);
823 if (!(curwin->w_valid & VALID_CHEIGHT)) 823 if (!(curwin->w_valid & VALID_CHEIGHT))
824 { 824 {