]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.0.1759: Visual highlight not working with cursor at end of screen line v9.0.1759
authorzeertzjq <zeertzjq@outlook.com>
Sun, 20 Aug 2023 16:12:54 +0000 (18:12 +0200)
committerChristian Brabandt <cb@256bit.org>
Sun, 20 Aug 2023 16:12:54 +0000 (18:12 +0200)
commit8fc6a1dae07aa63faa6bfe6ed93888635745830c
tree4324dfaf69a1081379f8cd4b5b8076887a99a586
parent0ffc17aa479867f6f3ee14a46cf71352f126b5ba
patch 9.0.1759: Visual highlight not working with cursor at end of screen line

Problem:  Visual highlight not working with cursor at end of screen line
          and 'showbreak'.
Solution: Only update "vcol_prev" when drawing buffer text.

closes: #12865

Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
src/drawline.c
src/testdir/dumps/Test_visual_hl_with_showbreak.dump [new file with mode: 0644]
src/testdir/test_visual.vim
src/version.c