From 9029b425e72bf61a8919eb8eb930701e7f21a0eb 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