]> git.pld-linux.org Git - packages/vim.git/blob - 7.3.192
- new
[packages/vim.git] / 7.3.192
1 To: vim_dev@googlegroups.com
2 Subject: Patch 7.3.192
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 Mime-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8 ------------
9
10 Patch 7.3.192
11 Problem:    Ex command ":s/ \?/ /g" splits multi-byte characters into bytes.
12             (Dominique Pelle)
13 Solution:   Advance over whole character instead of one byte.
14 Files:      src/ex_cmds.c
15
16
17 *** ../vim-7.3.191/src/ex_cmds.c        2011-05-10 16:41:13.000000000 +0200
18 --- src/ex_cmds.c       2011-05-19 14:23:33.000000000 +0200
19 ***************
20 *** 4625,4631 ****
21                          * for a match in this line again. */
22                         skip_match = TRUE;
23                     else
24 !                       ++matchcol; /* search for a match at next column */
25                     goto skip;
26                 }
27   
28 --- 4625,4639 ----
29                          * for a match in this line again. */
30                         skip_match = TRUE;
31                     else
32 !                   {
33 !                        /* search for a match at next column */
34 ! #ifdef FEAT_MBYTE
35 !                       if (has_mbyte)
36 !                           matchcol += mb_ptr2len(sub_firstline + matchcol);
37 !                       else
38 ! #endif
39 !                           ++matchcol;
40 !                   }
41                     goto skip;
42                 }
43   
44 *** ../vim-7.3.191/src/version.c        2011-05-19 13:40:47.000000000 +0200
45 --- src/version.c       2011-05-19 14:28:44.000000000 +0200
46 ***************
47 *** 711,712 ****
48 --- 711,714 ----
49   {   /* Add new patch number below this line */
50 + /**/
51 +     192,
52   /**/
53
54 -- 
55 From "know your smileys":
56  :-F    Bucktoothed vampire with one tooth missing
57
58  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
59 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
60 \\\  an exciting new programming language -- http://www.Zimbu.org        ///
61  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.033553 seconds and 3 git commands to generate.