Backport a bugfix from Scite to fix folding problems.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2454 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
9024500f92
commit
3ba95e358d
@ -3,6 +3,8 @@
|
||||
* src/document.c, src/document.h, src/main.c, src/project.c:
|
||||
Add document_new_file_if_non_open() to open new documents if no
|
||||
other documents are open.
|
||||
* src/editor.c:
|
||||
Backport a bugfix from Scite to fix folding problems.
|
||||
|
||||
|
||||
2008-04-06 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
|
||||
|
@ -342,7 +342,7 @@ static void fold_changed(ScintillaObject *sci, gint line, gint levelNow, gint le
|
||||
expand(sci, &line, TRUE, FALSE, 0, levelPrev);
|
||||
}
|
||||
}
|
||||
else if (! (levelNow & SC_FOLDLEVELWHITEFLAG) &&
|
||||
if (! (levelNow & SC_FOLDLEVELWHITEFLAG) &&
|
||||
((levelPrev & SC_FOLDLEVELNUMBERMASK) > (levelNow & SC_FOLDLEVELNUMBERMASK)))
|
||||
{
|
||||
/* See if should still be hidden */
|
||||
|
Loading…
x
Reference in New Issue
Block a user