--- a/eric6/QScintilla/MiniEditor.py Sat May 01 14:27:38 2021 +0200 +++ b/eric6/QScintilla/MiniEditor.py Thu Jun 03 11:39:23 2021 +0200 @@ -3060,7 +3060,7 @@ ) if toIndex == 0: toLine -= 1 - # Qscintilla seems to print one line more than told + # QScintilla seems to print one line more than told res = printer.printRange(self.__textEdit, fromLine, toLine - 1) else: res = printer.printRange(self.__textEdit)