comparison src/proto/popupwin.pro @ 17026:905e1b154058 v8.1.1513

patch 8.1.1513: all popup functionality is in functions, except :popupclear commit https://github.com/vim/vim/commit/3ff5f0f05d437a6b3eaf3caa5dc2762b49314617 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jun 10 13:11:22 2019 +0200 patch 8.1.1513: all popup functionality is in functions, except :popupclear Problem: All popup functionality is in functions, except :popupclear. Solution: Add popup_clear() for consistency. Also rename sound_stopall() to sound_clear().
author Bram Moolenaar <Bram@vim.org>
date Mon, 10 Jun 2019 13:15:07 +0200
parents 9138e2c60bf1
children 5ed4965ebc7b
comparison
equal deleted inserted replaced
17025:2e3d41442033 17026:905e1b154058
1 /* popupwin.c */ 1 /* popupwin.c */
2 void popup_adjust_position(win_T *wp); 2 void popup_adjust_position(win_T *wp);
3 void f_popup_clear(typval_T *argvars, typval_T *rettv);
3 void f_popup_create(typval_T *argvars, typval_T *rettv); 4 void f_popup_create(typval_T *argvars, typval_T *rettv);
4 void f_popup_atcursor(typval_T *argvars, typval_T *rettv); 5 void f_popup_atcursor(typval_T *argvars, typval_T *rettv);
5 int popup_any_visible(void); 6 int popup_any_visible(void);
6 void f_popup_close(typval_T *argvars, typval_T *rettv); 7 void f_popup_close(typval_T *argvars, typval_T *rettv);
7 void f_popup_hide(typval_T *argvars, typval_T *rettv); 8 void f_popup_hide(typval_T *argvars, typval_T *rettv);
8 void f_popup_show(typval_T *argvars, typval_T *rettv); 9 void f_popup_show(typval_T *argvars, typval_T *rettv);
9 void popup_close(int id); 10 void popup_close(int id);
10 void popup_close_tabpage(tabpage_T *tp, int id); 11 void popup_close_tabpage(tabpage_T *tp, int id);
11 void close_all_popups(void); 12 void close_all_popups(void);
12 void ex_popupclear(exarg_T *eap);
13 void f_popup_move(typval_T *argvars, typval_T *rettv); 13 void f_popup_move(typval_T *argvars, typval_T *rettv);
14 void f_popup_getpos(typval_T *argvars, typval_T *rettv); 14 void f_popup_getpos(typval_T *argvars, typval_T *rettv);
15 void f_popup_getoptions(typval_T *argvars, typval_T *rettv); 15 void f_popup_getoptions(typval_T *argvars, typval_T *rettv);
16 int not_in_popup_window(void); 16 int not_in_popup_window(void);
17 void popup_reset_handled(void); 17 void popup_reset_handled(void);