]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.0.1607: screenpos() returns wrong row with diff filler lines v9.0.1607
authorzeertzjq <zeertzjq@outlook.com>
Sun, 4 Jun 2023 18:29:22 +0000 (19:29 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 4 Jun 2023 18:29:22 +0000 (19:29 +0100)
commit55daae392157823dc5434e6be1344f4336bfe96f
treedcbe64e0b5f56a69c1a29f4bdde84a9362b314f0
parent58e1e010454113a7c8a9b0327c54d2ee7d73d2fd
patch 9.0.1607: screenpos() returns wrong row with diff filler lines

Problem:    screenpos() returns wrong row with diff filler lines.
Solution:   Only add filler lines when appropriate.  Also don't add the
            'smoothscroll' marker when w_skipcol is zero. (closes #12485,
            closes #12484)
src/move.c
src/testdir/test_cursor_func.vim
src/version.c