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

updated for version 7.1-242

This commit is contained in:
Bram Moolenaar
2008-01-26 20:15:46 +00:00
parent d4e20a7813
commit 2a6f21144c
2 changed files with 7 additions and 1 deletions

View File

@@ -3637,7 +3637,7 @@ current_block(oap, count, include, what, other)
oap->inclusive = FALSE;
if (sol)
incl(&curwin->w_cursor);
else if (lt(start_pos, curwin->w_cursor))
else if (ltoreq(start_pos, curwin->w_cursor))
/* Include the character under the cursor. */
oap->inclusive = TRUE;
else
@@ -3754,6 +3754,10 @@ current_tagblock(oap, count_arg, include)
old_pos = curwin->w_cursor;
old_end = curwin->w_cursor; /* remember where we started */
old_start = old_end;
#ifdef FEAT_VISUAL
if (!VIsual_active || *p_sel == 'e')
#endif
decl(&old_end); /* old_end is inclusive */
/*
* If we start on "<aaa>" select that block.

View File

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