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    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui