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.258 < prev    next >
Encoding:
Internet Message Format  |  2002-02-21  |  1.5 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.0.258
  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.258
  11. Problem:    When 'scrolloff' is 999 and there are folds, the text can jump up
  12.         and down when moving the cursor down near the end of the file.
  13.         (Lubomir Host)
  14. Solution:   When putting the cursor halfway the window start counting lines at
  15.         the end of a fold.
  16. Files:        src/move.c
  17.  
  18.  
  19. *** ../vim60.257/src/move.c    Sat Feb 16 13:15:21 2002
  20. --- src/move.c    Fri Feb 22 10:30:17 2002
  21. ***************
  22. *** 2079,2084 ****
  23. --- 2079,2087 ----
  24.   #else
  25.       used = plines(loff.lnum);
  26.   #endif
  27. + #ifdef FEAT_FOLDING
  28. +     (void)hasFolding(boff.lnum, NULL, &boff.lnum);
  29. + #endif
  30.       topline = loff.lnum;
  31.       while (topline > 1)
  32.       {
  33. *** ../vim60.257/src/version.c    Thu Feb 21 21:49:21 2002
  34. --- src/version.c    Fri Feb 22 10:35:16 2002
  35. ***************
  36. *** 608,609 ****
  37. --- 608,611 ----
  38.   {   /* Add new patch number below this line */
  39. + /**/
  40. +     258,
  41.   /**/
  42.  
  43. -- 
  44. Bad fashion can discourage normal people from interacting with the engineer
  45. and talking about the cute things their children do.
  46.                 (Scott Adams - The Dilbert principle)
  47.  
  48.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  49. ///   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   \\\
  50. \\\           Project leader for A-A-P -- http://www.a-a-p.org           ///
  51.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  52.