mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04: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:
parent
14f2474147
commit
2dac213ac6
@ -7786,7 +7786,10 @@ n_start_visual_mode(c)
|
|||||||
* virtualedit. Recalculate curwin->w_cursor to avoid bad hilighting.
|
* virtualedit. Recalculate curwin->w_cursor to avoid bad hilighting.
|
||||||
*/
|
*/
|
||||||
if (c == Ctrl_V && (ve_flags & VE_BLOCK) && gchar_cursor() == TAB)
|
if (c == Ctrl_V && (ve_flags & VE_BLOCK) && gchar_cursor() == TAB)
|
||||||
|
{
|
||||||
|
validate_virtcol();
|
||||||
coladvance(curwin->w_virtcol);
|
coladvance(curwin->w_virtcol);
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
VIsual = curwin->w_cursor;
|
VIsual = curwin->w_cursor;
|
||||||
|
|
||||||
|
@ -714,6 +714,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
630,
|
||||||
/**/
|
/**/
|
||||||
629,
|
629,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user