]> git.pld-linux.org Git - packages/vim.git/blame - 7.0.158
- updated to 0.7.3
[packages/vim.git] / 7.0.158
CommitLineData
f3c378e8
AG
1To: vim-dev@vim.org
2Subject: Patch 7.0.158
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.0.158
11Problem: In a C file with ":set foldmethod=syntax", typing {<CR> on the
12 last line results in the cursor being in a closed fold. (Gautam
13 Iyer)
14Solution: Open fold after inserting a new line.
15Files: src/edit.c
16
17
18*** ../vim-7.0.157/src/edit.c Tue Oct 17 13:39:36 2006
19--- src/edit.c Wed Nov 1 21:17:19 2006
20***************
21*** 9204,9209 ****
22--- 9204,9213 ----
23 #ifdef FEAT_CINDENT
24 can_cindent = TRUE;
25 #endif
26+ #ifdef FEAT_FOLDING
27+ /* When inserting a line the cursor line must never be in a closed fold. */
28+ foldOpenCursor();
29+ #endif
30
31 return (!i);
32 }
33*** ../vim-7.0.157/src/version.c Wed Nov 1 18:33:43 2006
34--- src/version.c Wed Nov 1 21:21:22 2006
35***************
36*** 668,669 ****
37--- 668,671 ----
38 { /* Add new patch number below this line */
39+ /**/
40+ 158,
41 /**/
42
43--
44hundred-and-one symptoms of being an internet addict:
45142. You dream about creating the world's greatest web site.
46
47 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
48/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
49\\\ download, build and distribute -- http://www.A-A-P.org ///
50 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.03247 seconds and 4 git commands to generate.