示例#1
0
/// Undisplay the popup menu (later).
void pum_undisplay(void)
{
  pum_array = NULL;
  redraw_all_later(SOME_VALID);
  redraw_tabline = TRUE;
  status_redraw_all();
}
示例#2
0
文件: popupmnu.c 项目: EricR86/neovim
/// Undisplay the popup menu (later).
void pum_undisplay(void)
{
  pum_is_visible = false;
  pum_array = NULL;

  if (pum_external) {
    ui_call_popupmenu_hide();
  } else {
    redraw_all_later(SOME_VALID);
    redraw_tabline = true;
    status_redraw_all();
  }
}
示例#3
0
文件: popupmnu.c 项目: kranki/neovim
/// Undisplay the popup menu (later).
void pum_undisplay(void)
{
  pum_is_visible = false;
  pum_array = NULL;

  if (pum_external) {
    Array args = ARRAY_DICT_INIT;
    ui_event("popupmenu_hide", args);
  } else {
    redraw_all_later(SOME_VALID);
    redraw_tabline = true;
    status_redraw_all();
  }
}