| To: vim-dev@vim.org |
| Subject: Patch 7.1.144 |
| 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.1.144 |
| Problem: After ":diffup" cursor can be in the wrong position. |
| Solution: Force recomputing the cursor position. |
| Files: src/diff.c |
| |
| |
| |
| |
| |
| *** 791,796 **** |
| --- 791,799 ---- |
| } |
| mch_remove(tmp_orig); |
| |
| + /* force updating cursor position on screen */ |
| + curwin->w_valid_cursor.lnum = 0; |
| + |
| diff_redraw(TRUE); |
| |
| theend: |
| |
| |
| |
| *** 668,669 **** |
| --- 668,671 ---- |
| { /* Add new patch number below this line */ |
| + /**/ |
| + 144, |
| /**/ |
| |
| -- |
| He who laughs last, thinks slowest. |
| |
| /// 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 /// |