diff options
author | nyamatongwe <unknown> | 2001-07-25 11:18:27 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2001-07-25 11:18:27 +0000 |
commit | a214319f6fa4eb70a7e6833c045a4c6a5fe8dbee (patch) | |
tree | de9d7f514c43b40d9c5c538ab6ebd429394b12df /src/LexHTML.cxx | |
parent | 14f966f6e0ab8a3490d63961b0488b59275c7e77 (diff) | |
download | scintilla-mirror-a214319f6fa4eb70a7e6833c045a4c6a5fe8dbee.tar.gz |
Make Tab Timmy work again.
Diffstat (limited to 'src/LexHTML.cxx')
-rw-r--r-- | src/LexHTML.cxx | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/LexHTML.cxx b/src/LexHTML.cxx index f7cd0e286..be1da389c 100644 --- a/src/LexHTML.cxx +++ b/src/LexHTML.cxx @@ -560,15 +560,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 if ((chNext2 == '-') && (styler.SafeGetCharAt(i + 3) == '-')) { + styler.ColourTo(i + 3, SCE_H_ASP); + state = SCE_H_XCCOMMENT; + scriptLanguage = eScriptVBS; + continue; } else { if (chNext2 == '=') { i += 2; // place as if it was the second next char treated |