3ef2ca
To: vim_dev@googlegroups.com
3ef2ca
Subject: Patch 7.4.331
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.331
3ef2ca
Problem:    Relative numbering not updated after a linewise yank.  Issue 235.
3ef2ca
Solution:   Redraw after the yank. (Christian Brabandt)
3ef2ca
Files:	    src/ops.c
3ef2ca
3ef2ca
3ef2ca
*** ../vim-7.4.330/src/ops.c	2014-04-29 15:55:39.443801021 +0200
3ef2ca
--- src/ops.c	2014-06-17 18:14:36.584687585 +0200
3ef2ca
***************
3ef2ca
*** 3150,3155 ****
3ef2ca
--- 3150,3157 ----
3ef2ca
  	vim_free(y_current->y_array);
3ef2ca
  	y_current = curr;
3ef2ca
      }
3ef2ca
+     if (curwin->w_p_rnu)
3ef2ca
+ 	redraw_later(SOME_VALID);	/* cursor moved to start */
3ef2ca
      if (mess)			/* Display message about yank? */
3ef2ca
      {
3ef2ca
  	if (yanktype == MCHAR
3ef2ca
*** ../vim-7.4.330/src/version.c	2014-06-17 17:48:21.784628008 +0200
3ef2ca
--- src/version.c	2014-06-17 18:13:35.824685286 +0200
3ef2ca
***************
3ef2ca
*** 736,737 ****
3ef2ca
--- 736,739 ----
3ef2ca
  {   /* Add new patch number below this line */
3ef2ca
+ /**/
3ef2ca
+     331,
3ef2ca
  /**/
3ef2ca
3ef2ca
-- 
3ef2ca
CONCORDE: Message for you, sir.
3ef2ca
   He falls forward revealing the arrow with the note.
3ef2ca
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
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    ///