diff options
author | nyamatongwe <devnull@localhost> | 2001-02-23 10:20:50 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2001-02-23 10:20:50 +0000 |
commit | 2337bf3bc8e14d24d3e4b33ac8ef8e43d8811a64 (patch) | |
tree | ad73d9764ee25db1be72e3ac0dbb42088af0db60 | |
parent | 3f7a471047fddc17b64714304e9282efe812b0fc (diff) | |
download | scintilla-mirror-2337bf3bc8e14d24d3e4b33ac8ef8e43d8811a64.tar.gz |
Patch from Steve to change name of option for folds owning following blank
lines so they disppear when folded to fold.compact.
-rw-r--r-- | src/LexHTML.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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) |