mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 23:18:33 +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:
@@ -1339,8 +1339,7 @@ void ins_redraw(bool ready)
|
||||
}
|
||||
|
||||
if (ready) {
|
||||
// Trigger Scroll if viewport changed.
|
||||
may_trigger_winscrolled();
|
||||
may_trigger_win_scrolled_resized();
|
||||
}
|
||||
|
||||
// Trigger BufModified if b_changed_invalid is set.
|
||||
|
Reference in New Issue
Block a user