Mercurial > vim
view 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 source
/* popupmnu.c */ void pum_display(pumitem_T *array, int size, int selected); 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); void ui_post_balloon(char_u *mesg, list_T *list); void ui_may_remove_balloon(void); void pum_show_popupmenu(vimmenu_T *menu); void pum_make_popup(char_u *path_name, int use_mouse_pos); /* vim: set ft=c : */