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