aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2001-07-25 23:30:52 +0000
committernyamatongwe <unknown>2001-07-25 23:30:52 +0000
commitf959c3ae5705933ccd0666514c0232bcc479ab5d (patch)
tree3747a00c6941c9900f8bdfa665bbc89bd380468d
parentacb5881aa827b5c2e8939d2a2ad3b119b03d7598 (diff)
downloadscintilla-mirror-f959c3ae5705933ccd0666514c0232bcc479ab5d.tar.gz
Fixed off-by-one line number error in setting up Tab-Timmy.
-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;
}