Mercurial > vim
comparison src/gui.c @ 28375:e466fdbe0699 v8.2.4713
patch 8.2.4713: plugins cannot track text scrolling
Commit: https://github.com/vim/vim/commit/0937182d49fa8db50cec42785f22f1031760a0bd
Author: LemonBoy <thatlemon@gmail.com>
Date: Fri Apr 8 15:18:45 2022 +0100
patch 8.2.4713: plugins cannot track text scrolling
Problem: Plugins cannot track text scrolling.
Solution: Add the WinScrolled event. (closes https://github.com/vim/vim/issues/10102)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 08 Apr 2022 16:30:03 +0200 |
parents | 9849df834f1d |
children | aa9720c76412 |
comparison
equal
deleted
inserted
replaced
28374:14d6f5ebf810 | 28375:e466fdbe0699 |
---|---|
5235 } | 5235 } |
5236 # endif | 5236 # endif |
5237 last_cursormoved = curwin->w_cursor; | 5237 last_cursormoved = curwin->w_cursor; |
5238 } | 5238 } |
5239 | 5239 |
5240 if (!finish_op) | |
5241 may_trigger_winscrolled(curwin); | |
5242 | |
5240 # ifdef FEAT_CONCEAL | 5243 # ifdef FEAT_CONCEAL |
5241 if (conceal_update_lines | 5244 if (conceal_update_lines |
5242 && (conceal_old_cursor_line != conceal_new_cursor_line | 5245 && (conceal_old_cursor_line != conceal_new_cursor_line |
5243 || conceal_cursor_line(curwin) | 5246 || conceal_cursor_line(curwin) |
5244 || need_cursor_line_redraw)) | 5247 || need_cursor_line_redraw)) |