]> git.pld-linux.org Git - packages/vim.git/blame - 7.1.260
- new
[packages/vim.git] / 7.1.260
CommitLineData
ef75664d
AG
1To: vim-dev@vim.org
2Subject: Patch 7.1.260
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=ISO-8859-1
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.1.260
11Problem: Cursor positioning problem after ^@ wrapping halfway when
12 'encoding' is utf-8.
13Solution: Only count a position for printable characters. (partly by
14 Yukihiro Nakadaira)
15Files: src/charset.c
16
17
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
20***************
21*** 1290,1296 ****
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
24 * cells wide. */
25! if (incr == 2 && wp->w_p_wrap && in_win_border(wp, vcol))
26 {
27 ++incr;
28 head = 1;
29--- 1290,1297 ----
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
32 * cells wide. */
33! if (incr == 2 && wp->w_p_wrap && MB_BYTE2LEN(*ptr) > 1
34! && in_win_border(wp, vcol))
35 {
36 ++incr;
37 head = 1;
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
40***************
41*** 668,669 ****
42--- 668,671 ----
43 { /* Add new patch number below this line */
44+ /**/
45+ 260,
46 /**/
47
48--
49The users that I support would double-click on a landmine to find out
50what happens. -- A system administrator
51
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 ///
This page took 0.02836 seconds and 4 git commands to generate.