93b334e
To: vim_dev@googlegroups.com
93b334e
Subject: Patch 7.4.331
93b334e
Fcc: outbox
93b334e
From: Bram Moolenaar <Bram@moolenaar.net>
93b334e
Mime-Version: 1.0
93b334e
Content-Type: text/plain; charset=UTF-8
93b334e
Content-Transfer-Encoding: 8bit
93b334e
------------
93b334e
93b334e
Patch 7.4.331
93b334e
Problem:    Relative numbering not updated after a linewise yank.  Issue 235.
93b334e
Solution:   Redraw after the yank. (Christian Brabandt)
93b334e
Files:	    src/ops.c
93b334e
93b334e
93b334e
*** ../vim-7.4.330/src/ops.c	2014-04-29 15:55:39.443801021 +0200
93b334e
--- src/ops.c	2014-06-17 18:14:36.584687585 +0200
93b334e
***************
93b334e
*** 3150,3155 ****
93b334e
--- 3150,3157 ----
93b334e
  	vim_free(y_current->y_array);
93b334e
  	y_current = curr;
93b334e
      }
93b334e
+     if (curwin->w_p_rnu)
93b334e
+ 	redraw_later(SOME_VALID);	/* cursor moved to start */
93b334e
      if (mess)			/* Display message about yank? */
93b334e
      {
93b334e
  	if (yanktype == MCHAR
93b334e
*** ../vim-7.4.330/src/version.c	2014-06-17 17:48:21.784628008 +0200
93b334e
--- src/version.c	2014-06-17 18:13:35.824685286 +0200
93b334e
***************
93b334e
*** 736,737 ****
93b334e
--- 736,739 ----
93b334e
  {   /* Add new patch number below this line */
93b334e
+ /**/
93b334e
+     331,
93b334e
  /**/
93b334e
93b334e
-- 
93b334e
CONCORDE: Message for you, sir.
93b334e
   He falls forward revealing the arrow with the note.
93b334e
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
93b334e
93b334e
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
93b334e
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
93b334e
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
93b334e
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///