Mercurial > vim
changeset 6043:a97e5b9dbc26 v7.4.361
updated for version 7.4.361
Problem: Lots of flickering when filling the preview window for 'omnifunc'.
Solution: Disable redrawing. (Hirohito Higashi)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 09 Jul 2014 19:58:24 +0200 |
parents | 371f4212d7b1 |
children | b43ce6bb5d79 |
files | src/popupmnu.c src/version.c |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/popupmnu.c +++ b/src/popupmnu.c @@ -567,7 +567,9 @@ pum_set_selected(n, repeat) g_do_tagpreview = 3; if (p_pvh > 0 && p_pvh < g_do_tagpreview) g_do_tagpreview = p_pvh; + ++RedrawingDisabled; resized = prepare_tagpreview(FALSE); + --RedrawingDisabled; g_do_tagpreview = 0; if (curwin->w_p_pvw)