コード例 #1
0
ファイル: main.py プロジェクト: tangjie133/mu1
 def show_find_replace(self, find, replace, global_replace):
     """
     Display the find/replace dialog. If the dialog's OK button was clicked
     return a tuple containing the find term, replace term and global
     replace flag.
     """
     finder = FindReplaceDialog(self)
     finder.setup(find, replace, global_replace)
     if finder.exec():
         return (finder.find(), finder.replace(), finder.replace_flag())
コード例 #2
0
ファイル: main.py プロジェクト: martinohanlon/mu
 def show_find_replace(self, find, replace, global_replace):
     """
     Display the find/replace dialog. If the dialog's OK button was clicked
     return a tuple containing the find term, replace term and global
     replace flag.
     """
     finder = FindReplaceDialog(self)
     finder.setup(find, replace, global_replace)
     if finder.exec():
         return (finder.find(), finder.replace(), finder.replace_flag())