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 / unreleased / patches / 6.0ax.019 < prev    next >
Encoding:
Internet Message Format  |  2001-09-24  |  1.4 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.0ax.019
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. ------------
  6.  
  7. Patch 6.0ax.019
  8. Problem:    When scrolling a window with folds upwards, switching to another
  9.         vertically split window and back may not update the scrollbar.
  10. Solution:   Limit w_botline to the number of lines in the buffer plus one.
  11. Files:        src/move.c
  12.  
  13.  
  14. *** ../vim60ax.18/src/move.c    Tue Sep 18 20:05:50 2001
  15. --- src/move.c    Tue Sep 25 11:23:37 2001
  16. ***************
  17. *** 1333,1338 ****
  18. --- 1333,1340 ----
  19.   
  20.       if (curwin->w_topline > curbuf->b_ml.ml_line_count)
  21.       curwin->w_topline = curbuf->b_ml.ml_line_count;
  22. +     if (curwin->w_botline > curbuf->b_ml.ml_line_count + 1)
  23. +     curwin->w_botline = curbuf->b_ml.ml_line_count + 1;
  24.   
  25.   #ifdef FEAT_DIFF
  26.       check_topfill(curwin, FALSE);
  27. *** ../vim60ax.18/src/version.c    Tue Sep 25 11:32:18 2001
  28. --- src/version.c    Tue Sep 25 11:32:35 2001
  29. ***************
  30. *** 608,609 ****
  31. --- 608,611 ----
  32.   {   /* Add new patch number below this line */
  33. + /**/
  34. +     19,
  35.   /**/
  36.  
  37. -- 
  38. ALL:   A witch!  A witch!
  39. WITCH: It's a fair cop.
  40. ALL:   Burn her!  Burn her!  Let's make her into a ladder.
  41.                  "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
  42.  
  43.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  44. (((   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   )))
  45.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  46.