From e05db65d2ae3bb3c57e009e67ffc85794835a4e2 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Mon, 22 Nov 2021 10:10:03 +0800 Subject: vim-patch:8.2.3627: difficult to know where the text starts in a window (#16377) 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 vim/vim#9163) https://github.com/vim/vim/commit/cdf5fdb2948ecdd24c6a1e27ed33dfa847c2b3e4 Fix indent in Test_getbufwintabinfo(). --- runtime/doc/eval.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'runtime') diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index da39a56164..58d5d30146 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -5562,6 +5562,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; -- cgit