diff options
author | Bram Moolenaar <Bram@vim.org> | 2009-04-29 15:41:40 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2009-04-29 15:41:40 +0000 |
commit | 81d00078beecadbdfab3b0600149b85e5da16c99 (patch) | |
tree | 9e6d5a94a51bee4347cea97c27eb542d6996a1e7 /src/ops.c | |
parent | 876f6d7f3c38fb946b9c361d7e5d49f16f04eef2 (diff) | |
download | vim-git-81d00078beecadbdfab3b0600149b85e5da16c99.tar.gz |
updated for version 7.2-164v7.2.164
Diffstat (limited to 'src/ops.c')
-rw-r--r-- | src/ops.c | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -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 */ |