[BUG_FIXED] (Author: John Burak) Fix xml syntax highlighting broken because of php preprocessor instruction inside.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@920 f5eea248-9336-0410-98b8-ebc06183d4e3
remotes/trunk
Don Ho 13 years ago
parent 86f444f829
commit cac7e4ff24

@ -884,7 +884,7 @@ static void ColouriseHyperTextDoc(unsigned int startPos, int length, int initSty
(chNext == '?') &&
!IsScriptCommentState(state)) {
beforeLanguage = scriptLanguage;
scriptLanguage = segIsScriptingIndicator(styler, i + 2, i + 6, eScriptPHP);
scriptLanguage = segIsScriptingIndicator(styler, i + 2, i + 6, isXml ? eScriptXML : eScriptPHP);
if (scriptLanguage != eScriptPHP && isStringState(state)) continue;
styler.ColourTo(i - 1, StateToPrint);
beforePreProc = state;

Loading…
Cancel
Save