summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-12-07 09:17:59 +0000
committerBram Moolenaar <Bram@vim.org>2022-12-07 09:17:59 +0000
commit3fc84dc2c7efecd7c14ce341cd777475058936fd (patch)
tree67be33ba666b1e645aa2f8943ddb579a3b085c21 /runtime
parent86b4816766d976a7ecd4403eca1f8bf6b4105800 (diff)
downloadvim-git-3fc84dc2c7efecd7c14ce341cd777475058936fd.tar.gz
patch 9.0.1025: WinScrolled is not triggered when filler lines changev9.0.1025
Problem: WinScrolled is not triggered when filler lines change. Solution: Add "topfill" to the values that WinScrolled triggers on. (closes #11668)
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/windows.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/doc/windows.txt b/runtime/doc/windows.txt
index a6cb8b3b1..924a93250 100644
--- a/runtime/doc/windows.txt
+++ b/runtime/doc/windows.txt
@@ -657,9 +657,9 @@ The information provided by |WinScrolled| is a dictionary for each window that
has changes, using the window ID as the key, and a total count of the changes
with the key "all". Example value for |v:event| (|Vim9| syntax):
{
- all: {width: 0, height: 2, leftcol: 0, topline: 1, skipcol: 0},
- 1003: {width: 0, height: -1, leftcol: 0, topline: 0, skipcol: 0},
- 1006: {width: 0, height: 1, leftcol: 0, topline: 1, skipcol: 0},
+ all: {width: 0, height: 2, leftcol: 0, skipcol: 0, topline: 1, topfill: 0},
+ 1003: {width: 0, height: -1, leftcol: 0, skipcol: 0, topline: 0, topfill: 0},
+ 1006: {width: 0, height: 1, leftcol: 0, skipcol: 0, topline: 1, topfill: 0},
}
Note that the "all" entry has the absolute values of the individual windows