patch 9.0.1121: cursor positioning and display problems with 'smoothscroll' v9.0.1121
authorBram Moolenaar <Bram@vim.org>
Sat, 31 Dec 2022 15:13:22 +0000 (15:13 +0000)
committerBram Moolenaar <Bram@vim.org>
Sat, 31 Dec 2022 15:13:22 +0000 (15:13 +0000)
commitdb4d88c2adfe8f8122341ac9d6cae27ef78451c8
treee98c92ce9ab5afa6e7d2a1892009a40f4484339e
parentc55e8f2c6f5cafe11494df3e2d28ff3d03b92c71
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)
12 files changed:
src/macros.h
src/move.c
src/testdir/dumps/Test_smooth_long_10.dump
src/testdir/dumps/Test_smooth_long_11.dump
src/testdir/dumps/Test_smooth_long_12.dump
src/testdir/dumps/Test_smooth_long_13.dump [new file with mode: 0644]
src/testdir/dumps/Test_smooth_long_14.dump [new file with mode: 0644]
src/testdir/dumps/Test_smooth_long_15.dump [new file with mode: 0644]
src/testdir/dumps/Test_smooth_long_8.dump
src/testdir/dumps/Test_smooth_long_9.dump
src/testdir/test_scroll_opt.vim
src/version.c