aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <unknown>2001-07-30 08:18:53 +0000
committernyamatongwe <unknown>2001-07-30 08:18:53 +0000
commit11e3b6bebe277b43e2a9e78e4b01a6c87406acec (patch)
tree673671ffa899157ac9a71f5228f51733458596af /src
parente659823930733ecc06eca4b39252c4024fc5fdd1 (diff)
downloadscintilla-mirror-11e3b6bebe277b43e2a9e78e4b01a6c87406acec.tar.gz
Lex class for .NET tracebacks in the output lexer.
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