aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/LexAU3.cxx3
1 files changed, 1 insertions, 2 deletions
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)) {