0
0
mirror of https://github.com/vim/vim.git synced 2025-10-17 07:44:28 -04:00

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)
This commit is contained in:
Bram Moolenaar
2013-01-17 18:34:05 +01:00
parent 0936502538
commit 8c4fbd1a15
2 changed files with 8 additions and 0 deletions

View File

@@ -5200,6 +5200,12 @@ outofmem:
EMSG2(_(e_patnotf2), get_search_pat());
}
#ifdef FEAT_FOLDING
if (do_ask && hasAnyFolding(curwin))
/* Cursor position may require updating */
changed_window_setting();
#endif
vim_free(regmatch.regprog);
}