diff options
author | Luuk van Baal <luukvbaal@gmail.com> | 2023-05-15 18:17:43 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2023-05-15 18:17:43 +0100 |
commit | 798fa76dbf737f855e47b10bf326453866b429ab (patch) | |
tree | 3194248222b2d67365b2349c796ac9e262c497b6 /src/textobject.c | |
parent | f741e3ec1fcecc8f23f1b37415dc3e80a31d157e (diff) | |
download | vim-git-798fa76dbf737f855e47b10bf326453866b429ab.tar.gz |
patch 9.0.1561: display wrong when moving cursor to above the top linev9.0.1561
Problem: Display wrong when moving cursor to above the top line and
'smoothscroll' is set.
Solution: Call adjust_skipcol() in more places and make it work better.
(Luuk van Baal, closes #12395)
Diffstat (limited to 'src/textobject.c')
-rw-r--r-- | src/textobject.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/textobject.c b/src/textobject.c index d77ec961a..b315d0320 100644 --- a/src/textobject.c +++ b/src/textobject.c @@ -472,6 +472,7 @@ bck_word(long count, int bigword, int stop) finished: stop = FALSE; } + adjust_skipcol(); return OK; } @@ -598,6 +599,7 @@ bckend_word( return OK; } } + adjust_skipcol(); return OK; } |