]> granicus.if.org Git - vim/commitdiff
updated for version 7.4.361 v7.4.361
authorBram Moolenaar <Bram@vim.org>
Wed, 9 Jul 2014 17:58:24 +0000 (19:58 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 9 Jul 2014 17:58:24 +0000 (19:58 +0200)
Problem:    Lots of flickering when filling the preview window for 'omnifunc'.
Solution:   Disable redrawing. (Hirohito Higashi)

src/popupmnu.c
src/version.c

index 8ff0711cc52f26360707ce04f300ab64acf76da2..b970158b274e4c4d22a157feecf0b1abb14ad7c6 100644 (file)
@@ -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)
index 9867e7f0a5ed04ed0a1e91a49e69e5a14cdea2af..7a9a387fbdba5e984bc0c614bd7f01b0382b2487 100644 (file)
@@ -734,6 +734,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    361,
 /**/
     360,
 /**/