aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2001-04-23 10:49:44 +0000
committernyamatongwe <devnull@localhost>2001-04-23 10:49:44 +0000
commit01dc1f01e34f5e944e15c0eaab17acb40779db68 (patch)
tree0b0d26c0c5d264cfdd2d4085e2b22cc4453032ca
parentc8014650b006d3ba4c55c9b009bdad360b3f5e0e (diff)
downloadscintilla-mirror-01dc1f01e34f5e944e15c0eaab17acb40779db68.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) {