Helpviewer/SearchWidget.py

branch
Py2 comp.
changeset 3057
10516539f238
parent 2525
8b507a9a2d40
parent 2999
28c75409a78f
child 3145
a9de05d4a22f
diff -r 9986ec0e559a -r 10516539f238 Helpviewer/SearchWidget.py
--- a/Helpviewer/SearchWidget.py	Tue Oct 15 22:03:54 2013 +0200
+++ b/Helpviewer/SearchWidget.py	Fri Oct 18 23:00:41 2013 +0200
@@ -48,8 +48,10 @@
         self.havefound = False
         self.__findBackwards = False
         
-        self.findtextCombo.lineEdit().returnPressed.connect(self.__findByReturnPressed)
-        self.findtextCombo.lineEdit().textEdited.connect(self.__searchTextEdited)
+        self.findtextCombo.lineEdit().returnPressed.connect(
+            self.__findByReturnPressed)
+        self.findtextCombo.lineEdit().textEdited.connect(
+            self.__searchTextEdited)
         
         if hasattr(QWebPage, "HighlightAllOccurrences"):
             self.highlightAllCheckBox.setChecked(True)
@@ -69,7 +71,8 @@
         """
         Private slot to perform an incremental search.
         
-        @param txt current text of the search combos line edit (string) (unused)
+        @param txt current text of the search combos line edit (string)
+            (unused)
         """
         self.on_highlightAllCheckBox_toggled(True)
         self.__findNextPrev()
@@ -96,7 +99,9 @@
     @pyqtSlot(bool)
     def on_highlightAllCheckBox_toggled(self, checked):
         """
-        Private slot to toggle the highlight of all occurences.
+        Private slot to toggle the highlight of all occurrences.
+        
+        @param checked flag indicating the check box toggle state (boolean)
         """
         cbr = self.__mainWindow.currentBrowser()
         if cbr is None:
@@ -167,7 +172,8 @@
     
     def __findByReturnPressed(self):
         """
-        Private slot to handle the returnPressed signal of the findtext combobox.
+        Private slot to handle the returnPressed signal of the findtext
+        combobox.
         """
         if self.__findBackwards:
             self.on_findPrevButton_clicked()
@@ -217,7 +223,8 @@
     
     def __setFindtextComboBackground(self, error):
         """
-        Private slot to change the findtext combo background to indicate errors.
+        Private slot to change the findtext combo background to indicate
+        errors.
         
         @param error flag indicating an error condition (boolean)
         """

eric ide

mercurial