I wrote:

> Patch 9.0.0917
> Problem:    The WinScrolled autocommand event is not enough.
> Solution:   Add WinResized and provide information about what changed.
>             (closes #11576)
> Files:      runtime/doc/autocmd.txt, runtime/doc/windows.txt,
>             src/autocmd.c, src/proto/autocmd.pro, src/window.c,
>             src/proto/window.pro, src/vim.h, src/edit.c, src/gui.c,
>             src/main.c, src/mouse.c, src/dict.c, src/testdir/test_autocmd.vim

Please have a critical look at how these two autocmd events work now.
If anything should change, we better do this right now, before it is
widely used.

One thing I have been wondering is whether we should reduce the number
of events generated.  E.g. only trigger when there is no typeahead.
That would avoid overhead, but also means there is only one event for
several changes in a row.

-- 
hundred-and-one symptoms of being an internet addict:
108. While reading a magazine, you look for the Zoom icon for a better
     look at a photograph.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20221122165359.3435B1C212A%40moolenaar.net.

Raspunde prin e-mail lui