lkundrak / rpms / vim

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