vim-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 vim/vim#5353)
09dd2bb336
This commit is contained in:
Jan Edmund Lazo
2020-10-08 18:52:18 -04:00
parent 56bb5993d9
commit 2bfe2018d6
3 changed files with 28 additions and 1 deletions

View File

@@ -641,7 +641,7 @@ void validate_virtcol_win(win_T *wp)
/*
* Validate curwin->w_cline_height only.
*/
static void validate_cheight(void)
void validate_cheight(void)
{
check_cursor_moved(curwin);
if (!(curwin->w_valid & VALID_CHEIGHT)) {