]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0079: LineNrAbove/Below highlighting wrong on wrapped lines v9.1.0079
authorzeertzjq <zeertzjq@outlook.com>
Tue, 6 Feb 2024 09:59:03 +0000 (10:59 +0100)
committerChristian Brabandt <cb@256bit.org>
Tue, 6 Feb 2024 09:59:03 +0000 (10:59 +0100)
commitebfd856cfdf6ea0b16c8d115000961c998ce97da
treec07e77f4b98e9bfd53d1e63ce21d912eba17e206
parentf7f33e3719c87279dfad109b874e2817007a1184
patch 9.1.0079: LineNrAbove/Below highlighting wrong on wrapped lines

Problem:  LineNrAbove and LineNrBelow background wrong on wrapped lines.
Solution: Update number column also for wrapped part of a line.
          (zeertzjq)

closes: #13974

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/drawline.c
src/drawscreen.c
src/testdir/dumps/Test_relnr_colors_wrapped_1.dump [new file with mode: 0644]
src/testdir/dumps/Test_relnr_colors_wrapped_2.dump [new file with mode: 0644]
src/testdir/dumps/Test_relnr_colors_wrapped_3.dump [new file with mode: 0644]
src/testdir/dumps/Test_relnr_colors_wrapped_4.dump [new file with mode: 0644]
src/testdir/dumps/Test_relnr_colors_wrapped_5.dump [new file with mode: 0644]
src/testdir/test_number.vim
src/version.c