aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
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