MCPcopy Index your code
hub / github.com/python/cpython / find_again

Function find_again

Lib/idlelib/search.py:38–47  ·  view source on GitHub ↗

Repeat the search for the last pattern and preferences. Module-level function to access the singleton SearchDialog instance to search again using the user entries and preferences from the last dialog. If there was no prior search, open the search dialog; otherwise, perform the sear

(text)

Source from the content-addressed store, hash-verified

36 return _setup(text).open(text, pat) # Open is inherited from SDBase.
37
38def find_again(text):
39 """Repeat the search for the last pattern and preferences.
40
41 Module-level function to access the singleton SearchDialog
42 instance to search again using the user entries and preferences
43 from the last dialog. If there was no prior search, open the
44 search dialog; otherwise, perform the search without showing the
45 dialog.
46 """
47 return _setup(text).find_again(text)
48
49def find_selection(text):
50 """Search for the selected pattern in the text.

Callers

nothing calls this directly

Calls 2

find_againMethod · 0.80
_setupFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…