aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2001-04-23 10:49:44 +0000
committernyamatongwe <unknown>2001-04-23 10:49:44 +0000
commit243bedc1b28dfe6cdeddf8e807039d96e202ee94 (patch)
tree0b0d26c0c5d264cfdd2d4085e2b22cc4453032ca
parent88be39b2a9d901465d43efa947e0313cbd269b4b (diff)
downloadscintilla-mirror-243bedc1b28dfe6cdeddf8e807039d96e202ee94.tar.gz
Fixed bug that treated some operators in ASP VBScript as if they were in
client side VBScript.
-rw-r--r--src/LexHTML.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LexHTML.cxx b/src/LexHTML.cxx
index ee0f2be6a..cfcb532b1 100644
--- a/src/LexHTML.cxx
+++ b/src/LexHTML.cxx
@@ -993,7 +993,7 @@ static void ColouriseHyperTextDoc(unsigned int startPos, int length, int initSty
state = SCE_HB_COMMENTLINE;
} else if (isoperator(ch)) {
styler.ColourTo(i - 1, StateToPrint);
- styler.ColourTo(i, SCE_HB_DEFAULT);
+ styler.ColourTo(i, statePrintForState(SCE_HB_DEFAULT, inScriptType));
state = SCE_HB_DEFAULT;
} else if ((ch == ' ') || (ch == '\t')) {
if (state == SCE_HB_START) {