]> granicus.if.org Git - vim/commit
patch 9.0.0716: with 'nowrap' virtual text "after" does not scroll left v9.0.0716
authorBram Moolenaar <Bram@vim.org>
Mon, 10 Oct 2022 18:50:42 +0000 (19:50 +0100)
committerBram Moolenaar <Bram@vim.org>
Mon, 10 Oct 2022 18:50:42 +0000 (19:50 +0100)
commitcd105417a53fcf97c0935f3468201ef11516c9f1
treeb1682f82a1ea256a9968579c1c1d6c4bd4c96c42
parent801cd35e7e3b21e519e12a1610ee1d721e40893e
patch 9.0.0716: with 'nowrap' virtual text "after" does not scroll left

Problem:    With 'nowrap' virtual text "after" does not scroll left.
Solution:   Skip part of the virtual text that is left of the window.
            (closes #11320)  Fix going beyond the last column of the window.
src/drawline.c
src/testdir/dumps/Test_text_after_nowrap_1.dump
src/testdir/dumps/Test_text_after_nowrap_2.dump [new file with mode: 0644]
src/testdir/dumps/Test_text_after_nowrap_3.dump [new file with mode: 0644]
src/testdir/dumps/Test_text_after_nowrap_4.dump [new file with mode: 0644]
src/testdir/test_textprop.vim
src/version.c