rpms/vim/devel 7.0.158,NONE,1.1

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Mon Nov 6 14:33:55 UTC 2006


Author: karsten

Update of /cvs/dist/rpms/vim/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv7692

Added Files:
	7.0.158 
Log Message:
- patchlevel 158


--- NEW FILE 7.0.158 ---
To: vim-dev at vim.org
Subject: Patch 7.0.158
Fcc: outbox
From: Bram Moolenaar <Bram at moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
------------

Patch 7.0.158
Problem:    In a C file with ":set foldmethod=syntax", typing {<CR> on the
            last line results in the cursor being in a closed fold. (Gautam
            Iyer)
Solution:   Open fold after inserting a new line.
Files:      src/edit.c


*** ../vim-7.0.157/src/edit.c	Tue Oct 17 13:39:36 2006
--- src/edit.c	Wed Nov  1 21:17:19 2006
***************
*** 9204,9209 ****
--- 9204,9213 ----
  #ifdef FEAT_CINDENT
      can_cindent = TRUE;
  #endif
+ #ifdef FEAT_FOLDING
+     /* When inserting a line the cursor line must never be in a closed fold. */
+     foldOpenCursor();
+ #endif
  
      return (!i);
  }
*** ../vim-7.0.157/src/version.c	Wed Nov  1 18:33:43 2006
--- src/version.c	Wed Nov  1 21:21:22 2006
***************
*** 668,669 ****
--- 668,671 ----
  {   /* Add new patch number below this line */
+ /**/
+     158,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
142. You dream about creating the world's greatest web site.

 /// Bram Moolenaar -- Bram at Moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///




More information about the fedora-cvs-commits mailing list