Mercurial > vim
diff src/screen.c @ 16998:2ec0f953ec3f v8.1.1499
patch 8.1.1499: ruler not updated after popup window was removed
commit https://github.com/vim/vim/commit/24a5ac5d4dbc4dc5d6d2b7e4dda6612dd9233f5d
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jun 8 19:01:18 2019 +0200
patch 8.1.1499: ruler not updated after popup window was removed
Problem: Ruler not updated after popup window was removed.
Solution: use popup_mask in screen_puts().
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 08 Jun 2019 19:15:06 +0200 |
parents | 9c4cf27deb87 |
children | 79c3a52fdb07 |
line wrap: on
line diff
--- a/src/screen.c +++ b/src/screen.c @@ -7897,7 +7897,11 @@ screen_puts_len( || ScreenAttrs[off] != attr || exmode_active; - if (need_redraw || force_redraw_this) + if ((need_redraw || force_redraw_this) +#ifdef FEAT_TEXT_PROP + && popup_mask[row * screen_Columns + col] <= screen_zindex +#endif + ) { #if defined(FEAT_GUI) || defined(UNIX) /* The bold trick makes a single row of pixels appear in the next