From 8b73f970c304df13e17b0c942f389d5edd7c1ffe Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 8 Feb 2001 03:55:46 +0000 Subject: Setting operators in ASP VBScript to correct lexical class. --- src/LexHTML.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/LexHTML.cxx') 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) { -- cgit v1.2.3