aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexPython.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/LexPython.cxx')
-rw-r--r--src/LexPython.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LexPython.cxx b/src/LexPython.cxx
index c3a9ab2f8..6c5eed148 100644
--- a/src/LexPython.cxx
+++ b/src/LexPython.cxx
@@ -207,7 +207,7 @@ static void ColourisePyDoc(unsigned int startPos, int length, int initStyle,
styler.ColourTo(i, state);
}
lineCurrent++;
- styler.IndentAmount(lineCurrent + 1, &spaceFlags, IsPyComment);
+ styler.IndentAmount(lineCurrent, &spaceFlags, IsPyComment);
atStartLine = true;
}