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 / 6.0.103 < prev    next >
Encoding:
Internet Message Format  |  2001-12-29  |  1.7 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.0.103
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=ISO-8859-1
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 6.0.103
  11. Problem:    When using 'scrollbind' a large value of 'scrolloff' will make the
  12.         scroll binding stop near the end of the file. (Coen Engelbarts)
  13. Solution:   Don't use 'scrolloff' when limiting the topline for scroll
  14.         binding. (Dany StAmant)
  15. Files:        src/normal.c
  16.  
  17.  
  18. *** ../vim60.102/src/normal.c    Tue Nov  6 19:38:36 2001
  19. --- src/normal.c    Thu Dec 13 10:16:13 2001
  20. ***************
  21. *** 3497,3504 ****
  22.           {
  23.               curwin->w_scbind_pos += topline_diff;
  24.               topline = curwin->w_scbind_pos;
  25. !             if (topline > curbuf->b_ml.ml_line_count - p_so)
  26. !             topline = curbuf->b_ml.ml_line_count - p_so;
  27.               if (topline < 1)
  28.               topline = 1;
  29.   
  30. --- 3497,3504 ----
  31.           {
  32.               curwin->w_scbind_pos += topline_diff;
  33.               topline = curwin->w_scbind_pos;
  34. !             if (topline > curbuf->b_ml.ml_line_count)
  35. !             topline = curbuf->b_ml.ml_line_count;
  36.               if (topline < 1)
  37.               topline = 1;
  38.   
  39. *** ../vim60.102/src/version.c    Sun Dec 30 17:25:33 2001
  40. --- src/version.c    Sun Dec 30 17:43:11 2001
  41. ***************
  42. *** 608,609 ****
  43. --- 608,611 ----
  44.   {   /* Add new patch number below this line */
  45. + /**/
  46. +     103,
  47.   /**/
  48.  
  49. -- 
  50. This sentence is not sure that it exists, but if it does, it will
  51. certainly consider the possibility that other sentences exist.
  52.  
  53.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  54. (((   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   )))
  55.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  56.