diff options
-rw-r--r-- | lexers/LexBash.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lexers/LexBash.cxx b/lexers/LexBash.cxx index 0df343cd2..60729d3aa 100644 --- a/lexers/LexBash.cxx +++ b/lexers/LexBash.cxx @@ -467,7 +467,7 @@ static void ColouriseBashDoc(unsigned int startPos, int length, int initStyle, if (sc.atLineStart) { sc.SetState(SCE_SH_HERE_Q); int prefixws = 0; - while (IsASpace(sc.ch) && !sc.atLineEnd) { // whitespace prefix + while (sc.ch == '\t' && !sc.atLineEnd) { // tabulation prefix sc.Forward(); prefixws++; } |