4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: Cursor positioning problem after ^@ wrapping halfway when
13 Solution: Only count a position for printable characters. (partly by
18 *** ../vim-7.1.259/src/charset.c Sun Aug 19 22:42:27 2007
19 --- src/charset.c Wed Feb 20 14:39:04 2008
22 /* If a double-cell char doesn't fit at the end of a line
23 * it wraps to the next line, it's like this char is three
25 ! if (incr == 2 && wp->w_p_wrap && in_win_border(wp, vcol))
30 /* If a double-cell char doesn't fit at the end of a line
31 * it wraps to the next line, it's like this char is three
33 ! if (incr == 2 && wp->w_p_wrap && MB_BYTE2LEN(*ptr) > 1
34 ! && in_win_border(wp, vcol))
38 *** ../vim-7.1.259/src/version.c Wed Feb 20 14:15:45 2008
39 --- src/version.c Wed Feb 20 14:57:45 2008
43 { /* Add new patch number below this line */
49 The users that I support would double-click on a landmine to find out
50 what happens. -- A system administrator
52 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
53 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
54 \\\ download, build and distribute -- http://www.A-A-P.org ///
55 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///