diff options
| author | nyamatongwe <unknown> | 2013-02-20 09:40:14 +1100 |
|---|---|---|
| committer | nyamatongwe <unknown> | 2013-02-20 09:40:14 +1100 |
| commit | f25ff2bed20459e0c2705778cc8756276f1c6eb0 (patch) | |
| tree | aed460b262f2957a6177a05a7f2df5e136d25c30 /lexers/LexHTML.cxx | |
| parent | 91ffb85cf35c76ac8de2c582ac7cfbab7cd936aa (diff) | |
| download | scintilla-mirror-f25ff2bed20459e0c2705778cc8756276f1c6eb0.tar.gz | |
Bug: [#1447]. Don't interrupt HTML comment for XML Processing Instruction.
Diffstat (limited to 'lexers/LexHTML.cxx')
| -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)) { |
