vim-patch:8.0.0209

Problem:    When using :substitute with the "c" flag and 'cursorbind' is set
            the cursor is not updated in other windows.
Solution:   Call do_check_cursorbind(). (Masanori Misono)

41baa7983a
This commit is contained in:
ckelsel 2017-08-30 19:54:14 +08:00
parent 5566f30006
commit 0e13b15fde
2 changed files with 5 additions and 1 deletions

View File

@ -3500,6 +3500,10 @@ static buf_T *do_sub(exarg_T *eap, proftime_T timeout)
setmouse(); /* disable mouse in xterm */
curwin->w_cursor.col = regmatch.startpos[0].col;
if (curwin->w_p_crb) {
do_check_cursorbind();
}
/* When 'cpoptions' contains "u" don't sync undo when
* asking for confirmation. */
if (vim_strchr(p_cpo, CPO_UNDO) != NULL)

View File

@ -743,7 +743,7 @@ static const int included_patches[] = {
// 212,
// 211 NA
// 210,
// 209,
209,
208,
// 207,
// 206,