Completion.fuzzyHighlight

This will add <b> tags around matched characters in haystack based on casefold_query.

class Completion
static
fuzzyHighlight
(
string haystack
,)

Parameters

haystack string

the string to be highlighted

casefoldQuery string

the typed-text used to highlight haystack

Return Value

Type: pango.attr_list.AttrList

a #PangoAttrList or null