From d657cb26e2e7a023a620ecdcae4a79da53f13bc2 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sat, 26 Jul 2008 12:05:14 +0000 Subject: From bug #1776285 by Jason Oster limits scope of checking for "php". --- src/LexHTML.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/LexHTML.cxx b/src/LexHTML.cxx index c0a47d9ed..2d2bc39ec 100644 --- a/src/LexHTML.cxx +++ b/src/LexHTML.cxx @@ -771,7 +771,7 @@ static void ColouriseHyperTextDoc(unsigned int startPos, int length, int initSty beforePreProc = state; i++; visibleChars++; - i += PrintScriptingIndicatorOffset(styler, styler.GetStartSegment() + 2, i + 10); + i += PrintScriptingIndicatorOffset(styler, styler.GetStartSegment() + 2, i + 6); if (scriptLanguage == eScriptXML) styler.ColourTo(i, SCE_H_XMLSTART); else -- cgit v1.2.3