forked from aniani/vim
patch 9.0.0917: the WinScrolled autocommand event is not enough
Problem: The WinScrolled autocommand event is not enough.
Solution: Add WinResized and provide information about what changed.
(closes #11576)
This commit is contained in:
@@ -16,6 +16,7 @@ int apply_autocmds(event_T event, char_u *fname, char_u *fname_io, int force, bu
|
||||
int apply_autocmds_exarg(event_T event, char_u *fname, char_u *fname_io, int force, buf_T *buf, exarg_T *eap);
|
||||
int apply_autocmds_retval(event_T event, char_u *fname, char_u *fname_io, int force, buf_T *buf, int *retval);
|
||||
int trigger_cursorhold(void);
|
||||
int has_winresized(void);
|
||||
int has_winscrolled(void);
|
||||
int has_cursormoved(void);
|
||||
int has_cursormovedI(void);
|
||||
|
||||
@@ -20,7 +20,7 @@ int one_window(void);
|
||||
int win_close(win_T *win, int free_buf);
|
||||
void snapshot_windows_scroll_size(void);
|
||||
void may_make_initial_scroll_size_snapshot(void);
|
||||
void may_trigger_winscrolled(void);
|
||||
void may_trigger_win_scrolled_resized(void);
|
||||
void win_close_othertab(win_T *win, int free_buf, tabpage_T *tp);
|
||||
void win_free_all(void);
|
||||
win_T *winframe_remove(win_T *win, int *dirp, tabpage_T *tp);
|
||||
|
||||
Reference in New Issue
Block a user