src/eric7/QScintilla/MiniEditor.py

branch
eric7
changeset 10692
9becf9ca115c
parent 10523
e4069ddd7dc7
child 10757
7eed48700225
diff -r d1a603a70f83 -r 9becf9ca115c src/eric7/QScintilla/MiniEditor.py
--- a/src/eric7/QScintilla/MiniEditor.py	Tue Apr 23 09:29:13 2024 +0200
+++ b/src/eric7/QScintilla/MiniEditor.py	Tue Apr 23 11:26:04 2024 +0200
@@ -3696,7 +3696,7 @@
                 printer.setDocName(self.tr("Untitled"))
             if printDialog.printRange() == QAbstractPrintDialog.PrintRange.Selection:
                 # get the selection
-                fromLine, fromIndex, toLine, toIndex = self.__textEdit.getSelection()
+                fromLine, _fromIndex, toLine, toIndex = self.__textEdit.getSelection()
                 if toIndex == 0:
                     toLine -= 1
                 # QScintilla seems to print one line more than told

eric ide

mercurial