diff options
author | nyamatongwe <devnull@localhost> | 2001-02-27 01:45:10 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2001-02-27 01:45:10 +0000 |
commit | 52e3a431923e2b44f0e50f41618b37757a2765e8 (patch) | |
tree | 8933a0b665e0465f1388fb69f74d7640d46326aa /src/LexHTML.cxx | |
parent | 092d0572b39dea08d13c8a5c0f17fdbec2d99cd0 (diff) | |
download | scintilla-mirror-52e3a431923e2b44f0e50f41618b37757a2765e8.tar.gz |
Option fold.html added.
Diffstat (limited to 'src/LexHTML.cxx')
-rw-r--r-- | src/LexHTML.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/LexHTML.cxx b/src/LexHTML.cxx index 8925c51b6..860adc891 100644 --- a/src/LexHTML.cxx +++ b/src/LexHTML.cxx @@ -343,7 +343,11 @@ static void ColouriseHyperTextDoc(unsigned int startPos, int length, int initSty int scriptLanguage = ScriptOfState(state); bool fold = styler.GetPropertyInt("fold"); + bool foldHTML = styler.GetPropertyInt("fold.html",0); bool foldCompact = styler.GetPropertyInt("fold.compact",1); + + fold = foldHTML && fold; + int levelPrev = styler.LevelAt(lineCurrent) & SC_FOLDLEVELNUMBERMASK; int levelCurrent = levelPrev; int visibleChars; |