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