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.2.065 < prev    next >
Encoding:
Internet Message Format  |  2003-10-13  |  1.7 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.2.065
  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.2.065
  11. Problem:    ":windo 123" only updates other windows when entering them.
  12.         (Walter Briscoe)
  13. Solution:   Update the topline before going to the next window.
  14. Files:        src/ex_cmds2.c
  15.  
  16.  
  17. *** ../vim-6.2.064/src/ex_cmds2.c    Mon Jun 30 22:27:28 2003
  18. --- src/ex_cmds2.c    Sun Jul 27 12:54:45 2003
  19. ***************
  20. *** 1687,1700 ****
  21.               break;
  22.           }
  23.   
  24. ! #ifdef FEAT_SCROLLBIND
  25. !         if (eap->cmdidx == CMD_windo && curwin->w_p_scb)
  26.           {
  27.           /* required when 'scrollbind' has been set */
  28. !         validate_cursor();    /* may need to update w_leftcol */
  29. !         do_check_scrollbind(TRUE);
  30. !         }
  31.   #endif
  32.       }
  33.       listcmd_busy = FALSE;
  34.       }
  35. --- 1687,1701 ----
  36.               break;
  37.           }
  38.   
  39. !         if (eap->cmdidx == CMD_windo)
  40.           {
  41. +         validate_cursor();    /* cursor may have moved */
  42. + #ifdef FEAT_SCROLLBIND
  43.           /* required when 'scrollbind' has been set */
  44. !         if (curwin->w_p_scb)
  45. !             do_check_scrollbind(TRUE);
  46.   #endif
  47. +         }
  48.       }
  49.       listcmd_busy = FALSE;
  50.       }
  51. *** ../vim-6.2.064/src/version.c    Sun Aug 10 22:31:29 2003
  52. --- src/version.c    Sun Aug 10 22:33:26 2003
  53. ***************
  54. *** 632,633 ****
  55. --- 632,635 ----
  56.   {   /* Add new patch number below this line */
  57. + /**/
  58. +     65,
  59.   /**/
  60.  
  61. -- 
  62. From "know your smileys":
  63.  =):-)    Uncle Sam
  64.  
  65.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  66. ///          Creator of Vim - Vi IMproved -- http://www.Vim.org          \\\
  67. \\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
  68.  \\\  Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html  ///
  69.