diff options
| author | nyamatongwe <unknown> | 2002-10-26 04:42:35 +0000 | 
|---|---|---|
| committer | nyamatongwe <unknown> | 2002-10-26 04:42:35 +0000 | 
| commit | 6773a490e7087efbe0256e937856c8feac4cd3d6 (patch) | |
| tree | 7f6a65d909eb72c8395d0fbd43f01696e7017470 /src | |
| parent | 10eeedde657c16b277803c6d3001c007b03bb643 (diff) | |
| download | scintilla-mirror-6773a490e7087efbe0256e937856c8feac4cd3d6.tar.gz | |
Patch from Jakub Vrána to recognise PHP errors.
Diffstat (limited to 'src')
| -rw-r--r-- | src/LexOthers.cxx | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/src/LexOthers.cxx b/src/LexOthers.cxx index babb3a0d3..60f91ba5f 100644 --- a/src/LexOthers.cxx +++ b/src/LexOthers.cxx @@ -359,6 +359,8 @@ static void ColouriseErrorListLine(  		styler.ColourTo(endPos, SCE_ERR_DIFF_DELETION);  	} else if (strstr(lineBuffer, "File \"") && strstr(lineBuffer, ", line ")) {  		styler.ColourTo(endPos, SCE_ERR_PYTHON); +	} else if (strstr(lineBuffer, " in ") && strstr(lineBuffer, " on line ")) { +		styler.ColourTo(endPos, SCE_ERR_PHP);  	} else if (0 == strncmp(lineBuffer, "Error ", strlen("Error "))) {  		// Borland error message  		styler.ColourTo(endPos, SCE_ERR_BORLAND); | 
