Mercurial > vim
comparison src/move.c @ 30339:b5f67135fcb6 v9.0.0505
patch 9.0.0505: various problems with 'nosplitscroll'
Commit: https://github.com/vim/vim/commit/faf1d412f5e3665021500b528c0e7301eb02bf0b
Author: Luuk van Baal <luukvbaal@gmail.com>
Date: Mon Sep 19 16:45:29 2022 +0100
patch 9.0.0505: various problems with 'nosplitscroll'
Problem: Various problems with 'nosplitscroll'.
Solution: Fix 'nosplitscroll' problems. (Luuk van Baal, closes https://github.com/vim/vim/issues/11166)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 19 Sep 2022 18:00:05 +0200 |
parents | 914b3c64ab92 |
children | 79e2d9b7780c |
comparison
equal
deleted
inserted
replaced
30338:25e5ee65b53a | 30339:b5f67135fcb6 |
---|---|
989 long siso = get_sidescrolloff_value(); | 989 long siso = get_sidescrolloff_value(); |
990 | 990 |
991 /* | 991 /* |
992 * First make sure that w_topline is valid (after moving the cursor). | 992 * First make sure that w_topline is valid (after moving the cursor). |
993 */ | 993 */ |
994 if (p_spsc) | 994 if (!skip_update_topline) |
995 update_topline(); | 995 update_topline(); |
996 | 996 |
997 /* | 997 /* |
998 * Next make sure that w_cline_row is valid. | 998 * Next make sure that w_cline_row is valid. |
999 */ | 999 */ |