SearchContext.setMatchStyle

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.

class SearchContext
void
setMatchStyle

Parameters

matchStyle gtksource.style.Style

a #GtkSourceStyle, or null.