From 798fa76dbf737f855e47b10bf326453866b429ab Mon Sep 17 00:00:00 2001 From: Luuk van Baal Date: Mon, 15 May 2023 18:17:43 +0100 Subject: patch 9.0.1561: display wrong when moving cursor to above the top line 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) --- src/textobject.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/textobject.c') 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; } -- cgit v1.2.1