]> granicus.if.org Git - vim/commit
patch 9.0.0177: cursor position wrong with 'virtualedit' and mouse click v9.0.0177
authorBram Moolenaar <Bram@vim.org>
Tue, 9 Aug 2022 13:19:40 +0000 (14:19 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 9 Aug 2022 13:19:40 +0000 (14:19 +0100)
commit8f49e690dc7b6ed521fb11431e2a406d01c4de3a
tree34dee1c7ff7f87c750b3dc218b3492dacefefd9b
parent8ca29b6a3599b82b8822b7697cad63d0244c2d59
patch 9.0.0177: cursor position wrong with 'virtualedit' and mouse click

Problem:    Cursor position wrong with 'virtualedit' and mouse click after end
            of the line. (Hermann Mayer)
Solution:   Do not use ScreenCols[] when 'virtualedit' is active.
            (closes #10868)
src/mouse.c
src/testdir/test_virtualedit.vim
src/version.c