Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
14088:79f0d5e474b1 | 14089:ae53a9274f50 |
---|---|
2 void pum_display(pumitem_T *array, int size, int selected); | 2 void pum_display(pumitem_T *array, int size, int selected); |
3 void pum_redraw(void); | 3 void pum_redraw(void); |
4 void pum_undisplay(void); | 4 void pum_undisplay(void); |
5 void pum_clear(void); | 5 void pum_clear(void); |
6 int pum_visible(void); | 6 int pum_visible(void); |
7 void pum_may_redraw(void); | |
7 int pum_get_height(void); | 8 int pum_get_height(void); |
8 int split_message(char_u *mesg, pumitem_T **array); | 9 int split_message(char_u *mesg, pumitem_T **array); |
9 void ui_remove_balloon(void); | 10 void ui_remove_balloon(void); |
10 void ui_post_balloon(char_u *mesg, list_T *list); | 11 void ui_post_balloon(char_u *mesg, list_T *list); |
11 void ui_may_remove_balloon(void); | 12 void ui_may_remove_balloon(void); |