python (3.12.0)
̑e7 d Z ddlZddlZddlZddlmZmZ ddlmZ ddl m
Z
ddlmZ ddZ
d Zd Z G d
de
Zd Zed
k( r ddlmZ eddd ddlmZ ee yy)zGrep dialog for Find in Files functionality.
Inherits from SearchDialogBase for GUI and uses searchengine
to prepare search pattern.
N) StringVar
BooleanVar)Checkbutton)SearchDialogBase)searchenginec | j }t j | }t |d st ||| |_ |j
}| j dd }|j
| || y)a Open the Find in Files dialog.
Module-level function to access the singleton GrepDialog
instance and open the dialog. If text is selected, it is
used as the search phrase; otherwise, the previous entry
is used.
Args:
text: Text widget that contains the selected text for
default search phrase.
io: iomenu.IOBinding instance with default path to search.
flist: filelist.FileList instance for OutputWindow parent.
_grepdialogz sel.firstzsel.lastN)_rootr gethasattr
GrepDialogr open)textioflistrootenginedialogsearchphrases @/BuggyBox/python/3.12.0/bootstrap/lib/python3.12/idlelib/grep.pygrepr se ::<D
d
#F6=)'fe<
F88K4L
KKlB'