comparison src/popupmnu.c @ 15683:adc6442118b8 v8.1.0849

patch 8.1.0849: cursorline highlight is not always updated commit https://github.com/vim/vim/commit/c07ff5c60ad35982e9cdaa9dd72d3d1669935e87 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jan 30 21:41:14 2019 +0100 patch 8.1.0849: cursorline highlight is not always updated Problem: Cursorline highlight is not always updated. Solution: Set w_last_cursorline when redrawing. Fix resetting cursor flags when using the popup menu.
author Bram Moolenaar <Bram@vim.org>
date Wed, 30 Jan 2019 21:45:05 +0100
parents 6d949e552e99
children ddd82b1c9e9d
comparison
equal deleted inserted replaced
15682:e871f9bd86c1 15683:adc6442118b8
366 call_update_screen = TRUE; 366 call_update_screen = TRUE;
367 367
368 // Update the cursor position to be able to compute the popup menu 368 // Update the cursor position to be able to compute the popup menu
369 // position. The cursor line length may have changed because of the 369 // position. The cursor line length may have changed because of the
370 // inserted completion. 370 // inserted completion.
371 curwin->w_valid &= VALID_CROW|VALID_CHEIGHT; 371 curwin->w_valid &= ~(VALID_CROW|VALID_CHEIGHT);
372 validate_cursor(); 372 validate_cursor();
373 } 373 }
374 374
375 /* 375 /*
376 * Return TRUE if we are going to redraw the popup menu and the screen position 376 * Return TRUE if we are going to redraw the popup menu and the screen position