From ea67ca25c027f8ff186bfcca50a581ce96ab5d52 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 17 Apr 2002 09:27:40 +0000 Subject: Changed ctags recogniser to not trigger on initial tab. --- src/LexOthers.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3