aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexPython.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2001-07-25 23:30:52 +0000
committernyamatongwe <devnull@localhost>2001-07-25 23:30:52 +0000
commit9ecaf34524fa710775509bf380b3514386d3a7d9 (patch)
tree3747a00c6941c9900f8bdfa665bbc89bd380468d /src/LexPython.cxx
parenteef449eb5f6095418cb11e448fbfc505a1232774 (diff)
downloadscintilla-mirror-9ecaf34524fa710775509bf380b3514386d3a7d9.tar.gz
Fixed off-by-one line number error in setting up Tab-Timmy.
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;
}