4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: When the popup menu is removed a column of cells, the right halve
12 of double-wide characters, may not be redrawn.
13 Solution: Check if the right halve of a character needs to be redrawn.
18 *** ../vim-7.1.328/src/screen.c Wed May 28 19:01:53 2008
19 --- src/screen.c Sat Jun 21 14:09:02 2008
23 * - the (first byte of the) character is different
24 * - the attributes are different
25 * - the character is multi-byte and the next byte is different
26 + * - the character is two cells wide and the second cell differs.
29 char_needs_redraw(off_from, off_to, cols)
33 && (ScreenLinesUC[off_from] != ScreenLinesUC[off_to]
34 || (ScreenLinesUC[off_from] != 0
35 ! && comp_char_differs(off_from, off_to))))
41 && (ScreenLinesUC[off_from] != ScreenLinesUC[off_to]
42 || (ScreenLinesUC[off_from] != 0
43 ! && comp_char_differs(off_from, off_to))
44 ! || (cols > 1 && ScreenLines[off_from + 1]
45 ! != ScreenLines[off_to + 1])))
49 *** ../vim-7.1.328/src/version.c Sat Jun 21 13:11:58 2008
50 --- src/version.c Sat Jun 21 14:12:30 2008
54 { /* Add new patch number below this line */
60 hundred-and-one symptoms of being an internet addict:
61 61. Your best friends know your e-mail address, but neither your phone number
62 nor the address where you live.
64 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
65 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
66 \\\ download, build and distribute -- http://www.A-A-P.org ///
67 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///