# HG changeset patch # User Bram Moolenaar # Date 1345030260 -7200 # Node ID 3416ac23d0758528919aaffbe02cecc6420b8aac # Parent 9266cfe865c38b87fa4433e43cb4b72c9ac555d1 updated for version 7.3.630 Problem: "|" does not behave correctly when 'virtualedit' is set. Solution: Call validate_virtcol(). (David B?rgin) diff --git a/src/normal.c b/src/normal.c --- a/src/normal.c +++ b/src/normal.c @@ -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; diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -715,6 +715,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 630, +/**/ 629, /**/ 628,