]> git.pld-linux.org Git - packages/vim.git/blob - 7.1.260
- recognize update_mime_database
[packages/vim.git] / 7.1.260
1 To: vim-dev@vim.org
2 Subject: Patch 7.1.260
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 Mime-Version: 1.0
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
8 ------------
9
10 Patch 7.1.260
11 Problem:    Cursor positioning problem after ^@ wrapping halfway when
12             'encoding' is utf-8.
13 Solution:   Only count a position for printable characters.  (partly by
14             Yukihiro Nakadaira)
15 Files:      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 -- 
49 The users that I support would double-click on a landmine to find out
50 what 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.023696 seconds and 3 git commands to generate.