updated for version 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)
This commit is contained in:
Bram Moolenaar
2013-07-13 16:34:32 +02:00
parent 119887b54b
commit c8b6bc7fc0
2 changed files with 6 additions and 0 deletions
+4
View File
@@ -267,6 +267,10 @@ op_shift(oap, curs_top, amount)
}
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)
+2
View File
@@ -727,6 +727,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
17,
/**/
16,
/**/