1
0
forked from aniani/vim

updated for version 7.2.370

Problem:    A redraw may cause folds to be closed.
Solution:   Revert part of the previous patch.  Add a test. (Lech Lorens)
This commit is contained in:
Bram Moolenaar
2010-02-24 14:34:19 +01:00
parent 54c1b4965b
commit f4d7f944ba
6 changed files with 29 additions and 21 deletions

View File

@@ -854,12 +854,6 @@ foldUpdate(wp, top, bot)
&& fp->fd_top < bot)
{
fp->fd_small = MAYBE;
/* Not sure if this is the right place to reset fd_flags (suggested by
* Lech Lorens). */
if (wp->w_foldinvalid)
fp->fd_flags = FD_LEVEL;
++fp;
}