Mercurial > vim
comparison src/proto/popupmnu.pro @ 15521:6d949e552e99 v8.1.0768
patch 8.1.0768: updating completions may cause the popup menu to flicker
commit https://github.com/vim/vim/commit/ae654385dfb2ae4c1d70789d1dce3676dba4dfbc
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jan 17 21:09:05 2019 +0100
patch 8.1.0768: updating completions may cause the popup menu to flicker
Problem: Updating completions may cause the popup menu to flicker.
Solution: Avoid updating the text below the popup menu before drawing the
popup menu.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 17 Jan 2019 21:15:06 +0100 |
parents | ae53a9274f50 |
children | 0f65f2808470 |
comparison
equal
deleted
inserted
replaced
15520:f356d2eb8202 | 15521:6d949e552e99 |
---|---|
1 /* popupmnu.c */ | 1 /* popupmnu.c */ |
2 void pum_display(pumitem_T *array, int size, int selected); | 2 void pum_display(pumitem_T *array, int size, int selected); |
3 void pum_call_update_screen(void); | |
4 int pum_under_menu(int row, int col); | |
3 void pum_redraw(void); | 5 void pum_redraw(void); |
4 void pum_undisplay(void); | 6 void pum_undisplay(void); |
5 void pum_clear(void); | 7 void pum_clear(void); |
6 int pum_visible(void); | 8 int pum_visible(void); |
7 void pum_may_redraw(void); | 9 void pum_may_redraw(void); |