diff options
Diffstat (limited to 'src/LexOthers.cxx')
-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); |