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.201 < prev    next >
Encoding:
Internet Message Format  |  2002-02-06  |  1.9 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.0.201
  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.201
  11. Problem:    When scrollbinding and doing a long jump, switching windows jumps
  12.         to another position in the file.  Scrolling a few lines at a time
  13.         is OK. (Johannes Zellner)
  14. Solution:   When setting w_topline reset the flag that indicates w_botline is
  15.         valid.
  16. Files:        src/diff.c
  17.  
  18.  
  19. *** ../vim60.200/src/diff.c    Sun Feb  3 15:27:25 2002
  20. --- src/diff.c    Thu Feb  7 22:14:11 2002
  21. ***************
  22. *** 1483,1488 ****
  23. --- 1483,1493 ----
  24.       towin->w_topline = 1;
  25.       towin->w_topfill = 0;
  26.       }
  27. +     /* When w_topline changes need to recompute w_botline and cursor position */
  28. +     invalidate_botline_win(towin);
  29. +     changed_line_abv_curs_win(towin);
  30.       check_topfill(towin, FALSE);
  31.   #ifdef FEAT_FOLDING
  32.       (void)hasFoldingWin(towin, towin->w_topline, &towin->w_topline,
  33. *** ../vim60.200/src/version.c    Thu Feb  7 21:43:37 2002
  34. --- src/version.c    Thu Feb  7 22:17:02 2002
  35. ***************
  36. *** 608,609 ****
  37. --- 608,611 ----
  38.   {   /* Add new patch number below this line */
  39. + /**/
  40. +     201,
  41.   /**/
  42.  
  43. -- 
  44. The greatest lies of all time:
  45.   (1) The check is in the mail.
  46.   (2) We have a really challenging assignment for you.
  47.   (3) I love you.
  48.   (4) All bugs have been fixed.
  49.   (5) This won't hurt a bit.
  50.   (6) Honey, I just need to debug this program and be home in 5 minutes.
  51.   (7) I have just sent you an e-mail about that.
  52.   (8) Of course I'll respect you in the morning.
  53.   (9) I'm from the government, and I'm here to help you.
  54.  
  55.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  56. (((   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   )))
  57.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  58.