Compare commits

...

2 Commits

Author SHA1 Message Date
Bram Moolenaar
78f6f7eb95 updated for version 7.1-026 2007-07-10 12:03:33 +00:00
Bram Moolenaar
7a42fa3cb7 updated for version 7.1-025 2007-07-10 11:28:55 +00:00
4 changed files with 12 additions and 2 deletions

View File

@@ -13925,6 +13925,8 @@ search_cmn(argvars, match_pos, flagsp)
/* If 'n' flag is used: restore cursor position. */
if (flags & SP_NOMOVE)
curwin->w_cursor = save_cursor;
else
curwin->w_set_curswant = TRUE;
theend:
p_ws = save_p_ws;

View File

@@ -6379,7 +6379,7 @@ nv_brackets(cap)
*/
else if (cap->nchar == 'p' || cap->nchar == 'P')
{
if (!checkclearopq(cap->oap))
if (!checkclearop(cap->oap))
{
prep_redo_cmd(cap);
do_put(cap->oap->regname,

View File

@@ -573,8 +573,12 @@ searchit(win, buf, pos, dir, pat, count, options, pat_use, stop_lnum)
/*
* Start searching in current line, unless searching backwards and
* we're in column 0.
* If we are searching backwards, in column 0, and not including the
* current position, gain some efficiency by skipping back a line.
* Otherwise begin the search in the current line.
*/
if (dir == BACKWARD && start_pos.col == 0)
if (dir == BACKWARD && start_pos.col == 0
&& (options & SEARCH_START) == 0)
{
lnum = pos->lnum - 1;
at_first_line = FALSE;

View File

@@ -666,6 +666,10 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
26,
/**/
25,
/**/
24,
/**/