From ef0bb6f17d156b4aa04e391e7e9d7e63c03f6534 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 30 May 2004 12:43:27 +0000 Subject: Fix from Jos. --- src/LexAU3.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/LexAU3.cxx b/src/LexAU3.cxx index 8e0f791d9..2971fd176 100644 --- a/src/LexAU3.cxx +++ b/src/LexAU3.cxx @@ -428,8 +428,7 @@ static void FoldAU3Doc(unsigned int startPos, int length, int, WordList *[], Acc visibleChars++; } // get the syle for the current character neede to check in comment - //### stylech = styler.StyleAt(i); - int stylech = GetStyleFirstWord(lineCurrent,styler); + int stylech = styler.StyleAt(i); // get first word for the line for indent check max 9 characters if (FirstWordStart && (!(FirstWordEnd))) { if (!IsAWordChar(ch)) { -- cgit v1.2.3