Helpviewer/SearchWidget.py

changeset 2999
28c75409a78f
parent 2954
bf0215fe12d1
child 3057
10516539f238
child 3160
209a07d7e401
--- a/Helpviewer/SearchWidget.py	Wed Oct 09 18:40:07 2013 +0200
+++ b/Helpviewer/SearchWidget.py	Wed Oct 09 19:26:41 2013 +0200
@@ -46,8 +46,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)
@@ -67,7 +69,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()
@@ -167,7 +170,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 +221,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