SF.net SVN: geany: [2454] trunk
eht16 at users.sourceforge.net
eht16 at xxxxx
Tue Apr 8 14:20:25 UTC 2008
Revision: 2454
http://geany.svn.sourceforge.net/geany/?rev=2454&view=rev
Author: eht16
Date: 2008-04-08 07:20:24 -0700 (Tue, 08 Apr 2008)
Log Message:
-----------
Backport a bugfix from Scite to fix folding problems.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/editor.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2008-04-08 14:07:17 UTC (rev 2453)
+++ trunk/ChangeLog 2008-04-08 14:20:24 UTC (rev 2454)
@@ -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>
Modified: trunk/src/editor.c
===================================================================
--- trunk/src/editor.c 2008-04-08 14:07:17 UTC (rev 2453)
+++ trunk/src/editor.c 2008-04-08 14:20:24 UTC (rev 2454)
@@ -342,7 +342,7 @@
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 */
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Commits
mailing list