def OnFindFSItem(self, event): # XXX This is nasty, redesign self.list.addFindResults = self.addFindResults import FindReplaceDlg dlg = FindReplaceDlg.FindReplaceDlg(self.list, self.editor.finder, self.list, 0) dlg.SetWorkingFolder(self.list.node.resourcepath) try: dlg.ShowModal() finally: dlg.Destroy()
def OnFind(self, event): import FindReplaceDlg FindReplaceDlg.find(self, self.model.editor.finder, self)
def OnFindAgainPrev(self, event): import FindReplaceDlg FindReplaceDlg.findAgain(self, self.model.editor.finder, self, True)