Mercurial > vim
comparison src/screen.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 | 6f1c7e9a6393 |
children | 52930462eec4 |
comparison
equal
deleted
inserted
replaced
15682:e871f9bd86c1 | 15683:adc6442118b8 |
---|---|
3710 if (wp->w_p_cul && lnum == wp->w_cursor.lnum | 3710 if (wp->w_p_cul && lnum == wp->w_cursor.lnum |
3711 && !(wp == curwin && VIsual_active)) | 3711 && !(wp == curwin && VIsual_active)) |
3712 { | 3712 { |
3713 line_attr = HL_ATTR(HLF_CUL); | 3713 line_attr = HL_ATTR(HLF_CUL); |
3714 area_highlighting = TRUE; | 3714 area_highlighting = TRUE; |
3715 wp->w_last_cursorline = wp->w_cursor.lnum; | |
3715 } | 3716 } |
3716 #endif | 3717 #endif |
3717 | 3718 |
3718 #ifdef FEAT_TEXT_PROP | 3719 #ifdef FEAT_TEXT_PROP |
3719 { | 3720 { |