4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: When 'virtualedit' is "all" and 'selection is "exclusive",
12 selecting a double-width character below a single-width character
14 Solution: Avoid overflow on unsigned integer decrement. (Taro Muraoka)
18 *** ../vim-6.2.159/src/normal.c Sun Nov 9 20:35:08 2003
19 --- src/normal.c Tue Dec 16 10:06:16 2003
22 oap->start_vcol = start;
23 if (end > oap->end_vcol)
25 ! if (*p_sel == 'e' && start - 1 >= oap->end_vcol)
26 oap->end_vcol = start - 1;
30 oap->start_vcol = start;
31 if (end > oap->end_vcol)
33 ! if (*p_sel == 'e' && start >= 1
34 ! && start - 1 >= oap->end_vcol)
35 oap->end_vcol = start - 1;
38 *** ../vim-6.2.159/src/version.c Mon Dec 29 20:30:12 2003
39 --- src/version.c Mon Dec 29 20:32:24 2003
43 { /* Add new patch number below this line */
50 ...for the piles of laundry and ironing because it means I
51 have plenty of clothes to wear.
53 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
54 /// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\
55 \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
56 \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html ///