aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <unknown>2004-07-19 09:44:41 +0000
committernyamatongwe <unknown>2004-07-19 09:44:41 +0000
commit9357fc2158b3789aeb3dafe62a5172e387cf1726 (patch)
treed8373c58294f5de2d025c8370d38c6a6b7e861df /src
parent9c5a45527c29c9912708f0f6b01dea7f701606e7 (diff)
downloadscintilla-mirror-9357fc2158b3789aeb3dafe62a5172e387cf1726.tar.gz
Java stack traces understood by errorlist lexer.
Diffstat (limited to 'src')
-rw-r--r--src/LexOthers.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/LexOthers.cxx b/src/LexOthers.cxx
index 1681ba5d4..7276efffd 100644
--- a/src/LexOthers.cxx
+++ b/src/LexOthers.cxx
@@ -523,6 +523,11 @@ static void ColouriseErrorListLine(
strstr(lineBuffer, ", file ")) {
// Essential Lahey Fortran error message
styler.ColourTo(endPos, SCE_ERR_ELF);
+ } else if (strstart(lineBuffer, "\tat ") &&
+ strstr(lineBuffer, "(") &&
+ strstr(lineBuffer, ".java:")) {
+ // Java stack back trace
+ styler.ColourTo(endPos, SCE_ERR_JAVA_STACK);
} else {
// Look for GCC <filename>:<line>:message
// Look for Microsoft <filename>(line) :message