1
0
forked from aniani/vim

updated for version 7.4.076

Problem:    "cgn" does not wrap around the end of the file. (Dimitrov
            Dimitrov)
Solution:   Restore 'wrapscan' earlier. (Christian Brabandt)
This commit is contained in:
Bram Moolenaar
2013-11-07 04:46:48 +01:00
parent c1c023ecfc
commit fcea03ddd3
2 changed files with 3 additions and 2 deletions

View File

@@ -4592,7 +4592,7 @@ current_search(count, forward)
ml_get(curwin->w_buffer->b_ml.ml_line_count));
}
}
p_ws = old_p_ws;
}
start_pos = pos;
@@ -4607,7 +4607,6 @@ current_search(count, forward)
if (!VIsual_active)
VIsual = start_pos;
p_ws = old_p_ws;
curwin->w_cursor = pos;
VIsual_active = TRUE;
VIsual_mode = 'v';

View File

@@ -738,6 +738,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
76,
/**/
75,
/**/