diff options
| author | nyamatongwe <unknown> | 2010-06-01 06:40:05 +0000 | 
|---|---|---|
| committer | nyamatongwe <unknown> | 2010-06-01 06:40:05 +0000 | 
| commit | c95544e37419b23a2449d0ba22c6f9dadf464779 (patch) | |
| tree | 1f001795b4fe5c69d7a5cacb6a6e471849364287 | |
| parent | a4706fa56c6258a2774595b390d79c2ebc4935d4 (diff) | |
| download | scintilla-mirror-c95544e37419b23a2449d0ba22c6f9dadf464779.tar.gz | |
Fix for bug #2854183 <?php string included in a comment is highlighted
| -rw-r--r-- | src/LexHTML.cxx | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/src/LexHTML.cxx b/src/LexHTML.cxx index 9bec3a214..ed9db9763 100644 --- a/src/LexHTML.cxx +++ b/src/LexHTML.cxx @@ -874,6 +874,7 @@ static void ColouriseHyperTextDoc(unsigned int startPos, int length, int initSty  		else if ((state != SCE_H_ASPAT) &&  		         !isPHPStringState(state) &&  		         (state != SCE_HPHP_COMMENT) && +		         (state != SCE_HPHP_COMMENTLINE) &&  		         (ch == '<') &&  		         (chNext == '?') &&  				 !IsScriptCommentState(state) ) { | 
