euporie.core.widgets.inputs.HighlightIncrementalSearchProcessor

class euporie.core.widgets.inputs.HighlightIncrementalSearchProcessor

Highlight the search terms that are used for highlighting the incremental search. The style class ‘incsearch’ will be applied to the content.

Important: this requires the preview_search=True flag to be set for the BufferControl. Otherwise, the cursor position won’t be set to the search match while searching, and nothing happens.