QScintilla/Terminal.py

changeset 1965
96f5a76e1845
parent 1833
f7cd855680f1
child 2077
68a34718a0ce
equal deleted inserted replaced
1964:6a6a53f2d086 1965:96f5a76e1845
1092 Public method to search the next occurrence of the given text. 1092 Public method to search the next occurrence of the given text.
1093 1093
1094 @param txt text to search for (string) 1094 @param txt text to search for (string)
1095 @param caseSensitive flag indicating to perform a case sensitive 1095 @param caseSensitive flag indicating to perform a case sensitive
1096 search (boolean) 1096 search (boolean)
1097 @param wholeWord flag indicating to search for whole words 1097 @param wholeWord flag indicating to search for whole words
1098 only (boolean) 1098 only (boolean)
1099 """ 1099 """
1100 self.__lastSearch = (txt, caseSensitive, wholeWord) 1100 self.__lastSearch = (txt, caseSensitive, wholeWord)
1101 ok = self.findFirst(txt, False, caseSensitive, wholeWord, False, forward=True) 1101 ok = self.findFirst(txt, False, caseSensitive, wholeWord, False, forward=True)
1102 self.searchStringFound.emit(ok) 1102 self.searchStringFound.emit(ok)
1113 Public method to search the previous occurrence of the given text. 1113 Public method to search the previous occurrence of the given text.
1114 1114
1115 @param txt text to search for (string) 1115 @param txt text to search for (string)
1116 @param caseSensitive flag indicating to perform a case sensitive 1116 @param caseSensitive flag indicating to perform a case sensitive
1117 search (boolean) 1117 search (boolean)
1118 @param wholeWord flag indicating to search for whole words 1118 @param wholeWord flag indicating to search for whole words
1119 only (boolean) 1119 only (boolean)
1120 """ 1120 """
1121 self.__lastSearch = (txt, caseSensitive, wholeWord) 1121 self.__lastSearch = (txt, caseSensitive, wholeWord)
1122 if self.hasSelectedText(): 1122 if self.hasSelectedText():
1123 line, index = self.getSelection()[:2] 1123 line, index = self.getSelection()[:2]

eric ide

mercurial