Mercurial > vim
comparison src/proto/menu.pro @ 13392:d5347779fb20 v8.0.1570
patch 8.0.1570: can't use :popup for a menu in the terminal
commit https://github.com/vim/vim/commit/29a2c08d792e4458a0af8371f5341394829fce29
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Mar 5 21:06:23 2018 +0100
patch 8.0.1570: can't use :popup for a menu in the terminal
Problem: Can't use :popup for a menu in the terminal. (Wei Zhang)
Solution: Make :popup work in the terminal. Also fix that entries were
included that don't work in the current state.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 05 Mar 2018 21:15:05 +0100 |
parents | 244ff1b6d2ad |
children | 405309f9dd13 |
comparison
equal
deleted
inserted
replaced
13391:6ef2dba73dab | 13392:d5347779fb20 |
---|---|
10 int menu_is_menubar(char_u *name); | 10 int menu_is_menubar(char_u *name); |
11 int menu_is_popup(char_u *name); | 11 int menu_is_popup(char_u *name); |
12 int menu_is_child_of_popup(vimmenu_T *menu); | 12 int menu_is_child_of_popup(vimmenu_T *menu); |
13 int menu_is_toolbar(char_u *name); | 13 int menu_is_toolbar(char_u *name); |
14 int menu_is_separator(char_u *name); | 14 int menu_is_separator(char_u *name); |
15 int get_menu_mode_flag(void); | |
15 void show_popupmenu(void); | 16 void show_popupmenu(void); |
16 int check_menu_pointer(vimmenu_T *root, vimmenu_T *menu_to_check); | 17 int check_menu_pointer(vimmenu_T *root, vimmenu_T *menu_to_check); |
17 void gui_create_initial_menus(vimmenu_T *menu); | 18 void gui_create_initial_menus(vimmenu_T *menu); |
18 void gui_update_menus(int modes); | 19 void gui_update_menus(int modes); |
19 int gui_is_menu_shortcut(int key); | 20 int gui_is_menu_shortcut(int key); |