aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexHTML.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2008-06-01 05:43:11 +0000
committernyamatongwe <unknown>2008-06-01 05:43:11 +0000
commit7886eb956f51f2e0afef6fe621ad41d5ba1ff657 (patch)
tree573d1fe4ce25df8eb1e44aa7c5c504bbe0512aec /src/LexHTML.cxx
parent3ec27a17c84b85487008b07cb8a49832c35722a1 (diff)
downloadscintilla-mirror-7886eb956f51f2e0afef6fe621ad41d5ba1ff657.tar.gz
Bug #1776285 allow "src" near "<?php".
Diffstat (limited to 'src/LexHTML.cxx')
-rw-r--r--src/LexHTML.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LexHTML.cxx b/src/LexHTML.cxx
index 165697746..89f82c676 100644
--- a/src/LexHTML.cxx
+++ b/src/LexHTML.cxx
@@ -725,7 +725,7 @@ static void ColouriseHyperTextDoc(unsigned int startPos, int length, int initSty
(ch == '<') &&
(chNext == '?') &&
!IsScriptCommentState(state) ) {
- scriptLanguage = segIsScriptingIndicator(styler, i + 2, i + 10, eScriptPHP);
+ scriptLanguage = segIsScriptingIndicator(styler, i + 2, i + 6, eScriptPHP);
if (scriptLanguage != eScriptPHP && isStringState(state)) continue;
styler.ColourTo(i - 1, StateToPrint);
beforePreProc = state;