]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.2.0907: popup: virtual text is not redrawn when a text property changes master v9.2.0907
authorHirohito Higashi <h.east.727@gmail.com>
Mon, 3 Aug 2026 20:38:42 +0000 (20:38 +0000)
committerChristian Brabandt <cb@256bit.org>
Mon, 3 Aug 2026 20:38:42 +0000 (20:38 +0000)
commit28698bca20dd3970cd7a7e2996ecc74ce00f151b
tree0903cfeb06367c8e3f0633a807ff350678b5eadc
parent124c86868c253a5ec1347e7cbe102504d2d66a07
patch 9.2.0907: popup: virtual text is not redrawn when a text property changes

Problem:  Adding or removing a text property in the buffer of a popup
          window does not update the popup on the screen.  The old
          virtual text stays visible until something else causes a
          redraw.
Solution: Also mark popup windows displaying the buffer for redrawing in
          redraw_buf_later() (Hirohito Higashi).

fixes:  #19297
closes: #20931

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/drawscreen.c
src/testdir/dumps/Test_popupwin_textprop_redraw_1.dump [new file with mode: 0644]
src/testdir/dumps/Test_popupwin_textprop_redraw_2.dump [new file with mode: 0644]
src/testdir/test_popupwin.vim
src/version.c