0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

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 a0aa9070be
commit 2b79bfdeab
2 changed files with 6 additions and 0 deletions

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)

View File

@ -727,6 +727,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
17,
/**/
16,
/**/