From 2dac213ac6896bffbbfdd9afbdb0ad0e8b032532 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 15 Aug 2012 13:31:00 +0200 Subject: [PATCH] =?UTF-8?q?updated=20for=20version=207.3.630=20Problem:=20?= =?UTF-8?q?=20=20=20"|"=20does=20not=20behave=20correctly=20when=20'virtua?= =?UTF-8?q?ledit'=20is=20set.=20Solution:=20=20=20Call=20validate=5Fvirtco?= =?UTF-8?q?l().=20(David=20B=C3=BCrgin)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/normal.c | 3 +++ src/version.c | 2 ++ 2 files changed, 5 insertions(+) diff --git a/src/normal.c b/src/normal.c index f61052b10d..6a4fa781c9 100644 --- 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 index c35104b055..fad108155a 100644 --- a/src/version.c +++ b/src/version.c @@ -714,6 +714,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 630, /**/ 629, /**/