4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: Diff mode does not highlight a change in a combining character.
13 Solution: Make diff_find_change() multi-byte aware: find the start byte of
14 a character that contains a change.
18 *** ../vim-6.2.268/src/diff.c Mon Feb 2 12:53:51 2004
19 --- src/diff.c Tue Feb 17 16:53:25 2004
23 /* Search for start of difference */
24 for (si = 0; line_org[si] != NUL && line_org[si] == line_new[si]; )
29 + /* Move back to first byte of character in both lines (may
30 + * have "nn^" in line_org and "n^ in line_new). */
31 + si -= (*mb_head_off)(line_org, line_org + si);
32 + si -= (*mb_head_off)(line_new, line_new + si);
38 *** ../vim-6.2.268/src/version.c Tue Feb 17 21:31:23 2004
39 --- src/version.c Tue Feb 17 21:36:06 2004
43 { /* Add new patch number below this line */
49 hundred-and-one symptoms of being an internet addict:
50 172. You join listservers just for the extra e-mail.
52 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
53 /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
54 \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
55 \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html ///