From 0937182d49fa8db50cec42785f22f1031760a0bd Mon Sep 17 00:00:00 2001 From: LemonBoy Date: Fri, 8 Apr 2022 15:18:45 +0100 Subject: patch 8.2.4713: plugins cannot track text scrolling Problem: Plugins cannot track text scrolling. Solution: Add the WinScrolled event. (closes #10102) --- src/gui.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gui.c') diff --git a/src/gui.c b/src/gui.c index 68ac9d804a..23694d1956 100644 --- a/src/gui.c +++ b/src/gui.c @@ -5237,6 +5237,9 @@ gui_update_screen(void) last_cursormoved = curwin->w_cursor; } + if (!finish_op) + may_trigger_winscrolled(curwin); + # ifdef FEAT_CONCEAL if (conceal_update_lines && (conceal_old_cursor_line != conceal_new_cursor_line -- cgit v1.2.3