diff options
author | nyamatongwe <unknown> | 2001-02-23 10:20:50 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2001-02-23 10:20:50 +0000 |
commit | 5863a21f3aad5bdb13017cb8c4137d8a16fae9da (patch) | |
tree | ad73d9764ee25db1be72e3ac0dbb42088af0db60 /src | |
parent | 5436f218e7c6db73feb9271588447675449358a0 (diff) | |
download | scintilla-mirror-5863a21f3aad5bdb13017cb8c4137d8a16fae9da.tar.gz |
Patch from Steve to change name of option for folds owning following blank
lines so they disppear when folded to fold.compact.
Diffstat (limited to 'src')
-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) |