setMatchStyle

open fun setMatchStyle(matchStyle: Style? = 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 method@SearchContext.set_highlight.

Parameters

matchStyle

a #GtkSourceStyle, or null.