To: [email protected]
Subject: Patch 7.4a.017
Fcc: outbox
From: Bram Moolenaar <[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
------------

Patch 7.4a.017
Problem:    When 'foldmethod' is "indent", using ">>" on a line just above a
           fold makes the cursor line folded. (Evan Laforge)
Solution:   Call foldOpenCursor(). (Christian Brabandt)
Files:      src/ops.c


*** ../vim-7.4a.016/src/ops.c   2013-07-03 14:16:42.000000000 +0200
--- src/ops.c   2013-07-13 16:05:59.000000000 +0200
***************
*** 267,272 ****
--- 267,276 ----
     }

     changed_lines(oap->start.lnum, 0, oap->end.lnum + 1, 0L);
+ #ifdef FEAT_FOLDING
+     /* The cursor line is not in a closed fold */
+     foldOpenCursor();
+ #endif

 #ifdef FEAT_VISUAL
     if (oap->block_mode)
*** ../vim-7.4a.016/src/version.c       2013-07-13 15:39:30.000000000 +0200
--- src/version.c       2013-07-13 16:06:55.000000000 +0200
***************
*** 729,730 ****
--- 729,732 ----
 {   /* Add new patch number below this line */
+ /**/
+     17,
 /**/


--
LARGE MAN:   Who's that then?
CART DRIVER: (Grudgingly) I dunno, Must be a king.
LARGE MAN:   Why?
CART DRIVER: He hasn't got shit all over him.
                "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
\\\            help me help AIDS victims -- http://ICCF-Holland.org    ///