1
0
forked from aniani/vim

patch 8.2.3627: difficult to know where the text starts in a window

Problem:    difficult to know where the text starts in a window. (Sergey
            Vlasov)
Solution:   Add the "textoff" entry in the result of getwininfo().
            (closes #9163)
This commit is contained in:
Bram Moolenaar
2021-11-20 11:14:24 +00:00
parent b8e642f7ac
commit cdf5fdb294
4 changed files with 8 additions and 0 deletions

View File

@@ -6382,6 +6382,9 @@ getwininfo([{winid}]) *getwininfo()*
otherwise
wincol leftmost screen column of the window;
"col" from |win_screenpos()|
textoff number of columns occupied by any
'foldcolumn', 'signcolumn' and line
number in front of the text
winid |window-ID|
winnr window number
winrow topmost screen line of the window;