Ejemplo n.º 1
0
 def search_text(self):
     select = self.text_edit.tag_ranges("sel")
     if not select:
         messagebox.showerror('Selection Error', 'word is not selected.')
     else:
         search.find_selection(self.text_edit)
     pass
Ejemplo n.º 2
0
 def find_selection_event(self, event=None):
     """Perform find selection operation."""
     SearchDialog.find_selection(self)
     return 'break'
Ejemplo n.º 3
0
Archivo: gui.py Proyecto: Zeffar/Elobot
 def find_selection_event(self, event=None):
     """Perform find selection operation."""
     SearchDialog.find_selection(self)
     return "break"