python (3.11.7)
    ef                         d Z ddlZddlZddlZddlmZmZ ddlmZ ddl	m
Z
 ddlmZ ddZ
d Zd	 Z G d
 de
          Zd Zed
k    r'ddlmZ  eddd           ddlmZ  ee           dS dS )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                 
   |                                  }t          j        |          }t          |d          st	          |||          |_        |j        }|                     dd          }|                    | ||           dS )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.11.7/bootstrap/lib/python3.11/idlelib/grep.pygrepr      s~     ::<<D
d
#
#F6=)) ='fe<<
F88K44L
KKlB'''''