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.0 / 7.0.119 < prev    next >
Encoding:
Internet Message Format  |  2006-10-05  |  1.4 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 7.0.119
  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.0.119
  11. Problem:    When going back from Insert to Normal mode the CursorHold event
  12.         doesn't trigger. (Yakov Lerner)
  13. Solution:   Reset "did_cursorhold" when leaving Insert mode.
  14. Files:        src/edit.c
  15.  
  16.  
  17. *** ../vim-7.0.118/src/edit.c    Tue Oct  3 15:49:20 2006
  18. --- src/edit.c    Thu Oct  5 22:26:27 2006
  19. ***************
  20. *** 923,928 ****
  21. --- 923,929 ----
  22.           if (cmdchar != 'r' && cmdchar != 'v')
  23.               apply_autocmds(EVENT_INSERTLEAVE, NULL, NULL,
  24.                                      FALSE, curbuf);
  25. +         did_cursorhold = FALSE;
  26.   #endif
  27.           return (c == Ctrl_O);
  28.           }
  29. *** ../vim-7.0.118/src/version.c    Tue Oct  3 17:21:04 2006
  30. --- src/version.c    Fri Oct  6 20:35:45 2006
  31. ***************
  32. *** 668,669 ****
  33. --- 668,671 ----
  34.   {   /* Add new patch number below this line */
  35. + /**/
  36. +     119,
  37.   /**/
  38.  
  39. -- 
  40. The Feynman problem solving Algorithm:
  41.     1) Write down the problem
  42.     2) Think real hard
  43.     3) Write down the answer
  44.  
  45.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  46. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  47. \\\        download, build and distribute -- http://www.A-A-P.org        ///
  48.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  49.