]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.630 v7.3.630
authorBram Moolenaar <Bram@vim.org>
Wed, 15 Aug 2012 11:31:00 +0000 (13:31 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 15 Aug 2012 11:31:00 +0000 (13:31 +0200)
Problem:    "|" does not behave correctly when 'virtualedit' is set.
Solution:   Call validate_virtcol(). (David Bürgin)

src/normal.c
src/version.c

index f61052b10d4b5f33af95cc529efe6183f7438231..6a4fa781c9ed1bc457783d298b8489266091ba62 100644 (file)
@@ -7786,7 +7786,10 @@ n_start_visual_mode(c)
      * virtualedit.  Recalculate curwin->w_cursor to avoid bad hilighting.
      */
     if (c == Ctrl_V && (ve_flags & VE_BLOCK) && gchar_cursor() == TAB)
+    {
+       validate_virtcol();
        coladvance(curwin->w_virtcol);
+    }
 #endif
     VIsual = curwin->w_cursor;
 
index c35104b055eafacceeb301cf8ad7e515b4865e31..fad108155ae42a0745a5ce3d6a969f1601651b8a 100644 (file)
@@ -714,6 +714,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    630,
 /**/
     629,
 /**/