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:
@ -5200,6 +5200,12 @@ outofmem:
|
|||||||
EMSG2(_(e_patnotf2), get_search_pat());
|
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);
|
vim_free(regmatch.regprog);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -725,6 +725,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
772,
|
||||||
/**/
|
/**/
|
||||||
771,
|
771,
|
||||||
/**/
|
/**/
|
||||||
|
|||||||
Reference in New Issue
Block a user