Karsten Hopp 9c3490
To: vim-dev@vim.org
Karsten Hopp 9c3490
Subject: Patch 7.1.242
Karsten Hopp 9c3490
Fcc: outbox
Karsten Hopp 9c3490
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 9c3490
Mime-Version: 1.0
Karsten Hopp 9c3490
Content-Type: text/plain; charset=ISO-8859-1
Karsten Hopp 9c3490
Content-Transfer-Encoding: 8bit
Karsten Hopp 9c3490
------------
Karsten Hopp 9c3490
Karsten Hopp 9c3490
Patch 7.1.242 (after 7.1.005)
Karsten Hopp 9c3490
Problem:    "cib" doesn't work properly on "(x)". (Tim Pope)
Karsten Hopp 9c3490
Solution:   Use ltoreq() instead of lt().  Also fix "ciT" on "x".
Karsten Hopp 9c3490
Files:	    src/search.c
Karsten Hopp 9c3490
Karsten Hopp 9c3490
Karsten Hopp 9c3490
*** ../vim-7.1.241/src/search.c	Sat Jan 19 15:55:51 2008
Karsten Hopp 9c3490
--- src/search.c	Sat Jan 26 13:56:06 2008
Karsten Hopp 9c3490
***************
Karsten Hopp 9c3490
*** 3637,3643 ****
Karsten Hopp 9c3490
  	oap->inclusive = FALSE;
Karsten Hopp 9c3490
  	if (sol)
Karsten Hopp 9c3490
  	    incl(&curwin->w_cursor);
Karsten Hopp 9c3490
! 	else if (lt(start_pos, curwin->w_cursor))
Karsten Hopp 9c3490
  	    /* Include the character under the cursor. */
Karsten Hopp 9c3490
  	    oap->inclusive = TRUE;
Karsten Hopp 9c3490
  	else
Karsten Hopp 9c3490
--- 3637,3643 ----
Karsten Hopp 9c3490
  	oap->inclusive = FALSE;
Karsten Hopp 9c3490
  	if (sol)
Karsten Hopp 9c3490
  	    incl(&curwin->w_cursor);
Karsten Hopp 9c3490
! 	else if (ltoreq(start_pos, curwin->w_cursor))
Karsten Hopp 9c3490
  	    /* Include the character under the cursor. */
Karsten Hopp 9c3490
  	    oap->inclusive = TRUE;
Karsten Hopp 9c3490
  	else
Karsten Hopp 9c3490
***************
Karsten Hopp 9c3490
*** 3754,3759 ****
Karsten Hopp 9c3490
--- 3754,3763 ----
Karsten Hopp 9c3490
      old_pos = curwin->w_cursor;
Karsten Hopp 9c3490
      old_end = curwin->w_cursor;		    /* remember where we started */
Karsten Hopp 9c3490
      old_start = old_end;
Karsten Hopp 9c3490
+ #ifdef FEAT_VISUAL
Karsten Hopp 9c3490
+     if (!VIsual_active || *p_sel == 'e')
Karsten Hopp 9c3490
+ #endif
Karsten Hopp 9c3490
+ 	decl(&old_end);			    /* old_end is inclusive */
Karsten Hopp 9c3490
  
Karsten Hopp 9c3490
      /*
Karsten Hopp 9c3490
       * If we start on "<aaa>" select that block.
Karsten Hopp 9c3490
*** ../vim-7.1.241/src/version.c	Tue Jan 22 17:49:17 2008
Karsten Hopp 9c3490
--- src/version.c	Sat Jan 26 21:14:05 2008
Karsten Hopp 9c3490
***************
Karsten Hopp 9c3490
*** 668,669 ****
Karsten Hopp 9c3490
--- 668,671 ----
Karsten Hopp 9c3490
  {   /* Add new patch number below this line */
Karsten Hopp 9c3490
+ /**/
Karsten Hopp 9c3490
+     242,
Karsten Hopp 9c3490
  /**/
Karsten Hopp 9c3490
Karsten Hopp 9c3490
-- 
Karsten Hopp 9c3490
DENNIS: Oh, very nice. King, eh!  I expect you've got a palace and fine
Karsten Hopp 9c3490
        clothes and courtiers and plenty of food.  And how d'you get that?  By
Karsten Hopp 9c3490
        exploiting the workers! By hanging on to outdated imperialist dogma
Karsten Hopp 9c3490
        which perpetuates the social and economic differences in our society!
Karsten Hopp 9c3490
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
Karsten Hopp 9c3490
Karsten Hopp 9c3490
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 9c3490
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 9c3490
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp 9c3490
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///