| To: vim_dev@googlegroups.com |
| Subject: Patch 7.3.638 |
| 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.638 |
| Problem: Unecessary redraw of the previous character. |
| Solution: Check if the character is double-width. (Jon Long) |
| Files: src/screen.c |
| |
| |
| |
| |
| |
| *** 5332,5339 **** |
| && (ScreenLinesUC[off_from] != ScreenLinesUC[off_to] |
| || (ScreenLinesUC[off_from] != 0 |
| && comp_char_differs(off_from, off_to)) |
| ! || (cols > 1 && ScreenLines[off_from + 1] |
| ! != ScreenLines[off_to + 1]))) |
| #endif |
| )) |
| return TRUE; |
| --- 5332,5340 ---- |
| && (ScreenLinesUC[off_from] != ScreenLinesUC[off_to] |
| || (ScreenLinesUC[off_from] != 0 |
| && comp_char_differs(off_from, off_to)) |
| ! || ((*mb_off2cells)(off_from, off_from + cols) > 1 |
| ! && ScreenLines[off_from + 1] |
| ! != ScreenLines[off_to + 1]))) |
| #endif |
| )) |
| return TRUE; |
| |
| |
| |
| *** 721,722 **** |
| --- 721,724 ---- |
| { /* Add new patch number below this line */ |
| + /**/ |
| + 638, |
| /**/ |
| |
| -- |
| There is a fine line between courage and foolishness. |
| Unfortunately, it's not a fence. |
| |
| /// 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 /// |