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.068 < prev    next >
Encoding:
Internet Message Format  |  2002-05-15  |  1.6 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.1.068
  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.068
  11. Problem:    When a file is reloaded after it was changed outside of Vim, diff
  12.         mode isn't updated. (Michael Naumann)
  13. Solution:   Invalidate the diff info so that it's updated when needed.
  14. Files:        src/fileio.c
  15.  
  16.  
  17. *** ../vim61.067/src/fileio.c    Mon Apr 29 21:53:23 2002
  18. --- src/fileio.c    Thu May  9 19:41:25 2002
  19. ***************
  20. *** 5258,5263 ****
  21. --- 5258,5268 ----
  22.           }
  23.           vim_free(ea.cmd);
  24.   
  25. + #ifdef FEAT_DIFF
  26. +         /* Invalidate diff info if necessary. */
  27. +         diff_invalidate();
  28. + #endif
  29.           /* Restore the topline and cursor position and check it (lines may
  30.            * have been removed). */
  31.           if (old_topline > curbuf->b_ml.ml_line_count)
  32. *** ../vim61.067/src/version.c    Wed May 15 22:31:55 2002
  33. --- src/version.c    Thu May 16 21:30:20 2002
  34. ***************
  35. *** 608,609 ****
  36. --- 608,611 ----
  37.   {   /* Add new patch number below this line */
  38. + /**/
  39. +     68,
  40.   /**/
  41.  
  42. -- 
  43. "Making it up?  Why should I want to make anything up?  Life's bad enough
  44. as it is without wanting to invent any more of it."
  45.         -- Marvin, the Paranoid Android in Douglas Adams'
  46.            "The Hitchhiker's Guide to the Galaxy"
  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.