]> granicus.if.org Git - vim/commit
patch 9.0.0297: cursor position wrong after right aligned virtual text v9.0.0297
authorBram Moolenaar <Bram@vim.org>
Sun, 28 Aug 2022 15:39:22 +0000 (16:39 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 28 Aug 2022 15:39:22 +0000 (16:39 +0100)
commitc8bf59e9b27f9d621818ffc61468abef45cedf37
treeb6fd429cf210b44096b647b6cd6c04dbfcedc6da
parent35a4fbc5d04820d9b08e7da2e295a7e8210e2e2c
patch 9.0.0297: cursor position wrong after right aligned virtual text

Problem:    Cursor position wrong after right aligned virtual text. (Iizuka
            Masashi)
Solution:   Take the width of the column offset into account. (closes #10997)
            Also fix virtual text positioning.
src/charset.c
src/drawline.c
src/testdir/dumps/Test_prop_right_align_twice_3.dump [new file with mode: 0644]
src/testdir/test_textprop.vim
src/version.c