commit | c07ff5c60ad35982e9cdaa9dd72d3d1669935e87 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Wed Jan 30 21:41:14 2019 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Wed Jan 30 21:41:14 2019 +0100 |
tree | 44d2c989bbe002e8698dd4f81514c407a6a85b06 | |
parent | b191be2f0000bf1de09a79226cfd405d9387caa3 [diff] [blame] |
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.
diff --git a/src/screen.c b/src/screen.c index 570910e..1370773 100644 --- a/src/screen.c +++ b/src/screen.c
@@ -3712,6 +3712,7 @@ { line_attr = HL_ATTR(HLF_CUL); area_highlighting = TRUE; + wp->w_last_cursorline = wp->w_cursor.lnum; } #endif