0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

patch 9.0.1121: cursor positioning and display problems with 'smoothscroll'

Problem:    Cursor positioning and display problems with 'smoothscroll' and
            using "zt", "zb" or "zz".
Solution:   Adjust computations and conditions. (Yee Cheng Chin,
            closes #11764)
This commit is contained in:
Bram Moolenaar
2022-12-31 15:13:22 +00:00
parent c55e8f2c6f
commit db4d88c2ad
12 changed files with 184 additions and 29 deletions

View File

@@ -253,8 +253,10 @@
#ifdef FEAT_DIFF
# define PLINES_NOFILL(x) plines_nofill(x)
# define PLINES_WIN_NOFILL(w, l, h) plines_win_nofill((w), (l), (h))
#else
# define PLINES_NOFILL(x) plines(x)
# define PLINES_WIN_NOFILL(w, l, h) plines_win((w), (l), (h))
#endif
#if defined(FEAT_JOB_CHANNEL) || defined(FEAT_CLIENTSERVER)