aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/LexOthers.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/LexOthers.cxx b/src/LexOthers.cxx
index bb84d9084..492661c62 100644
--- a/src/LexOthers.cxx
+++ b/src/LexOthers.cxx
@@ -352,6 +352,10 @@ static void ColouriseErrorListLine(
strstr(lineBuffer, " line ") < lineBuffer + lengthLine) {
// perl error message
styler.ColourTo(endPos, SCE_ERR_PERL);
+ } else if ((memcmp(lineBuffer, " at ", 6) == 0) &&
+ strstr(lineBuffer, ":line ")) {
+ // A .NET traceback
+ styler.ColourTo(endPos, SCE_ERR_NET);
} else {
// Look for <filename>:<line>:message
// Look for <filename>(line)message