0
0
mirror of https://github.com/vim/vim.git synced 2025-07-04 23:07:33 -04:00

updated for version 7.3.630

Problem:    "|" does not behave correctly when 'virtualedit' is set.
Solution:   Call validate_virtcol(). (David Bürgin)
This commit is contained in:
Bram Moolenaar 2012-08-15 13:31:00 +02:00
parent 14f2474147
commit 2dac213ac6
2 changed files with 5 additions and 0 deletions

View 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;

View File

@ -714,6 +714,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
630,
/**/
629,
/**/