SearchContext


Description:

[ CCode ( has_construct_function = false ) ]
public SearchContext (Buffer buffer, SearchSettings? settings)

Creates a new search context, associated with buffer, and customized with settings.

If settings is null, a new [class@SearchSettings] object will be created, that you can retrieve with [method@SearchContext.get_settings].

Parameters:

buffer

a Buffer.

settings

a SearchSettings, or null.

Returns:

a new search context.