comparison src/screen.c @ 6266:0a4efa3d2019 v7.4.467

updated for version 7.4.467
author Bram Moolenaar <bram@vim.org>
date Thu, 09 Oct 2014 13:24:43 +0200
parents 69da1498ce89
children af998690a884
comparison
equal deleted inserted replaced
6265:123a83d5483a 6266:0a4efa3d2019
1582 * update all lines. 1582 * update all lines.
1583 * First compute the actual start and end column. 1583 * First compute the actual start and end column.
1584 */ 1584 */
1585 if (VIsual_mode == Ctrl_V) 1585 if (VIsual_mode == Ctrl_V)
1586 { 1586 {
1587 colnr_T fromc, toc; 1587 colnr_T fromc, toc;
1588 1588 #if defined(FEAT_VIRTUALEDIT) && defined(FEAT_LINEBREAK)
1589 int save_ve_flags = ve_flags;
1590
1591 if (curwin->w_p_lbr)
1592 ve_flags = VE_ALL;
1593 #endif
1589 getvcols(wp, &VIsual, &curwin->w_cursor, &fromc, &toc); 1594 getvcols(wp, &VIsual, &curwin->w_cursor, &fromc, &toc);
1595 #if defined(FEAT_VIRTUALEDIT) && defined(FEAT_LINEBREAK)
1596 ve_flags = save_ve_flags;
1597 #endif
1590 ++toc; 1598 ++toc;
1591 if (curwin->w_curswant == MAXCOL) 1599 if (curwin->w_curswant == MAXCOL)
1592 toc = MAXCOL; 1600 toc = MAXCOL;
1593 1601
1594 if (fromc != wp->w_old_cursor_fcol 1602 if (fromc != wp->w_old_cursor_fcol