aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexOthers.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2004-07-21 01:49:42 +0000
committernyamatongwe <devnull@localhost>2004-07-21 01:49:42 +0000
commitb9752304f74655340e396e0ba98f4e1c656c7720 (patch)
tree619b22cb7ac56f76f041d12b434f2a696e7ad6a4 /src/LexOthers.cxx
parent181be9ff0128bb0133e26e581257cb60a6764e57 (diff)
downloadscintilla-mirror-b9752304f74655340e396e0ba98f4e1c656c7720.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:")) {