4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: When 'encoding' is "utf-8" and 'delcombine' is set, "dw" does not
12 delete a word but only a combining character of the first
13 character, if there is one. (Raphael Finkel)
14 Solution: Correctly check that one character is being deleted.
18 *** ../vim-6.3.019/src/misc1.c Wed Jun 9 14:56:25 2004
19 --- src/misc1.c Tue Aug 31 20:02:22 2004
23 /* If 'delcombine' is set and deleting (less than) one character, only
24 * delete the last combining character. */
25 ! if (p_deco && enc_utf8 && (*mb_ptr2len_check)(oldp + col) <= count)
31 /* If 'delcombine' is set and deleting (less than) one character, only
32 * delete the last combining character. */
33 ! if (p_deco && enc_utf8 && utfc_ptr2len_check(oldp + col) >= count)
37 *** ../vim-6.3.019/src/version.c Mon Aug 30 19:46:07 2004
38 --- src/version.c Tue Aug 31 20:03:57 2004
42 { /* Add new patch number below this line */
48 hundred-and-one symptoms of being an internet addict:
49 257. Your "hundred-and-one" lists include well over 101 items, since you
50 automatically interpret all numbers in hexadecimal notation.
51 (hex 101 = decimal 257)
53 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
54 /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
55 \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
56 \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///