]> git.pld-linux.org Git - packages/vim.git/blob - 7.1.139
- updated to 7.1.285
[packages/vim.git] / 7.1.139
1 To: vim-dev@vim.org
2 Subject: Patch 7.1.139
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.139
11 Problem:    When using marker folding and ending Insert mode with CTRL-C the
12             current fold is truncated. (Fred Kater)
13 Solution:   Ignore got_int while updating folds.
14 Files:      src/fold.c
15
16
17 *** ../vim-7.1.138/src/fold.c   Thu May 10 21:02:13 2007
18 --- src/fold.c  Sun Oct 14 15:27:13 2007
19 ***************
20 *** 858,864 ****
21 --- 858,871 ----
22             || foldmethodIsDiff(wp)
23   #endif
24             || foldmethodIsSyntax(wp))
25 +     {
26 +       int save_got_int = got_int;
27
28 +       /* reset got_int here, otherwise it won't work */
29 +       got_int = FALSE;
30         foldUpdateIEMS(wp, top, bot);
31 +       got_int |= save_got_int;
32 +     }
33   }
34   
35   /* foldUpdateAll() {{{2 */
36 *** ../vim-7.1.138/src/version.c        Tue Oct  9 10:46:39 2007
37 --- src/version.c       Sun Oct 14 15:31:18 2007
38 ***************
39 *** 668,669 ****
40 --- 668,671 ----
41   {   /* Add new patch number below this line */
42 + /**/
43 +     139,
44   /**/
45
46 -- 
47 If Pacman had affected us as kids we'd be running around in dark rooms,
48 munching pills and listening to repetitive music.
49                        -- Marcus Brigstocke
50
51  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
52 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
53 \\\        download, build and distribute -- http://www.A-A-P.org        ///
54  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.025388 seconds and 3 git commands to generate.