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.130 < prev    next >
Encoding:
Internet Message Format  |  2013-12-13  |  2.0 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.4.130
  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.130
  11. Problem:    Relative line numbers mix up windows when using folds.
  12. Solution:   Use hasFoldingWin() instead of hasFolding(). (Lech Lorens)
  13. Files:        src/misc2.c
  14.  
  15.  
  16. *** ../vim-7.4.129/src/misc2.c    2013-09-08 16:07:03.000000000 +0200
  17. --- src/misc2.c    2013-12-14 12:43:35.000000000 +0100
  18. ***************
  19. *** 487,493 ****
  20.       {
  21.           while (lnum > cursor)
  22.           {
  23. !         (void)hasFolding(lnum, &lnum, NULL);
  24.           /* if lnum and cursor are in the same fold,
  25.            * now lnum <= cursor */
  26.           if (lnum > cursor)
  27. --- 487,493 ----
  28.       {
  29.           while (lnum > cursor)
  30.           {
  31. !         (void)hasFoldingWin(wp, lnum, &lnum, NULL, TRUE, NULL);
  32.           /* if lnum and cursor are in the same fold,
  33.            * now lnum <= cursor */
  34.           if (lnum > cursor)
  35. ***************
  36. *** 499,505 ****
  37.       {
  38.           while (lnum < cursor)
  39.           {
  40. !         (void)hasFolding(lnum, NULL, &lnum);
  41.           /* if lnum and cursor are in the same fold,
  42.            * now lnum >= cursor */
  43.           if (lnum < cursor)
  44. --- 499,505 ----
  45.       {
  46.           while (lnum < cursor)
  47.           {
  48. !         (void)hasFoldingWin(wp, lnum, NULL, &lnum, TRUE, NULL);
  49.           /* if lnum and cursor are in the same fold,
  50.            * now lnum >= cursor */
  51.           if (lnum < cursor)
  52. *** ../vim-7.4.129/src/version.c    2013-12-14 12:17:34.000000000 +0100
  53. --- src/version.c    2013-12-14 12:44:27.000000000 +0100
  54. ***************
  55. *** 740,741 ****
  56. --- 740,743 ----
  57.   {   /* Add new patch number below this line */
  58. + /**/
  59. +     130,
  60.   /**/
  61.  
  62. -- 
  63. Over the years, I've developed my sense of deja vu so acutely that now
  64. I can remember things that *have* happened before ...
  65.  
  66.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  67. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  68. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  69.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  70.