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 / 7.1 / 7.1.139 < prev    next >
Encoding:
Internet Message Format  |  2007-11-19  |  1.5 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 7.1.139
  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 7.1.139
  11. Problem:    When using marker folding and ending Insert mode with CTRL-C the
  12.         current fold is truncated. (Fred Kater)
  13. Solution:   Ignore got_int while updating folds.
  14. Files:        src/fold.c
  15.  
  16.  
  17. *** ../vim-7.1.138/src/fold.c    Thu May 10 21:02:13 2007
  18. --- src/fold.c    Sun Oct 14 15:27:13 2007
  19. ***************
  20. *** 858,864 ****
  21. --- 858,871 ----
  22.           || foldmethodIsDiff(wp)
  23.   #endif
  24.           || foldmethodIsSyntax(wp))
  25. +     {
  26. +     int save_got_int = got_int;
  27. +     /* reset got_int here, otherwise it won't work */
  28. +     got_int = FALSE;
  29.       foldUpdateIEMS(wp, top, bot);
  30. +     got_int |= save_got_int;
  31. +     }
  32.   }
  33.   
  34.   /* foldUpdateAll() {{{2 */
  35. *** ../vim-7.1.138/src/version.c    Tue Oct  9 10:46:39 2007
  36. --- src/version.c    Sun Oct 14 15:31:18 2007
  37. ***************
  38. *** 668,669 ****
  39. --- 668,671 ----
  40.   {   /* Add new patch number below this line */
  41. + /**/
  42. +     139,
  43.   /**/
  44.  
  45. -- 
  46. If Pacman had affected us as kids we'd be running around in dark rooms,
  47. munching pills and listening to repetitive music.
  48.                        -- Marcus Brigstocke
  49.  
  50.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  51. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  52. \\\        download, build and distribute -- http://www.A-A-P.org        ///
  53.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  54.