aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2008-07-26 12:05:14 +0000
committernyamatongwe <devnull@localhost>2008-07-26 12:05:14 +0000
commitd657cb26e2e7a023a620ecdcae4a79da53f13bc2 (patch)
treed075f3445dc503f60c136d59c57c30d292a7e745
parenta4cf33d917b1c04df690c4531271d09957e9a746 (diff)
downloadscintilla-mirror-d657cb26e2e7a023a620ecdcae4a79da53f13bc2.tar.gz
From bug #1776285 by Jason Oster limits scope of checking for "php".
-rw-r--r--src/LexHTML.cxx2
1 files changed, 1 insertions, 1 deletions
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