diff options
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/autocmd.txt | 34 | ||||
-rw-r--r-- | runtime/doc/eval.txt | 12 |
2 files changed, 23 insertions, 23 deletions
diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt index a4c0107cc9..b6db7b263d 100644 --- a/runtime/doc/autocmd.txt +++ b/runtime/doc/autocmd.txt @@ -354,7 +354,7 @@ Name triggered by ~ |SessionLoadPost| after loading a session file |MenuPopup| just before showing the popup menu -|MenuPopupChanged| after popup menu changed, not fired on popup menu hide +|CompleteChanged| after popup menu changed, not fired on popup menu hide |CompleteDone| after Insert mode completion is done |User| to be used in combination with ":doautocmd" @@ -589,6 +589,22 @@ CompleteDone After Insert mode completion is done. Either The |v:completed_item| variable contains the completed item. +CompleteChanged *CompleteChanged* + After each time popup menu changed, not fired + on popup menu hide, use |CompleteDone| for popup + menu hide. + + Sets these |v:event| keys: + completed_item + height + width + row + col + size + scrollbar + + It is not allowed to change the text |textlock|. + *CursorHold* CursorHold When the user doesn't press a key for the time specified with 'updatetime'. Not re-triggered @@ -853,22 +869,6 @@ MenuPopup Just before showing the popup menu (under the o Operator-pending i Insert c Command line -MenuPopupChanged *MenuPopupChanged* - After each time popup menu changed, not fired - on popup menu hide, use |CompleteDone| for popup - menu hide. - - Sets these |v:event| keys: - completed_item - height - width - row - col - size - scrollbar - - It is not allowed to change the text |textlock|. - *OptionSet* OptionSet After setting an option (except during |startup|). The |autocmd-pattern| is matched diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index a8a2263f75..1f83d0de54 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -1554,16 +1554,16 @@ v:event Dictionary of event data for the current |autocommand|. Valid regtype Type of register as returned by |getregtype()|. completed_item Current selected complete item on - |MenuPopupChanged|, Is `{}` when no complete + |CompleteChanged|, Is `{}` when no complete item selected. - height Height of popup menu on |MenuPopupChanged| - width width of popup menu on |MenuPopupChanged| - row Row count of popup menu on |MenuPopupChanged|, + height Height of popup menu on |CompleteChanged| + width width of popup menu on |CompleteChanged| + row Row count of popup menu on |CompleteChanged|, relative to screen. - col Col count of popup menu on |MenuPopupChanged|, + col Col count of popup menu on |CompleteChanged|, relative to screen. size Total number of completion items on - |MenuPopupChanged|. + |CompleteChanged|. scrollbar Is |v:true| if popup menu have scrollbar, or |v:false| if not. |