aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexOthers.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2004-07-21 01:49:42 +0000
committernyamatongwe <unknown>2004-07-21 01:49:42 +0000
commit04dcd10bd42f8efdf7ab690e2451ac3f1712a7c0 (patch)
tree619b22cb7ac56f76f041d12b434f2a696e7ad6a4 /src/LexOthers.cxx
parent0c05f93e3d3420f7e70426064601f6809dcc8db3 (diff)
downloadscintilla-mirror-04dcd10bd42f8efdf7ab690e2451ac3f1712a7c0.tar.gz
Patch from Hans Eckardt to recognise HTML Tidy messages.
Diffstat (limited to 'src/LexOthers.cxx')
-rw-r--r--src/LexOthers.cxx4
1 files changed, 4 insertions, 0 deletions
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:")) {