]> granicus.if.org Git - vim/commitdiff
updated for version 7.4.688 v7.4.688
authorBram Moolenaar <Bram@vim.org>
Tue, 31 Mar 2015 17:18:00 +0000 (19:18 +0200)
committerBram Moolenaar <Bram@vim.org>
Tue, 31 Mar 2015 17:18:00 +0000 (19:18 +0200)
Problem:    When "$" is in 'cpo' the popup menu isn't undrawn correctly.
            (Issue 166)
Solution:   When using the popup menu remove the "$".

src/edit.c
src/version.c

index 75fe691724b246497430736abe8d1bc02f0de2b9..76bfcfb9741ff0b57a670530d2e3fe2e82b0be52 100644 (file)
@@ -3008,6 +3008,10 @@ ins_compl_show_pum()
 
     if (compl_match_array != NULL)
     {
+       /* In Replace mode when a $ is displayed at the end of the line only
+        * part of the screen would be updated.  We do need to redraw here. */
+       dollar_vcol = -1;
+
        /* Compute the screen column of the start of the completed text.
         * Use the cursor to get all wrapping and other settings right. */
        col = curwin->w_cursor.col;
index dcecdc451c77207ed1698eac845a49286d5d69f5..70f57bced5a9978298476c9b8a58cfaa65da09bd 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    688,
 /**/
     687,
 /**/