aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2002-04-17 09:27:40 +0000
committernyamatongwe <devnull@localhost>2002-04-17 09:27:40 +0000
commitea67ca25c027f8ff186bfcca50a581ce96ab5d52 (patch)
treeb8ca569c0b1596f46657ed5c9f709bb1f85f777c
parentefb8da3b9aa07ddbc5404ad87ef989caecada57d (diff)
downloadscintilla-mirror-ea67ca25c027f8ff186bfcca50a581ce96ab5d52.tar.gz
Changed ctags recogniser to not trigger on initial tab.
-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);