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