gtksource.global

Global functions for gtksource4 library

Members

Functions

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).

utilsEscapeSearchText
string utilsEscapeSearchText(string text)

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

utilsUnescapeSearchText
string utilsUnescapeSearchText(string text)

Use this function before gtksource.search_settings.SearchSettings.setSearchText, to unescape the following sequences of characters: \n, \r, \t and \\. The purpose is to easily write those characters in a search entry.