jkunstle / rpms / vim

Forked from rpms/vim 3 years ago
Clone

Blame SOURCES/7.4.285

3ef2ca
To: vim_dev@googlegroups.com
3ef2ca
Subject: Patch 7.4.285
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.285
3ef2ca
Problem:    When 'relativenumber' is set and deleting lines or undoing that,
3ef2ca
	    line numbers are not always updated. (Robert Arkwright)
3ef2ca
Solution:   (Christian Brabandt)
3ef2ca
Files:	    src/misc1.c
3ef2ca
3ef2ca
3ef2ca
*** ../vim-7.4.284/src/misc1.c	2014-05-07 18:35:25.669216052 +0200
3ef2ca
--- src/misc1.c	2014-05-13 12:41:56.357568348 +0200
3ef2ca
***************
3ef2ca
*** 3125,3130 ****
3ef2ca
--- 3125,3133 ----
3ef2ca
  	    if (hasAnyFolding(wp))
3ef2ca
  		set_topline(wp, wp->w_topline);
3ef2ca
  #endif
3ef2ca
+ 	    /* relative numbering may require updating more */
3ef2ca
+ 	    if (wp->w_p_rnu)
3ef2ca
+ 		redraw_win_later(wp, SOME_VALID);
3ef2ca
  	}
3ef2ca
      }
3ef2ca
  
3ef2ca
*** ../vim-7.4.284/src/version.c	2014-05-13 12:16:44.037555110 +0200
3ef2ca
--- src/version.c	2014-05-13 12:33:21.553563842 +0200
3ef2ca
***************
3ef2ca
*** 736,737 ****
3ef2ca
--- 736,739 ----
3ef2ca
  {   /* Add new patch number below this line */
3ef2ca
+ /**/
3ef2ca
+     285,
3ef2ca
  /**/
3ef2ca
3ef2ca
-- 
3ef2ca
hundred-and-one symptoms of being an internet addict:
3ef2ca
148. You find it easier to dial-up the National Weather Service
3ef2ca
     Weather/your_town/now.html than to simply look out the window.
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    ///