--- a/eric6/QScintilla/Editor.py Sat May 08 18:38:57 2021 +0200 +++ b/eric6/QScintilla/Editor.py Sat May 08 19:47:48 2021 +0200 @@ -2723,7 +2723,7 @@ fromLine, fromIndex, toLine, toIndex = self.getSelection() 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, fromLine, toLine - 1) else: res = printer.printRange(self)