]> git.pld-linux.org Git - packages/vim.git/blob - 7.2.437
- new
[packages/vim.git] / 7.2.437
1 To: vim-dev@vim.org
2 Subject: Patch 7.2.437
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.2.437 (after 7.2.407)
11 Problem:    When "\\\n" appears in the expression result the \n doesn't result
12             in a line break. (Andy Wokula)
13 Solution:   Also replace a \n after a backslash into \r.
14 Files:      src/regexp.c
15
16
17 *** ../vim-7.2.436/src/regexp.c 2010-03-23 16:27:15.000000000 +0100
18 --- src/regexp.c        2010-05-21 13:06:00.000000000 +0200
19 ***************
20 *** 6974,6979 ****
21 --- 6974,6986 ----
22                     else if (*s == '\\' && s[1] != NUL)
23                     {
24                         ++s;
25 +                       /* Change NL to CR here too, so that this works:
26 +                        * :s/abc\\\ndef/\="aaa\\\nbbb"/  on text:
27 +                        *   abc\
28 +                        *   def
29 +                        */
30 +                       if (*s == NL)
31 +                           *s = CAR;
32                         had_backslash = TRUE;
33                     }
34                 }
35 *** ../vim-7.2.436/src/version.c        2010-05-16 13:56:01.000000000 +0200
36 --- src/version.c       2010-05-21 13:07:50.000000000 +0200
37 ***************
38 *** 683,684 ****
39 --- 683,686 ----
40   {   /* Add new patch number below this line */
41 + /**/
42 +     437,
43   /**/
44
45 -- 
46 hundred-and-one symptoms of being an internet addict:
47 89. In addition to your e-mail address being on your business
48     cards you even have your own domain.
49
50  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
51 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
52 \\\        download, build and distribute -- http://www.A-A-P.org        ///
53  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.029427 seconds and 3 git commands to generate.