comparison src/ex_cmds.c @ 4035:d828cab6964f v7.3.772

updated for version 7.3.772 Problem: Cursor is at the wrong location and below the end of the file after doing substitutions with confirm flag: %s/x/y/c (Dominique Pelle) Solution: Update the cursor position. (Christian Brabandt & Dominique)
author Bram Moolenaar <bram@vim.org>
date Thu, 17 Jan 2013 18:34:05 +0100
parents b5103b7d9e12
children 7061704c2014
comparison
equal deleted inserted replaced
4034:ea75a5d66705 4035:d828cab6964f
5198 MSG(""); 5198 MSG("");
5199 else if (do_error) /* nothing found */ 5199 else if (do_error) /* nothing found */
5200 EMSG2(_(e_patnotf2), get_search_pat()); 5200 EMSG2(_(e_patnotf2), get_search_pat());
5201 } 5201 }
5202 5202
5203 #ifdef FEAT_FOLDING
5204 if (do_ask && hasAnyFolding(curwin))
5205 /* Cursor position may require updating */
5206 changed_window_setting();
5207 #endif
5208
5203 vim_free(regmatch.regprog); 5209 vim_free(regmatch.regprog);
5204 } 5210 }
5205 5211
5206 /* 5212 /*
5207 * Give message for number of substitutions. 5213 * Give message for number of substitutions.