Search for the selected pattern in the text. Module-level function to access the singleton SearchDialog instance to search using the selected text. With a text selection, perform the search without displaying the dialog. Without a selection, use the prior entry as the search phrase
(text)
| 47 | return _setup(text).find_again(text) |
| 48 | |
| 49 | def find_selection(text): |
| 50 | """Search for the selected pattern in the text. |
| 51 | |
| 52 | Module-level function to access the singleton SearchDialog |
| 53 | instance to search using the selected text. With a text |
| 54 | selection, perform the search without displaying the dialog. |
| 55 | Without a selection, use the prior entry as the search phrase |
| 56 | and don't display the dialog. If there has been no prior |
| 57 | search, open the search dialog. |
| 58 | """ |
| 59 | return _setup(text).find_selection(text) |
| 60 | |
| 61 | |
| 62 | class SearchDialog(SearchDialogBase): |
nothing calls this directly
no test coverage detected
searching dependent graphs…