| To: vim_dev@googlegroups.com |
| Subject: Patch 7.4.285 |
| 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.285 |
| Problem: When 'relativenumber' is set and deleting lines or undoing that, |
| line numbers are not always updated. (Robert Arkwright) |
| Solution: (Christian Brabandt) |
| Files: src/misc1.c |
| |
| |
| |
| |
| |
| *** 3125,3130 **** |
| --- 3125,3133 ---- |
| if (hasAnyFolding(wp)) |
| set_topline(wp, wp->w_topline); |
| #endif |
| + /* relative numbering may require updating more */ |
| + if (wp->w_p_rnu) |
| + redraw_win_later(wp, SOME_VALID); |
| } |
| } |
| |
| |
| |
| |
| *** 736,737 **** |
| --- 736,739 ---- |
| { /* Add new patch number below this line */ |
| + /**/ |
| + 285, |
| /**/ |
| |
| -- |
| hundred-and-one symptoms of being an internet addict: |
| 148. You find it easier to dial-up the National Weather Service |
| Weather/your_town/now.html than to simply look out the window. |
| |
| /// 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 /// |