diff options
| author | nyamatongwe <unknown> | 2001-02-27 01:45:10 +0000 | 
|---|---|---|
| committer | nyamatongwe <unknown> | 2001-02-27 01:45:10 +0000 | 
| commit | 7efe611f2016e3692d35a0e69b6cdbabda6d9bda (patch) | |
| tree | 8933a0b665e0465f1388fb69f74d7640d46326aa /src | |
| parent | 69e59e3f5096b8bda0408cd4feb67cb22930e75b (diff) | |
| download | scintilla-mirror-7efe611f2016e3692d35a0e69b6cdbabda6d9bda.tar.gz | |
Option fold.html added.
Diffstat (limited to 'src')
| -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; | 
