diff options
Diffstat (limited to 'src/LexHTML.cxx')
-rw-r--r-- | src/LexHTML.cxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/LexHTML.cxx b/src/LexHTML.cxx index f7ef6cd48..20418c747 100644 --- a/src/LexHTML.cxx +++ b/src/LexHTML.cxx @@ -551,6 +551,13 @@ static void ColouriseHyperTextDoc(unsigned int startPos, int length, int initSty inScriptType = eNonHtmlPreProc; if (chNext2 == '@') { + char chNext3 = styler.SafeGetCharAt(i + 3); + if (chNext3 == '@') { + styler.ColourTo(i + 3, SCE_H_ASP); + state = SCE_H_XCCOMMENT; + scriptLanguage = eScriptVBS; + continue; + } i += 2; // place as if it was the second next char treated state = SCE_H_ASPAT; } else { @@ -597,6 +604,9 @@ static void ColouriseHyperTextDoc(unsigned int startPos, int length, int initSty case SCE_HPHP_WORD: classifyWordHTPHP(styler.GetStartSegment(), i - 1, keywords5, styler); break; + case SCE_H_XCCOMMENT: + styler.ColourTo(i - 1, state); + break; default : styler.ColourTo(i - 1, StateToPrint); break; |