aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <unknown>2002-04-17 09:27:40 +0000
committernyamatongwe <unknown>2002-04-17 09:27:40 +0000
commit3c4322f26bdf79e26b909a74f3f93feb79c0a450 (patch)
treeb8ca569c0b1596f46657ed5c9f709bb1f85f777c /src
parent5d44c93ba0277ce78571f804bb7ac3b61afba7ba (diff)
downloadscintilla-mirror-3c4322f26bdf79e26b909a74f3f93feb79c0a450.tar.gz
Changed ctags recogniser to not trigger on initial tab.
Diffstat (limited to 'src')
-rw-r--r--src/LexOthers.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LexOthers.cxx b/src/LexOthers.cxx
index e964197db..5cffa0c3d 100644
--- a/src/LexOthers.cxx
+++ b/src/LexOthers.cxx
@@ -424,7 +424,7 @@ static void ColouriseErrorListLine(
styler.ColourTo(endPos, SCE_ERR_GCC);
} else if ((state == 13) || (state == 14) || (state == 15)) {
styler.ColourTo(endPos, SCE_ERR_MS);
- } else if ((state == 22) || (state == 24)) {
+ } else if (((state == 22) || (state == 24)) && (lineBuffer[0] != '\t')) {
styler.ColourTo(endPos, SCE_ERR_CTAG);
} else {
styler.ColourTo(endPos, SCE_ERR_DEFAULT);