/* vi:set ts=8 sts=4 sw=4 noet: * * VIM - Vi IMproved by Bram Moolenaar * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. * See README.txt for an overview of the Vim source code. *//* * popupmenu.c: Popup menu (PUM) */#include"vim.h"staticpumitem_T*pum_array=NULL;// items of displayed pumstaticintpum_size;// nr of items in "pum_array"staticintpum_selected;// index of selected item or -1staticintpum_first=0;// index of top itemstaticintcall_update_screen=FALSE;staticintpum_height;// nr of displayed pum itemsstaticintpum_width;// width of displayed pum itemsstaticintpum_base_width;// width of pum items basestaticintpum_kind_width;// width of pum items kind columnstat