]> granicus.if.org Git - vim/commit
patch 8.1.0856: when scrolling a window the cursorline is not always updated v8.1.0856
authorBram Moolenaar <Bram@vim.org>
Thu, 31 Jan 2019 12:22:32 +0000 (13:22 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 31 Jan 2019 12:22:32 +0000 (13:22 +0100)
commitbbb5f8d4c2cbc5f48556008875f57cbe7fc4ac6c
tree1de474becdefcd656f653269ee79b916feb7b98b
parentaf703585a34aa30bb5bdf8c05e4be8b3c66f787a
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.
src/move.c
src/normal.c
src/proto/move.pro
src/version.c