mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 15:08:35 +00:00
vim-patch:partial:9.0.0917: the WinScrolled autocommand event is not enough (#21161)
Problem: The WinScrolled autocommand event is not enough. Solution: Add WinResized and provide information about what changed. (closes vim/vim#11576)35fc61cb5b
Omit "func_name" comment in tv_dict_extend(): Vim9 script only. Skip layout locking and E1312. Skip list_alloc_with_items() and list_set_item(). Since this overrides remaining changes in patch 9.0.0913, that patch can now be marked as fully ported: vim-patch:9.0.0913: only change in current window triggers the WinScrolled event N/A patches for version.c: vim-patch:9.0.0919: build failure with tiny features Problem: Build failure with tiny features. Solution: Adjust #ifdef's.9c5b7cb4cf
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
@@ -1230,8 +1230,7 @@ static void normal_check_interrupt(NormalState *s)
|
||||
static void normal_check_window_scrolled(NormalState *s)
|
||||
{
|
||||
if (!finish_op) {
|
||||
// Trigger Scroll if the viewport changed.
|
||||
may_trigger_winscrolled();
|
||||
may_trigger_win_scrolled_resized();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user