]> granicus.if.org Git - vim/commit
patch 9.0.0482: "g0" moves to wrong location with virtual text "above" v9.0.0482
authorBram Moolenaar <Bram@vim.org>
Fri, 16 Sep 2022 19:51:14 +0000 (20:51 +0100)
committerBram Moolenaar <Bram@vim.org>
Fri, 16 Sep 2022 19:51:14 +0000 (20:51 +0100)
commite24b4aba1fbf782954897abdbfc084c4221428eb
tree96aed827f612301272d266430fe4afb827fbb483
parent8fa745e7be3a791ac25f93ef0227bbc48ade8a37
patch 9.0.0482: "g0" moves to wrong location with virtual text "above"

Problem:    "g0" moves to wrong location with virtual text "above".
Solution:   Compensate for the extra columns. (closes #11141)  Also fix "g$"
src/move.c
src/normal.c
src/proto/move.pro
src/testdir/dumps/Test_prop_with_text_above_1a.dump [new file with mode: 0644]
src/testdir/dumps/Test_prop_with_text_above_1b.dump [new file with mode: 0644]
src/testdir/test_textprop.vim
src/version.c