SearchContext.setMatchStyle

void setMatchStyle(gtksource.style.Style matchStyle = null)

Set the style to apply on search matches.

If match_style is null, default theme's scheme 'match-style' will be used. To enable or disable the search highlighting, use [gtksource.search_context.SearchContext.setHighlight].

Parameters

matchStylea #GtkSourceStyle, or null.