| To: vim_dev@googlegroups.com |
| Subject: Patch 7.3.1203 |
| 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.3.1203 |
| Problem: Matches from matchadd() might be highlighted incorrectly when they |
| are at a fixed position and inserting lines. (John Szakmeister) |
| Solution: Redraw all lines below a change if there are highlighted matches. |
| (idea by Christian Brabandt) |
| Files: src/screen.c |
| |
| |
| |
| |
| |
| *** 1638,1643 **** |
| --- 1638,1647 ---- |
| # endif |
| syntax_check_changed(lnum))) |
| #endif |
| + #ifdef FEAT_SEARCH_EXTRA |
| + /* match in fixed position might need redraw */ |
| + || wp->w_match_head != NULL |
| + #endif |
| ))))) |
| { |
| #ifdef FEAT_SEARCH_EXTRA |
| |
| |
| |
| *** 730,731 **** |
| --- 730,733 ---- |
| { /* Add new patch number below this line */ |
| + /**/ |
| + 1203, |
| /**/ |
| |
| -- |
| hundred-and-one symptoms of being an internet addict: |
| 221. Your wife melts your keyboard in the oven. |
| |
| /// 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 /// |