0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.4.467

This commit is contained in:
Bram Moolenaar
2014-10-09 13:24:43 +02:00
parent 56095e1ceb
commit 404406ad6b
5 changed files with 33 additions and 2 deletions

View File

@@ -1380,6 +1380,12 @@ do_pending_operator(cap, old_col, gui_yank)
pos_T old_cursor;
int empty_region_error;
int restart_edit_save;
#ifdef FEAT_LINEBREAK
int lbr_saved = curwin->w_p_lbr;
curwin->w_p_lbr = FALSE; /* avoid a problem with unwanted linebreaks in
* block mode */
#endif
/* The visual area is remembered for redo */
static int redo_VIsual_mode = NUL; /* 'v', 'V', or Ctrl-V */
@@ -2136,6 +2142,9 @@ do_pending_operator(cap, old_col, gui_yank)
oap->block_mode = FALSE;
clearop(oap);
}
#ifdef FEAT_LINEBREAK
curwin->w_p_lbr = lbr_saved;
#endif
}
/*