958 def __showFind(self): |
958 def __showFind(self): |
959 """ |
959 """ |
960 Private method to display the search widget. |
960 Private method to display the search widget. |
961 """ |
961 """ |
962 txt = self.__shell.selectedText() |
962 txt = self.__shell.selectedText() |
|
963 self.showFind(txt) |
|
964 |
|
965 def showFind(self, txt=""): |
|
966 """ |
|
967 Public method to display the search widget. |
|
968 |
|
969 @param txt text to be shown in the combo |
|
970 @type str |
|
971 """ |
963 self.__searchWidget.showFind(txt) |
972 self.__searchWidget.showFind(txt) |
964 |
973 |
965 def activeWindow(self): |
974 def activeWindow(self): |
966 """ |
975 """ |
967 Public method to get a reference to the active shell. |
976 Public method to get a reference to the active shell. |