4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
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.
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
22 if (cmdchar != 'r' && cmdchar != 'v')
23 apply_autocmds(EVENT_INSERTLEAVE, NULL, NULL,
25 + did_cursorhold = FALSE;
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
34 { /* Add new patch number below this line */
40 The Feynman problem solving Algorithm:
41 1) Write down the problem
43 3) Write down the answer
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 ///