From 7efe611f2016e3692d35a0e69b6cdbabda6d9bda Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 27 Feb 2001 01:45:10 +0000 Subject: Option fold.html added. --- src/LexHTML.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/LexHTML.cxx') 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; -- cgit v1.2.3