# HG changeset patch # User Bram Moolenaar # Date 1404928704 -7200 # Node ID a97e5b9dbc26800830e46cf3c1aa6efbfe258097 # Parent 371f4212d7b12d40825cf4c81a2508665746fd6e updated for version 7.4.361 Problem: Lots of flickering when filling the preview window for 'omnifunc'. Solution: Disable redrawing. (Hirohito Higashi) diff --git a/src/popupmnu.c b/src/popupmnu.c --- 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) diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -735,6 +735,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 361, +/**/ 360, /**/ 359,