diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-03-04 13:18:30 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-03-04 13:18:30 +0100 |
commit | 8fcb60f961bdd134599fb016c6537fd496e800f5 (patch) | |
tree | f791063d60d09085ef5181a3b3763bd3f4afb4d2 /runtime | |
parent | 772153f8d85c83e08427d93460a676d7f079f002 (diff) |
patch 8.1.0994: relative cursor position is not calculated correctlyv8.1.0994
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.
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/eval.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 33b3fe2431..f03c1fd307 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -5228,6 +5228,7 @@ getwininfo([{winid}]) *getwininfo()* tab pages is returned. Each List item is a Dictionary with the following entries: + botline last displayed buffer line bufnr number of buffer in the window height window height (excluding winbar) loclist 1 if showing a location list @@ -5237,6 +5238,7 @@ getwininfo([{winid}]) *getwininfo()* terminal 1 if a terminal window {only with the +terminal feature} tabnr tab page number + topline first displayed buffer line variables a reference to the dictionary with window-local variables width window width |