]>
Commit | Line | Data |
---|---|---|
60178ca2 ER |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.1.329 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=ISO-8859-1 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 7.1.329 | |
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. | |
14 | (Yukihiro Nakadaira) | |
15 | Files: src/screen.c | |
16 | ||
17 | ||
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 | |
20 | *************** | |
21 | *** 4863,4868 **** | |
22 | --- 4863,4869 ---- | |
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. | |
27 | */ | |
28 | static int | |
29 | char_needs_redraw(off_from, off_to, cols) | |
30 | *************** | |
31 | *** 4884,4890 **** | |
32 | || (enc_utf8 | |
33 | && (ScreenLinesUC[off_from] != ScreenLinesUC[off_to] | |
34 | || (ScreenLinesUC[off_from] != 0 | |
35 | ! && comp_char_differs(off_from, off_to)))) | |
36 | #endif | |
37 | )) | |
38 | return TRUE; | |
39 | --- 4885,4893 ---- | |
40 | || (enc_utf8 | |
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]))) | |
46 | #endif | |
47 | )) | |
48 | return TRUE; | |
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 | |
51 | *************** | |
52 | *** 668,669 **** | |
53 | --- 673,676 ---- | |
54 | { /* Add new patch number below this line */ | |
55 | + /**/ | |
56 | + 329, | |
57 | /**/ | |
58 | ||
59 | -- | |
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. | |
63 | ||
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 /// |