mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.2-164
This commit is contained in:
10
src/ops.c
10
src/ops.c
@@ -392,7 +392,6 @@ shift_block(oap, amount)
|
||||
colnr_T ws_vcol;
|
||||
int i = 0, j = 0;
|
||||
int len;
|
||||
|
||||
#ifdef FEAT_RIGHTLEFT
|
||||
int old_p_ri = p_ri;
|
||||
|
||||
@@ -6284,11 +6283,20 @@ cursor_pos_info()
|
||||
|
||||
if (VIsual_mode == Ctrl_V)
|
||||
{
|
||||
#ifdef FEAT_LINEBREAK
|
||||
char_u * saved_sbr = p_sbr;
|
||||
|
||||
/* Make 'sbr' empty for a moment to get the correct size. */
|
||||
p_sbr = empty_option;
|
||||
#endif
|
||||
oparg.is_VIsual = 1;
|
||||
oparg.block_mode = TRUE;
|
||||
oparg.op_type = OP_NOP;
|
||||
getvcols(curwin, &min_pos, &max_pos,
|
||||
&oparg.start_vcol, &oparg.end_vcol);
|
||||
#ifdef FEAT_LINEBREAK
|
||||
p_sbr = saved_sbr;
|
||||
#endif
|
||||
if (curwin->w_curswant == MAXCOL)
|
||||
oparg.end_vcol = MAXCOL;
|
||||
/* Swap the start, end vcol if needed */
|
||||
|
Reference in New Issue
Block a user