Function
IdeCompletionfuzzy_highlight
since: 3.32
Declaration
gchar*
ide_completion_fuzzy_highlight (
const gchar* haystack,
const gchar* casefold_query
)
Description
This will add <b> tags around matched characters in haystack
based on casefold_query
.
Available since: 3.32
Parameters
haystack
-
Type:
const gchar*
The string to be highlighted.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. casefold_query
-
Type:
const gchar*
The typed-text used to highlight
haystack
.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.