From 6773a490e7087efbe0256e937856c8feac4cd3d6 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sat, 26 Oct 2002 04:42:35 +0000 Subject: =?UTF-8?q?Patch=20from=20Jakub=20Vr=C3=A1na=20to=20recognise=20PH?= =?UTF-8?q?P=20errors.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/LexOthers.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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); -- cgit v1.2.3