Mercurial > vim
diff runtime/doc/autocmd.txt @ 17756:a7afcea6f40a v8.1.1875
patch 8.1.1875: cannot get size and position of the popup menu
commit https://github.com/vim/vim/commit/e9bd57286a5cbb0e1ec18b5d194dc4af1bda9f3a
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Aug 17 19:36:06 2019 +0200
patch 8.1.1875: cannot get size and position of the popup menu
Problem: Cannot get size and position of the popup menu.
Solution: Add pum_getpos(). (Ben Jackson, closes https://github.com/vim/vim/issues/4827)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 17 Aug 2019 19:45:03 +0200 |
parents | 432714f5c0f7 |
children | 5a0d5f8e1778 |
line wrap: on
line diff
--- a/runtime/doc/autocmd.txt +++ b/runtime/doc/autocmd.txt @@ -595,6 +595,10 @@ CompleteChanged *CompleteChanged* scrollbar TRUE if visible It is not allowed to change the text |textlock|. + + The size and position of the popup are also + available by calling |pum_getpos()|. + *CompleteDone* CompleteDone After Insert mode completion is done. Either when something was completed or abandoning