SearchContext.this

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

If settings is null, a new classSearchSettings object will be created, that you can retrieve with gtksource.search_context.SearchContext.getSettings.

Parameters

buffer gtksource.buffer.Buffer

a #GtkSourceBuffer.

settings gtksource.search_settings.SearchSettings

a #GtkSourceSearchSettings, or null.

Return Value

a new search context.