Mercurial > vim
comparison runtime/doc/windows.txt @ 31384:992bfd3aee3f v9.0.1025
patch 9.0.1025: WinScrolled is not triggered when filler lines change
Commit: https://github.com/vim/vim/commit/3fc84dc2c7efecd7c14ce341cd777475058936fd
Author: zeertzjq <zeertzjq@outlook.com>
Date: Wed Dec 7 09:17:59 2022 +0000
patch 9.0.1025: WinScrolled is not triggered when filler lines change
Problem: WinScrolled is not triggered when filler lines change.
Solution: Add "topfill" to the values that WinScrolled triggers on.
(closes #11668)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 07 Dec 2022 10:30:04 +0100 |
parents | 15c80d8bc515 |
children | def9fc5c92d1 |
comparison
equal
deleted
inserted
replaced
31383:15c80d8bc515 | 31384:992bfd3aee3f |
---|---|
655 | 655 |
656 The information provided by |WinScrolled| is a dictionary for each window that | 656 The information provided by |WinScrolled| is a dictionary for each window that |
657 has changes, using the window ID as the key, and a total count of the changes | 657 has changes, using the window ID as the key, and a total count of the changes |
658 with the key "all". Example value for |v:event| (|Vim9| syntax): | 658 with the key "all". Example value for |v:event| (|Vim9| syntax): |
659 { | 659 { |
660 all: {width: 0, height: 2, leftcol: 0, topline: 1, skipcol: 0}, | 660 all: {width: 0, height: 2, leftcol: 0, skipcol: 0, topline: 1, topfill: 0}, |
661 1003: {width: 0, height: -1, leftcol: 0, topline: 0, skipcol: 0}, | 661 1003: {width: 0, height: -1, leftcol: 0, skipcol: 0, topline: 0, topfill: 0}, |
662 1006: {width: 0, height: 1, leftcol: 0, topline: 1, skipcol: 0}, | 662 1006: {width: 0, height: 1, leftcol: 0, skipcol: 0, topline: 1, topfill: 0}, |
663 } | 663 } |
664 | 664 |
665 Note that the "all" entry has the absolute values of the individual windows | 665 Note that the "all" entry has the absolute values of the individual windows |
666 accumulated. | 666 accumulated. |
667 | 667 |