home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 7.4 / 7.4.285 < prev    next >
Encoding:
Internet Message Format  |  2014-05-12  |  1.5 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.4.285
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 7.4.285
  11. Problem:    When 'relativenumber' is set and deleting lines or undoing that,
  12.         line numbers are not always updated. (Robert Arkwright)
  13. Solution:   (Christian Brabandt)
  14. Files:        src/misc1.c
  15.  
  16.  
  17. *** ../vim-7.4.284/src/misc1.c    2014-05-07 18:35:25.669216052 +0200
  18. --- src/misc1.c    2014-05-13 12:41:56.357568348 +0200
  19. ***************
  20. *** 3125,3130 ****
  21. --- 3125,3133 ----
  22.           if (hasAnyFolding(wp))
  23.           set_topline(wp, wp->w_topline);
  24.   #endif
  25. +         /* relative numbering may require updating more */
  26. +         if (wp->w_p_rnu)
  27. +         redraw_win_later(wp, SOME_VALID);
  28.       }
  29.       }
  30.   
  31. *** ../vim-7.4.284/src/version.c    2014-05-13 12:16:44.037555110 +0200
  32. --- src/version.c    2014-05-13 12:33:21.553563842 +0200
  33. ***************
  34. *** 736,737 ****
  35. --- 736,739 ----
  36.   {   /* Add new patch number below this line */
  37. + /**/
  38. +     285,
  39.   /**/
  40.  
  41. -- 
  42. hundred-and-one symptoms of being an internet addict:
  43. 148. You find it easier to dial-up the National Weather Service
  44.      Weather/your_town/now.html than to simply look out the window.
  45.  
  46.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  47. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  48. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  49.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  50.