0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.0206

This commit is contained in:
Bram Moolenaar
2006-02-24 23:53:04 +00:00
parent 2a3f7eeebf
commit 32466aa2e9
40 changed files with 1091 additions and 480 deletions

View File

@@ -3861,8 +3861,16 @@ regmatch(scan)
}
else
{
top = curbuf->b_visual_start;
bot = curbuf->b_visual_end;
if (lt(curbuf->b_visual_start, curbuf->b_visual_end))
{
top = curbuf->b_visual_start;
bot = curbuf->b_visual_end;
}
else
{
top = curbuf->b_visual_end;
bot = curbuf->b_visual_start;
}
mode = curbuf->b_visual_mode;
}
lnum = reglnum + reg_firstlnum;
@@ -5092,8 +5100,8 @@ regmatch(scan)
/* Tried first position already, advance. */
if (rp->rs_state == RS_STAR_LONG)
{
/* Trying for longest matc, but couldn't or didn't
* match -- back up one char. */
/* Trying for longest match, but couldn't or
* didn't match -- back up one char. */
if (--rst->count < rst->minval)
break;
if (reginput == regline)
@@ -5149,8 +5157,8 @@ regmatch(scan)
break;
}
/* If we want to continue the inner loop or didn't pop a state contine
* matching loop */
/* If we want to continue the inner loop or didn't pop a state
* continue matching loop */
if (status == RA_CONT || rp == (regitem_T *)
((char *)regstack.ga_data + regstack.ga_len) - 1)
break;