diff options
author | nyamatongwe <devnull@localhost> | 2002-10-26 04:42:35 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2002-10-26 04:42:35 +0000 |
commit | 8321267b84894f432da8c136ac2f9c5c46792ded (patch) | |
tree | 7f6a65d909eb72c8395d0fbd43f01696e7017470 /src | |
parent | a82b5c96650c0bc1cd536da069cc03a278e9e51c (diff) | |
download | scintilla-mirror-8321267b84894f432da8c136ac2f9c5c46792ded.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); |