aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2004-07-19 09:44:41 +0000
committernyamatongwe <devnull@localhost>2004-07-19 09:44:41 +0000
commitd087a0fa725a2ddbe871041c8473fdf701009922 (patch)
treed8373c58294f5de2d025c8370d38c6a6b7e861df /src
parent42dc5eadfc23669ecc3ed9bbfdf7b48c08796fa6 (diff)
downloadscintilla-mirror-d087a0fa725a2ddbe871041c8473fdf701009922.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