aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexHTML.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2001-02-08 03:55:46 +0000
committernyamatongwe <unknown>2001-02-08 03:55:46 +0000
commitc87e4e2981b067dff1428306772b15d92abe1638 (patch)
tree40a6de37f1441a1a13b4322b3a9fd5e38767c930 /src/LexHTML.cxx
parent9f2c5102ba08200f194fa257729f51c06394e571 (diff)
downloadscintilla-mirror-c87e4e2981b067dff1428306772b15d92abe1638.tar.gz
Setting operators in ASP VBScript to correct lexical class.
Diffstat (limited to 'src/LexHTML.cxx')
-rw-r--r--src/LexHTML.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LexHTML.cxx b/src/LexHTML.cxx
index 7a4c3f9c0..bbd5ae763 100644
--- a/src/LexHTML.cxx
+++ b/src/LexHTML.cxx
@@ -873,7 +873,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) {