diff options
| author | nyamatongwe <unknown> | 2002-04-22 23:58:55 +0000 | 
|---|---|---|
| committer | nyamatongwe <unknown> | 2002-04-22 23:58:55 +0000 | 
| commit | 0f00c7304e8f28583df3b85739d9f988be404887 (patch) | |
| tree | 40dab10c9e0fa08f88e94822480e0528f37102fe /src | |
| parent | 7db0b47d8bbea95e10b47de804d0adac34c70e57 (diff) | |
| download | scintilla-mirror-0f00c7304e8f28583df3b85739d9f988be404887.tar.gz | |
Script tag recognised in XML mode.
Diffstat (limited to 'src')
| -rw-r--r-- | src/LexHTML.cxx | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/src/LexHTML.cxx b/src/LexHTML.cxx index d0d584634..a67e3707a 100644 --- a/src/LexHTML.cxx +++ b/src/LexHTML.cxx @@ -220,9 +220,11 @@ static int classifyTagHTML(unsigned int start, unsigned int end,  			isScript = 0 == strcmp(s, "script");  		}  	} -	if ((chAttr == SCE_H_TAGUNKNOWN) && !keywords) +	if ((chAttr == SCE_H_TAGUNKNOWN) && !keywords) {  		// No keywords -> all are known  		chAttr = SCE_H_TAG; +		isScript = 0 == strcmp(s, "script"); +	}  	styler.ColourTo(end, chAttr);  	return isScript ? SCE_H_SCRIPT : chAttr;  } | 
