Mercurial > vim
comparison runtime/doc/eval.txt @ 14337:48287f1fc8a1 v8.1.0184
patch 8.1.0184: not easy to figure out the window layout
commit https://github.com/vim/vim/commit/b6959a8e06cef6d2126b030b2f8acd49457a3582
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jul 14 21:41:44 2018 +0200
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.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 14 Jul 2018 21:45:05 +0200 |
parents | 4543777545a3 |
children | 7589f103ec11 |
comparison
equal
deleted
inserted
replaced
14336:20983d6293b4 | 14337:48287f1fc8a1 |
---|---|
4992 {only with the +terminal feature} | 4992 {only with the +terminal feature} |
4993 tabnr tab page number | 4993 tabnr tab page number |
4994 variables a reference to the dictionary with | 4994 variables a reference to the dictionary with |
4995 window-local variables | 4995 window-local variables |
4996 width window width | 4996 width window width |
4997 wincol leftmost screen column of the window | |
4997 winid |window-ID| | 4998 winid |window-ID| |
4998 winnr window number | 4999 winnr window number |
5000 winrow topmost screen column of the window | |
4999 | 5001 |
5000 To obtain all window-local variables use: > | 5002 To obtain all window-local variables use: > |
5001 gettabwinvar({tabnr}, {winnr}, '&') | 5003 gettabwinvar({tabnr}, {winnr}, '&') |
5002 | 5004 |
5003 getwinvar({winnr}, {varname} [, {def}]) *getwinvar()* | 5005 getwinvar({winnr}, {varname} [, {def}]) *getwinvar()* |