mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
updated for version 7.4.467
This commit is contained in:
10
src/screen.c
10
src/screen.c
@@ -1584,9 +1584,17 @@ win_update(wp)
|
||||
*/
|
||||
if (VIsual_mode == Ctrl_V)
|
||||
{
|
||||
colnr_T fromc, toc;
|
||||
colnr_T fromc, toc;
|
||||
#if defined(FEAT_VIRTUALEDIT) && defined(FEAT_LINEBREAK)
|
||||
int save_ve_flags = ve_flags;
|
||||
|
||||
if (curwin->w_p_lbr)
|
||||
ve_flags = VE_ALL;
|
||||
#endif
|
||||
getvcols(wp, &VIsual, &curwin->w_cursor, &fromc, &toc);
|
||||
#if defined(FEAT_VIRTUALEDIT) && defined(FEAT_LINEBREAK)
|
||||
ve_flags = save_ve_flags;
|
||||
#endif
|
||||
++toc;
|
||||
if (curwin->w_curswant == MAXCOL)
|
||||
toc = MAXCOL;
|
||||
|
Reference in New Issue
Block a user