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.058 < prev    next >
Encoding:
Internet Message Format  |  2002-05-10  |  1.7 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.1.058
  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.058
  11. Problem:    When there is a closed fold just above the first line in the
  12.         window, using CTRL-X CTRL-Y in Insert mode will show only one line
  13.         of the fold. (Alexey Marinichev)
  14. Solution:   Correct the topline by putting it at the start of the fold.
  15. Files:        src/move.c
  16.  
  17.  
  18. *** ../vim61.057/src/move.c    Thu May  2 19:52:55 2002
  19. --- src/move.c    Wed May  8 19:04:20 2002
  20. ***************
  21. *** 1486,1491 ****
  22. --- 1486,1494 ----
  23.   #else
  24.       --curwin->w_topline;
  25.   #endif
  26. + #ifdef FEAT_FOLDING
  27. +     hasFolding(curwin->w_topline, &curwin->w_topline, NULL);
  28. + #endif
  29.       --curwin->w_botline;        /* approximate w_botline */
  30.       curwin->w_valid &= ~(VALID_WROW|VALID_CROW|VALID_BOTLINE);
  31.       }
  32. *** ../vim61.057/src/version.c    Tue May  7 21:12:30 2002
  33. --- src/version.c    Wed May  8 18:53:22 2002
  34. ***************
  35. *** 608,609 ****
  36. --- 608,611 ----
  37.   {   /* Add new patch number below this line */
  38. + /**/
  39. +     58,
  40.   /**/
  41.  
  42. -- 
  43. For large projects, Team Leaders use sophisticated project management software
  44. to keep track of who's doing what.  The software collects the lies and guesses
  45. of the project team and organizes them in to instantly outdated charts that
  46. are too boring to look at closely.  This is called "planning".
  47.                 (Scott Adams - The Dilbert principle)
  48.  
  49.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  50. ///   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   \\\
  51. \\\           Project leader for A-A-P -- http://www.a-a-p.org           ///
  52.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  53.