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.107 < prev    next >
Encoding:
Internet Message Format  |  2001-12-29  |  1.7 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.0.107
  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.107 (extra)
  11. Problem:    VisVim: When editing another file, a modified file may be written
  12.             unexpectedly and without warning.
  13. Solution:   Split the window if a file was modified.
  14. Files:      VisVim/Commands.cpp
  15.  
  16.  
  17. *** ../vim60.106/VisVim/Commands.cpp    Mon Jul 23 22:19:17 2001
  18. --- VisVim/Commands.cpp    Sun Dec 30 21:58:33 2001
  19. ***************
  20. *** 521,528 ****
  21. --- 521,533 ----
  22.       VimCmd[1] = 0x0e;
  23.       VimCmdStart = VimCmd + 2;
  24.   
  25. + #ifdef SINGLE_WINDOW
  26.       // Update the current file in Vim if it has been modified
  27.       sprintf (VimCmdStart, ":up\n");
  28. + #else
  29. +     // Split the window if the current file has been modified
  30. +     sprintf (VimCmdStart, ":if &mod | split | endif\n");
  31. + #endif
  32.       if (! VimOle.Method (DispatchId, "s", TO_OLE_STR_BUF (VimCmd, Buf)))
  33.           goto OleError;
  34.   
  35. *** ../vim60.106/src/version.c    Sun Dec 30 21:52:17 2001
  36. --- src/version.c    Sun Dec 30 22:26:25 2001
  37. ***************
  38. *** 608,609 ****
  39. --- 608,611 ----
  40.   {   /* Add new patch number below this line */
  41. + /**/
  42. +     107,
  43.   /**/
  44.  
  45. -- 
  46.        In war we're tough and able.
  47.        Quite indefatigable
  48.        Between our quests
  49.        We sequin vests
  50.        And impersonate Clark Gable
  51.        It's a busy life in Camelot.
  52.        I have to push the pram a lot.
  53.                  "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
  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.