Mercurial > vim
diff src/proto/popupmnu.pro @ 14089:ae53a9274f50 v8.1.0062
patch 8.1.0062: popup menu broken if a callback changes the window layout
commit https://github.com/vim/vim/commit/491ac28d5f91505519c623ebc1a9ab08834bf367
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 17 14:47:55 2018 +0200
patch 8.1.0062: popup menu broken if a callback changes the window layout
Problem: Popup menu broken if a callback changes the window layout. (Qiming
Zhao)
Solution: Recompute the popup menu position if needed. Redraw the ruler
even when the popup menu is displayed.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 17 Jun 2018 15:00:05 +0200 |
parents | 1174611ad715 |
children | 6d949e552e99 |
line wrap: on
line diff
--- a/src/proto/popupmnu.pro +++ b/src/proto/popupmnu.pro @@ -4,6 +4,7 @@ void pum_redraw(void); void pum_undisplay(void); void pum_clear(void); int pum_visible(void); +void pum_may_redraw(void); int pum_get_height(void); int split_message(char_u *mesg, pumitem_T **array); void ui_remove_balloon(void);