| To: vim_dev@googlegroups.com |
| Subject: Patch 7.4.381 |
| Fcc: outbox |
| From: Bram Moolenaar <Bram@moolenaar.net> |
| Mime-Version: 1.0 |
| Content-Type: text/plain; charset=UTF-8 |
| Content-Transfer-Encoding: 8bit |
| |
| |
| Patch 7.4.381 |
| Problem: Get u_undo error when backspacing in Insert mode deletes more than |
| one line break. (Ayberk Ozgur) |
| Solution: Also decrement Insstart.lnum. |
| Files: src/edit.c |
| |
| |
| |
| |
| |
| *** 8833,8838 **** |
| --- 8833,8839 ---- |
| return FALSE; |
| --Insstart_orig.lnum; |
| Insstart_orig.col = MAXCOL; |
| + Insstart = Insstart_orig; |
| } |
| /* |
| * In replace mode: |
| |
| |
| |
| *** 736,737 **** |
| --- 736,739 ---- |
| { /* Add new patch number below this line */ |
| + /**/ |
| + 381, |
| /**/ |
| |
| -- |
| Friends? I have lots of friends! In fact, I have all episodes ever made. |
| |
| /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ |
| /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ |
| \\\ an exciting new programming language -- http://www.Zimbu.org /// |
| \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |