1
0
forked from aniani/vim

patch 8.1.0184: not easy to figure out the window layout

Problem:    Not easy to figure out the window layout.
Solution:   Add "wincol" and "winrow" to what getwininfo() returns.
This commit is contained in:
Bram Moolenaar
2018-07-14 21:41:44 +02:00
parent 1741367131
commit b6959a8e06
4 changed files with 25 additions and 2 deletions

View File

@@ -4994,8 +4994,10 @@ getwininfo([{winid}]) *getwininfo()*
variables a reference to the dictionary with
window-local variables
width window width
wincol leftmost screen column of the window
winid |window-ID|
winnr window number
winrow topmost screen column of the window
To obtain all window-local variables use: >
gettabwinvar({tabnr}, {winnr}, '&')