Blame SOURCES/7.4.547

22c937
To: vim_dev@googlegroups.com
22c937
Subject: Patch 7.4.547
22c937
Fcc: outbox
22c937
From: Bram Moolenaar <Bram@moolenaar.net>
22c937
Mime-Version: 1.0
22c937
Content-Type: text/plain; charset=UTF-8
22c937
Content-Transfer-Encoding: 8bit
22c937
------------
22c937
22c937
Patch 7.4.547
22c937
Problem:    Using "vit" does not select a multi-byte character at the end
22c937
            correctly.
22c937
Solution:   Advance the cursor over the multi-byte character. (Christian
22c937
            Brabandt)
22c937
Files:      src/search.c
22c937
22c937
22c937
*** ../vim-7.4.546/src/search.c	2014-12-13 03:17:07.465046539 +0100
22c937
--- src/search.c	2014-12-13 20:08:39.464238348 +0100
22c937
***************
22c937
*** 3932,3938 ****
22c937
  	if (lt(end_pos, start_pos))
22c937
  	    curwin->w_cursor = start_pos;
22c937
  	else if (*p_sel == 'e')
22c937
! 	    ++curwin->w_cursor.col;
22c937
  	VIsual = start_pos;
22c937
  	VIsual_mode = 'v';
22c937
  	redraw_curbuf_later(INVERTED);	/* update the inversion */
22c937
--- 3932,3938 ----
22c937
  	if (lt(end_pos, start_pos))
22c937
  	    curwin->w_cursor = start_pos;
22c937
  	else if (*p_sel == 'e')
22c937
! 	    inc_cursor();
22c937
  	VIsual = start_pos;
22c937
  	VIsual_mode = 'v';
22c937
  	redraw_curbuf_later(INVERTED);	/* update the inversion */
22c937
*** ../vim-7.4.546/src/version.c	2014-12-13 03:58:03.798672391 +0100
22c937
--- src/version.c	2014-12-13 20:08:44.652181415 +0100
22c937
***************
22c937
*** 743,744 ****
22c937
--- 743,746 ----
22c937
  {   /* Add new patch number below this line */
22c937
+ /**/
22c937
+     547,
22c937
  /**/
22c937
22c937
-- 
22c937
Engineers will go without food and hygiene for days to solve a problem.
22c937
(Other times just because they forgot.)
22c937
				(Scott Adams - The Dilbert principle)
22c937
22c937
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
22c937
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
22c937
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
22c937
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///