src/eric7/QScintilla/SearchReplaceWidget.py

branch
eric7
changeset 10692
9becf9ca115c
parent 10544
70762114c59a
child 10833
4c8c1e51ffa6
--- a/src/eric7/QScintilla/SearchReplaceWidget.py	Tue Apr 23 09:29:13 2024 +0200
+++ b/src/eric7/QScintilla/SearchReplaceWidget.py	Tue Apr 23 11:26:04 2024 +0200
@@ -672,11 +672,11 @@
         self.__quickSearch(word)
 
     @pyqtSlot(bool)
-    def __updateQuickSearchMarkers(self, on):
+    def __updateQuickSearchMarkers(self, _on):
         """
         Private slot to handle the selection of the various check boxes.
 
-        @param on status of the check box (ignored)
+        @param _on status of the check box (unused)
         @type bool
         """
         txt = self.findtextCombo.currentText()
@@ -1116,7 +1116,7 @@
 
             if editor.hasSelectedText():
                 selections = editor.getSelections()
-                line1, index1, line2, index2 = self.__selectionBoundary(selections)
+                line1, index1, line2, _index2 = self.__selectionBoundary(selections)
                 if line1 != line2:
                     self.selectionCheckBox.setEnabled(True)
                     self.selectionCheckBox.setChecked(True)
@@ -1383,7 +1383,7 @@
         aw = self.__viewmanager.activeWindow()
         self.updateSelectionCheckBox(aw)
         if aw.hasSelectedText():
-            line1, index1, line2, index2 = aw.getSelection()
+            line1, index1, line2, _index2 = aw.getSelection()
             if line1 == line2:
                 aw.setSelection(line1, index1, line1, index1)
                 self.findNext()

eric ide

mercurial