From 04dcd10bd42f8efdf7ab690e2451ac3f1712a7c0 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 21 Jul 2004 01:49:42 +0000 Subject: Patch from Hans Eckardt to recognise HTML Tidy messages. --- src/LexOthers.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/LexOthers.cxx b/src/LexOthers.cxx index 7276efffd..59d911255 100644 --- a/src/LexOthers.cxx +++ b/src/LexOthers.cxx @@ -523,6 +523,10 @@ static void ColouriseErrorListLine( strstr(lineBuffer, ", file ")) { // Essential Lahey Fortran error message styler.ColourTo(endPos, SCE_ERR_ELF); + } else if (strstart(lineBuffer, "line ") && + strstr(lineBuffer, " column ")) { + // HTML tidy style: line 42 column 1 + styler.ColourTo(endPos, SCE_ERR_TIDY); } else if (strstart(lineBuffer, "\tat ") && strstr(lineBuffer, "(") && strstr(lineBuffer, ".java:")) { -- cgit v1.2.3