summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvimboss <devnull@localhost>2008-01-26 20:15:46 +0000
committervimboss <devnull@localhost>2008-01-26 20:15:46 +0000
commit2d50d7171fe82b9fc5ab4678870038761a3f6c33 (patch)
tree200957b458f50cd094f38903c237636cdb163a87
parent23338a58d4f6456d90b1c8d16e7456f2da7d9fda (diff)
downloadvim-2d50d7171fe82b9fc5ab4678870038761a3f6c33.tar.gz
updated for version 7.1-242v7.1.242v7-1-242
-rw-r--r--src/search.c6
-rw-r--r--src/version.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/src/search.c b/src/search.c
index 4bbd3c33..1ad1df31 100644
--- a/src/search.c
+++ b/src/search.c
@@ -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.
diff --git a/src/version.c b/src/version.c
index b8e6a04a..7d703482 100644
--- a/src/version.c
+++ b/src/version.c
@@ -667,6 +667,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 242,
+/**/
241,
/**/
240,