0
0
mirror of https://github.com/vim/vim.git synced 2025-09-28 04:24:06 -04:00

patch 8.1.0856: when scrolling a window the cursorline is not always updated

Problem:    When scrolling a window other than the current one the cursorline
            highlighting is not always updated. (Jason Franklin)
Solution:   Call redraw_for_cursorline() after scrolling.  Only set
            w_last_cursorline when drawing the cursor line.  Reset the lines
            to be redrawn also when redrawing the whole window.
This commit is contained in:
Bram Moolenaar
2019-01-31 13:22:32 +01:00
parent af703585a3
commit bbb5f8d4c2
4 changed files with 8 additions and 3 deletions

View File

@@ -783,6 +783,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
856,
/**/
855,
/**/