]> granicus.if.org Git - vim/commit
patch 8.1.0994: relative cursor position is not calculated correctly v8.1.0994
authorBram Moolenaar <Bram@vim.org>
Mon, 4 Mar 2019 12:18:30 +0000 (13:18 +0100)
committerBram Moolenaar <Bram@vim.org>
Mon, 4 Mar 2019 12:18:30 +0000 (13:18 +0100)
commit8fcb60f961bdd134599fb016c6537fd496e800f5
treef791063d60d09085ef5181a3b3763bd3f4afb4d2
parent772153f8d85c83e08427d93460a676d7f079f002
patch 8.1.0994: relative cursor position is not calculated correctly

Problem:    Relative cursor position is not calculated correctly.
Solution:   Always set topline, also when window is one line only.
            (Robert Webb) Add more info to getwininfo() for testing.
runtime/doc/eval.txt
src/evalfunc.c
src/testdir/test_window_cmd.vim
src/version.c
src/window.c