diff options
author | nyamatongwe <devnull@localhost> | 2013-02-20 09:40:14 +1100 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2013-02-20 09:40:14 +1100 |
commit | 54aad84d270b6a96e1190476c23d3264a21be8b4 (patch) | |
tree | 2c6a4636ed73fef67fb402a4d6ac1f9aaa632c92 | |
parent | 17dc8c634e9af95fa6dd5ccc77c96b4db61d2aaa (diff) | |
download | scintilla-mirror-54aad84d270b6a96e1190476c23d3264a21be8b4.tar.gz |
Bug: [#1447]. Don't interrupt HTML comment for XML Processing Instruction.
-rw-r--r-- | lexers/LexHTML.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lexers/LexHTML.cxx b/lexers/LexHTML.cxx index 5fb6383fb..85107b4bf 100644 --- a/lexers/LexHTML.cxx +++ b/lexers/LexHTML.cxx @@ -900,6 +900,7 @@ static void ColouriseHyperTextDoc(unsigned int startPos, int length, int initSty !isPHPStringState(state) && (state != SCE_HPHP_COMMENT) && (state != SCE_HPHP_COMMENTLINE) && + (state != SCE_H_COMMENT) && (ch == '<') && (chNext == '?') && !IsScriptCommentState(state)) { |