]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
updated for version 7.0-099 v7.0.099
authorBram Moolenaar <Bram@vim.org>
Sun, 10 Sep 2006 19:39:25 +0000 (19:39 +0000)
committerBram Moolenaar <Bram@vim.org>
Sun, 10 Sep 2006 19:39:25 +0000 (19:39 +0000)
src/gui.c
src/version.c

index 02a14b90d1572d97df22ab036bec434b4633f795..b8236c6abca55214358e80081ad4440635fa4acb 100644 (file)
--- a/src/gui.c
+++ b/src/gui.c
@@ -3734,6 +3734,12 @@ gui_drag_scrollbar(sb, value, still_dragging)
     if (dont_scroll || input_available())
        return;
 #endif
+#ifdef FEAT_INS_EXPAND
+    /* Disallow scrolling the current window when the completion popup menu is
+     * visible. */
+    if ((sb->wp == NULL || sb->wp == curwin) && pum_visible())
+       return;
+#endif
 
 #ifdef FEAT_RIGHTLEFT
     if (sb->wp == NULL && curwin->w_p_rl)
@@ -4208,6 +4214,12 @@ gui_do_scroll()
        updateWindow(wp);   /* update window, status line, and cmdline */
     }
 
+#ifdef FEAT_INS_EXPAND
+    /* May need to redraw the popup menu. */
+    if (pum_visible())
+       pum_redraw();
+#endif
+
     return (wp == curwin && !equalpos(curwin->w_cursor, old_cursor));
 }
 
index acff8abd7ca1b046e3853a237db206b121d7e6db..33f8f1ad084ff2396e9258aa134dff51808b0910 100644 (file)
@@ -666,6 +666,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    99,
 /**/
     98,
 /**/