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.066 < prev    next >
Encoding:
Internet Message Format  |  2001-11-02  |  1.8 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.0.066
  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.066
  11. Problem:    Sometimes undo for one command is split into two undo actions.
  12.         (Halim Salman)
  13. Solution:   Don't set the undo-synced flag when reusing a line that was
  14.         already saved for undo.
  15. Files:        src/undo.c
  16.  
  17.  
  18. *** ../vim60.65/src/undo.c    Sun Oct 28 21:15:32 2001
  19. --- src/undo.c    Sat Nov  3 13:37:08 2001
  20. ***************
  21. *** 279,285 ****
  22. --- 279,288 ----
  23.                * entry now.  Following deleted/inserted lines go to the
  24.                * re-used entry. */
  25.               if (i > 0)
  26. +             {
  27.               u_getbot();
  28. +             curbuf->b_u_synced = FALSE;
  29. +             }
  30.   
  31.               /* The line count might change afterwards. */
  32.               if (newbot != 0)
  33. *** ../vim60.65/src/version.c    Fri Nov  2 16:29:44 2001
  34. --- src/version.c    Sat Nov  3 13:40:49 2001
  35. ***************
  36. *** 608,609 ****
  37. --- 608,611 ----
  38.   {   /* Add new patch number below this line */
  39. + /**/
  40. +     66,
  41.   /**/
  42.  
  43. -- 
  44. The acknowledged parents of reengineering are Michael Hammer and James Champy.
  45. When I say they're the "parents" I don't mean they had sex - and I apologize
  46. for making you think about it.  I mean they wrote the best-selling business
  47. book _Reengineering the Corporation_, which was published in 1993.
  48.    Businesses flocked to reengineering like frat boys to a drunken
  49. cheerleader.  (This analogy wasn't necessary, but I'm trying to get my mind
  50. off that Hammer and Champy thing.)
  51.                 (Scott Adams - The Dilbert principle)
  52.  
  53.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  54. (((   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   )))
  55.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  56.