]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0082: Redrawing can be improved when deleting lines with 'cursorline' v9.1.0082
authorzeertzjq <zeertzjq@outlook.com>
Thu, 8 Feb 2024 10:34:55 +0000 (11:34 +0100)
committerChristian Brabandt <cb@256bit.org>
Thu, 8 Feb 2024 10:34:55 +0000 (11:34 +0100)
commit7ce34c9a947b17a8b5e81e7c2335a63552182d10
tree5b1667c46abd1b0a603fb9d66ea4eefbcd56f856
parentb8170143c8f8a115b5be59a94d10f931d3cd567c
patch 9.1.0082: Redrawing can be improved when deleting lines with 'cursorline'

Problem:  Redrawing can be improved when deleting lines with 'cursorline'.
Solution: Use smarter invalidation and adjustment.  Remove unnecessary
          UPD_VALID as it is already set at the top of the loop.  Make
          the test for #4862 fail without the fix.
          (zeertzjq)

closes: #13986

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/change.c
src/testdir/test_highlight.vim
src/version.c