diff options
author | nyamatongwe <unknown> | 2008-06-01 05:43:11 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2008-06-01 05:43:11 +0000 |
commit | 7886eb956f51f2e0afef6fe621ad41d5ba1ff657 (patch) | |
tree | 573d1fe4ce25df8eb1e44aa7c5c504bbe0512aec /src/LexHTML.cxx | |
parent | 3ec27a17c84b85487008b07cb8a49832c35722a1 (diff) | |
download | scintilla-mirror-7886eb956f51f2e0afef6fe621ad41d5ba1ff657.tar.gz |
Bug #1776285 allow "src" near "<?php".
Diffstat (limited to 'src/LexHTML.cxx')
-rw-r--r-- | src/LexHTML.cxx | 2 |
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; |