From 2337bf3bc8e14d24d3e4b33ac8ef8e43d8811a64 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Fri, 23 Feb 2001 10:20:50 +0000 Subject: Patch from Steve to change name of option for folds owning following blank lines so they disppear when folded to fold.compact. --- src/LexHTML.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/LexHTML.cxx b/src/LexHTML.cxx index d851c7620..1c68f576b 100644 --- a/src/LexHTML.cxx +++ b/src/LexHTML.cxx @@ -341,7 +341,7 @@ static void ColouriseHyperTextDoc(unsigned int startPos, int length, int initSty int scriptLanguage = ScriptOfState(state); bool fold = styler.GetPropertyInt("fold"); - bool wrapFold = styler.GetPropertyInt("fold.wrap",0); + bool foldCompact = styler.GetPropertyInt("fold.compact",1); int levelPrev = styler.LevelAt(lineCurrent) & SC_FOLDLEVELNUMBERMASK; int levelCurrent = levelPrev; int visibleChars; @@ -369,7 +369,7 @@ static void ColouriseHyperTextDoc(unsigned int startPos, int length, int initSty continue; } - if ((!isspacechar(ch) || wrapFold) && fold) + if ((!isspacechar(ch) || !foldCompact) && fold) visibleChars++; // decide what is the current state to print (depending of the script tag) -- cgit v1.2.3