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