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.1.097 < prev    next >
Encoding:
Internet Message Format  |  2002-06-17  |  1.8 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.1.097
  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.1.097 (depends on 6.1.090)
  11. Problem:    When 'scrolloff' is set to a huge value, CTRL-F at the end of the
  12.         file scrolls one line. (Lubomir Host)
  13. Solution:   Don't scroll when CTRL-F detects the end-of-file.
  14. Files:        src/move.c
  15.  
  16.  
  17. *** ../vim61.096/src/move.c    Sun Jun  9 14:47:19 2002
  18. --- src/move.c    Mon Jun 10 20:32:20 2002
  19. ***************
  20. *** 2465,2471 ****
  21.        * But make sure we scroll at least one line (happens with mix of long
  22.        * wrapping lines and non-wrapping line).
  23.        */
  24. !     if (dir == FORWARD && check_top_offset())
  25.       {
  26.       scroll_cursor_top(1, FALSE);
  27.       if (curwin->w_topline <= old_topline
  28. --- 2465,2471 ----
  29.        * But make sure we scroll at least one line (happens with mix of long
  30.        * wrapping lines and non-wrapping line).
  31.        */
  32. !     if (retval == OK && dir == FORWARD && check_top_offset())
  33.       {
  34.       scroll_cursor_top(1, FALSE);
  35.       if (curwin->w_topline <= old_topline
  36. *** ../vim61.096/src/version.c    Tue Jun 18 20:08:28 2002
  37. --- src/version.c    Tue Jun 18 21:12:17 2002
  38. ***************
  39. *** 608,609 ****
  40. --- 608,611 ----
  41.   {   /* Add new patch number below this line */
  42. + /**/
  43. +     97,
  44.   /**/
  45.  
  46. -- 
  47. hundred-and-one symptoms of being an internet addict:
  48. 255. You work for a newspaper and your editor asks you to write an
  49.      article about Internet addiction...in the "first person."
  50.  
  51.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  52. ///   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   \\\
  53. \\\           Project leader for A-A-P -- http://www.a-a-p.org           ///
  54.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  55.