--- a/QScintilla/QsciScintillaCompat.py Sun Mar 04 14:55:23 2018 +0100 +++ b/QScintilla/QsciScintillaCompat.py Mon Apr 02 12:04:18 2018 +0200 @@ -1539,7 +1539,7 @@ pos = self.SendScintilla(QsciScintilla.SCI_POSITIONFROMLINE, line) # Allow for multi-byte characters - for i in range(index): + for _ in range(index): pos = self.positionAfter(pos) return pos