utils_unescape_search_text


Description:


public string utils_unescape_search_text (string text)

Use this function before [method@SearchSettings.

set_search_text], to unescape the following sequences of characters: `\n`, `\r`, `\t` and `\\`. The purpose is to easily write those characters in a search entry.

Note that unescaping the search text is not needed for regular expression searches.

See also: [func@utils_escape_search_text].

Parameters:

text

the text to unescape.

Returns:

the unescaped text.


Namespace: GtkSource
Package: gtksourceview-5