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