get_search_context


Description:

public unowned SourceSearchContext get_search_context ()

Gets the search context.

Use this function only if you have used set_search_context before. You should not alter other search contexts, so you have to verify that the returned search context is yours. One way to verify that is to compare the search settings object, or to mark the search context with g_object_set_data.

Parameters:

this

a Document

Returns:

the current search context of the document, or NULL if there is no current search context.