mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -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:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user