forked from aniani/vim
updated for version 7.2.409
Problem: Summary of number of substitutes is incorrect for ":folddo". (Jean Johner) Solution: Reset sub_nsubs and sub_nlines in global_exe().
This commit is contained in:
@@ -5238,8 +5238,6 @@ ex_global(eap)
|
|||||||
type = *eap->cmd;
|
type = *eap->cmd;
|
||||||
cmd = eap->arg;
|
cmd = eap->arg;
|
||||||
which_pat = RE_LAST; /* default: use last used regexp */
|
which_pat = RE_LAST; /* default: use last used regexp */
|
||||||
sub_nsubs = 0;
|
|
||||||
sub_nlines = 0;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* undocumented vi feature:
|
* undocumented vi feature:
|
||||||
@@ -5343,6 +5341,8 @@ global_exe(cmd)
|
|||||||
/* When the command writes a message, don't overwrite the command. */
|
/* When the command writes a message, don't overwrite the command. */
|
||||||
msg_didout = TRUE;
|
msg_didout = TRUE;
|
||||||
|
|
||||||
|
sub_nsubs = 0;
|
||||||
|
sub_nlines = 0;
|
||||||
global_need_beginline = FALSE;
|
global_need_beginline = FALSE;
|
||||||
global_busy = 1;
|
global_busy = 1;
|
||||||
old_lcount = curbuf->b_ml.ml_line_count;
|
old_lcount = curbuf->b_ml.ml_line_count;
|
||||||
|
@@ -681,6 +681,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 */
|
||||||
|
/**/
|
||||||
|
409,
|
||||||
/**/
|
/**/
|
||||||
408,
|
408,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user