diff options
Diffstat (limited to 'src/LexPascal.cxx')
-rw-r--r-- | src/LexPascal.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LexPascal.cxx b/src/LexPascal.cxx index 434f88d4f..fdd12c470 100644 --- a/src/LexPascal.cxx +++ b/src/LexPascal.cxx @@ -289,7 +289,7 @@ static void FoldPascalDoc(unsigned int startPos, int length, int initStyle, Word styleNext = styler.StyleAt(i + 1); bool atEOL = (ch == '\r' && chNext != '\n') || (ch == '\n'); - if (stylePrev == SCE_C_DEFAULT && style == SCE_C_WORD) + if (stylePrev != SCE_C_WORD && style == SCE_C_WORD) { // Store last word start point. lastStart = i; |