|
Karsten Hopp |
a1427f |
To: vim-dev@vim.org
|
|
Karsten Hopp |
a1427f |
Subject: Patch 7.0.119
|
|
Karsten Hopp |
a1427f |
Fcc: outbox
|
|
Karsten Hopp |
a1427f |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
a1427f |
Mime-Version: 1.0
|
|
Karsten Hopp |
a1427f |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
a1427f |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
a1427f |
------------
|
|
Karsten Hopp |
a1427f |
|
|
Karsten Hopp |
a1427f |
Patch 7.0.119
|
|
Karsten Hopp |
a1427f |
Problem: When going back from Insert to Normal mode the CursorHold event
|
|
Karsten Hopp |
a1427f |
doesn't trigger. (Yakov Lerner)
|
|
Karsten Hopp |
a1427f |
Solution: Reset "did_cursorhold" when leaving Insert mode.
|
|
Karsten Hopp |
a1427f |
Files: src/edit.c
|
|
Karsten Hopp |
a1427f |
|
|
Karsten Hopp |
a1427f |
|
|
Karsten Hopp |
a1427f |
*** ../vim-7.0.118/src/edit.c Tue Oct 3 15:49:20 2006
|
|
Karsten Hopp |
a1427f |
--- src/edit.c Thu Oct 5 22:26:27 2006
|
|
Karsten Hopp |
a1427f |
***************
|
|
Karsten Hopp |
a1427f |
*** 923,928 ****
|
|
Karsten Hopp |
a1427f |
--- 923,929 ----
|
|
Karsten Hopp |
a1427f |
if (cmdchar != 'r' && cmdchar != 'v')
|
|
Karsten Hopp |
a1427f |
apply_autocmds(EVENT_INSERTLEAVE, NULL, NULL,
|
|
Karsten Hopp |
a1427f |
FALSE, curbuf);
|
|
Karsten Hopp |
a1427f |
+ did_cursorhold = FALSE;
|
|
Karsten Hopp |
a1427f |
#endif
|
|
Karsten Hopp |
a1427f |
return (c == Ctrl_O);
|
|
Karsten Hopp |
a1427f |
}
|
|
Karsten Hopp |
a1427f |
*** ../vim-7.0.118/src/version.c Tue Oct 3 17:21:04 2006
|
|
Karsten Hopp |
a1427f |
--- src/version.c Fri Oct 6 20:35:45 2006
|
|
Karsten Hopp |
a1427f |
***************
|
|
Karsten Hopp |
a1427f |
*** 668,669 ****
|
|
Karsten Hopp |
a1427f |
--- 668,671 ----
|
|
Karsten Hopp |
a1427f |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
a1427f |
+ /**/
|
|
Karsten Hopp |
a1427f |
+ 119,
|
|
Karsten Hopp |
a1427f |
/**/
|
|
Karsten Hopp |
a1427f |
|
|
Karsten Hopp |
a1427f |
--
|
|
Karsten Hopp |
a1427f |
The Feynman problem solving Algorithm:
|
|
Karsten Hopp |
a1427f |
1) Write down the problem
|
|
Karsten Hopp |
a1427f |
2) Think real hard
|
|
Karsten Hopp |
a1427f |
3) Write down the answer
|
|
Karsten Hopp |
a1427f |
|
|
Karsten Hopp |
a1427f |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
a1427f |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
a1427f |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
a1427f |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|