comparison src/normal.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 e98e415ea3b8
children a6f5a4ac4d46
comparison
equal deleted inserted replaced
6265:123a83d5483a 6266:0a4efa3d2019
1378 { 1378 {
1379 oparg_T *oap = cap->oap; 1379 oparg_T *oap = cap->oap;
1380 pos_T old_cursor; 1380 pos_T old_cursor;
1381 int empty_region_error; 1381 int empty_region_error;
1382 int restart_edit_save; 1382 int restart_edit_save;
1383 #ifdef FEAT_LINEBREAK
1384 int lbr_saved = curwin->w_p_lbr;
1385
1386 curwin->w_p_lbr = FALSE; /* avoid a problem with unwanted linebreaks in
1387 * block mode */
1388 #endif
1383 1389
1384 /* The visual area is remembered for redo */ 1390 /* The visual area is remembered for redo */
1385 static int redo_VIsual_mode = NUL; /* 'v', 'V', or Ctrl-V */ 1391 static int redo_VIsual_mode = NUL; /* 'v', 'V', or Ctrl-V */
1386 static linenr_T redo_VIsual_line_count; /* number of lines */ 1392 static linenr_T redo_VIsual_line_count; /* number of lines */
1387 static colnr_T redo_VIsual_vcol; /* number of cols or end column */ 1393 static colnr_T redo_VIsual_vcol; /* number of cols or end column */
2134 curwin->w_cursor = old_cursor; 2140 curwin->w_cursor = old_cursor;
2135 } 2141 }
2136 oap->block_mode = FALSE; 2142 oap->block_mode = FALSE;
2137 clearop(oap); 2143 clearop(oap);
2138 } 2144 }
2145 #ifdef FEAT_LINEBREAK
2146 curwin->w_p_lbr = lbr_saved;
2147 #endif
2139 } 2148 }
2140 2149
2141 /* 2150 /*
2142 * Handle indent and format operators and visual mode ":". 2151 * Handle indent and format operators and visual mode ":".
2143 */ 2152 */