commit | 0937182d49fa8db50cec42785f22f1031760a0bd | [log] [tgz] |
---|---|---|
author | LemonBoy <thatlemon@gmail.com> | Fri Apr 08 15:18:45 2022 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Apr 08 15:18:45 2022 +0100 |
tree | a41ab36fcbeb5b2f0bc91ce36b2d056af2ec2491 | |
parent | 18ee0f603ebd3c091f6d2ab88e652fda32821048 [diff] [blame] |
patch 8.2.4713: plugins cannot track text scrolling Problem: Plugins cannot track text scrolling. Solution: Add the WinScrolled event. (closes #10102)
diff --git a/src/edit.c b/src/edit.c index f30edd5..1585f85 100644 --- a/src/edit.c +++ b/src/edit.c
@@ -1527,6 +1527,9 @@ (linenr_T)(curwin->w_cursor.lnum + 1)); } + if (ready) + may_trigger_winscrolled(curwin); + // Trigger SafeState if nothing is pending. may_trigger_safestate(ready && !ins_compl_active()