Blame SOURCES/7.4.547

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