Skip to content

Commit 41baa79

Browse files
committed
patch 8.0.0209: cursor binding does not work with :substitute
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)
1 parent 25b0e6b commit 41baa79

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/ex_cmds.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5263,6 +5263,10 @@ do_sub(exarg_T *eap)
52635263
setmouse(); /* disable mouse in xterm */
52645264
#endif
52655265
curwin->w_cursor.col = regmatch.startpos[0].col;
5266+
#ifdef FEAT_CURSORBIND
5267+
if (curwin->w_p_crb)
5268+
do_check_cursorbind();
5269+
#endif
52665270

52675271
/* When 'cpoptions' contains "u" don't sync undo when
52685272
* asking for confirmation. */

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,8 @@ static char *(features[]) =
764764

765765
static int included_patches[] =
766766
{ /* Add new patch number below this line */
767+
/**/
768+
209,
767769
/**/
768770
208,
769771
/**/

0 commit comments

Comments
 (0)