Blame SOURCES/7.4.285

22c937
To: vim_dev@googlegroups.com
22c937
Subject: Patch 7.4.285
22c937
Fcc: outbox
22c937
From: Bram Moolenaar <Bram@moolenaar.net>
22c937
Mime-Version: 1.0
22c937
Content-Type: text/plain; charset=UTF-8
22c937
Content-Transfer-Encoding: 8bit
22c937
------------
22c937
22c937
Patch 7.4.285
22c937
Problem:    When 'relativenumber' is set and deleting lines or undoing that,
22c937
	    line numbers are not always updated. (Robert Arkwright)
22c937
Solution:   (Christian Brabandt)
22c937
Files:	    src/misc1.c
22c937
22c937
22c937
*** ../vim-7.4.284/src/misc1.c	2014-05-07 18:35:25.669216052 +0200
22c937
--- src/misc1.c	2014-05-13 12:41:56.357568348 +0200
22c937
***************
22c937
*** 3125,3130 ****
22c937
--- 3125,3133 ----
22c937
  	    if (hasAnyFolding(wp))
22c937
  		set_topline(wp, wp->w_topline);
22c937
  #endif
22c937
+ 	    /* relative numbering may require updating more */
22c937
+ 	    if (wp->w_p_rnu)
22c937
+ 		redraw_win_later(wp, SOME_VALID);
22c937
  	}
22c937
      }
22c937
  
22c937
*** ../vim-7.4.284/src/version.c	2014-05-13 12:16:44.037555110 +0200
22c937
--- src/version.c	2014-05-13 12:33:21.553563842 +0200
22c937
***************
22c937
*** 736,737 ****
22c937
--- 736,739 ----
22c937
  {   /* Add new patch number below this line */
22c937
+ /**/
22c937
+     285,
22c937
  /**/
22c937
22c937
-- 
22c937
hundred-and-one symptoms of being an internet addict:
22c937
148. You find it easier to dial-up the National Weather Service
22c937
     Weather/your_town/now.html than to simply look out the window.
22c937
22c937
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
22c937
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
22c937
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
22c937
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///