Mercurial > vim
comparison src/version.c @ 15697:b7a88676e81c v8.1.0856
patch 8.1.0856: when scrolling a window the cursorline is not always updated
commit https://github.com/vim/vim/commit/bbb5f8d4c2cbc5f48556008875f57cbe7fc4ac6c
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jan 31 13:22:32 2019 +0100
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 31 Jan 2019 13:30:07 +0100 |
parents | ac05f8fb4200 |
children | 2d941023bd2f |
comparison
equal
deleted
inserted
replaced
15696:2cc75ec8bda2 | 15697:b7a88676e81c |
---|---|
781 NULL | 781 NULL |
782 }; | 782 }; |
783 | 783 |
784 static int included_patches[] = | 784 static int included_patches[] = |
785 { /* Add new patch number below this line */ | 785 { /* Add new patch number below this line */ |
786 /**/ | |
787 856, | |
786 /**/ | 788 /**/ |
787 855, | 789 855, |
788 /**/ | 790 /**/ |
789 854, | 791 854, |
790 /**/ | 792 /**/ |