Utils

Members

Static functions

escapeSearchText
string escapeSearchText(string text)

Use this function to escape the following characters: \n, \r, \t and \.

finalize
void finalize()

Free the resources allocated by GtkSourceView. For example it unrefs the singleton objects.

init
void init()

Initializes the GtkSourceView library (e.g. for the internationalization).

unescapeSearchText
string unescapeSearchText(string text)

Use this function before gtk_source_search_settings_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.

Meta