summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-11-20 11:14:24 +0000
committerBram Moolenaar <Bram@vim.org>2021-11-20 11:14:24 +0000
commitcdf5fdb2948ecdd24c6a1e27ed33dfa847c2b3e4 (patch)
tree8e75b5a5e25c30f7bd097b8575692742907baee3 /runtime
parentb8e642f7ace5382b4dacb7a8effd86f22b828cc1 (diff)
downloadvim-git-cdf5fdb2948ecdd24c6a1e27ed33dfa847c2b3e4.tar.gz
patch 8.2.3627: difficult to know where the text starts in a windowv8.2.3627
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)
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/eval.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index 593dcb517..100301035 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -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;