euporie.core.widgets.search_bar
Define the global search toolbar and related search functions.
Functions
Accept the search input. |
|
|
Add a command to the centralized command system. |
|
Enter search mode. |
Find the next search match. |
|
|
Find the previous or next search match. |
Find the previous search match. |
|
|
Get the current active (running) Application. |
|
Assign key-bindings to commands based on a dictionary. |
|
Update the key-binding registry. |
|
Start a search through all searchable buffer_controls in the layout. |
Abort the search. |
Classes
|
Control for visualising the content of a |
|
|
|
Search mode. |
|
|
|
|
|
State of the current selection. |
- class euporie.core.widgets.search_bar.SearchBar(search_buffer: Buffer | None = None, vi_mode: bool = False, text_if_not_searching: AnyFormattedText = '', forward_search_prompt: AnyFormattedText = 'I-search: ', backward_search_prompt: AnyFormattedText = 'I-search backward: ', ignore_case: FilterOrBool = False)
Bases:
prompt_toolkit.widgets.toolbars.SearchToolbar
Search mode.
A search toolbar with custom style and text.
- euporie.core.widgets.search_bar.find_prev_next(direction: prompt_toolkit.search.SearchDirection) None
Find the previous or next search match.
- euporie.core.widgets.search_bar.start_global_search(buffer_control: prompt_toolkit.layout.controls.BufferControl | None = None, direction: prompt_toolkit.search.SearchDirection = SearchDirection.FORWARD) None
Start a search through all searchable buffer_controls in the layout.