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.

  1. this(void* ptr, Flag!"Take" take)
  2. this(gtksource.buffer.Buffer buffer, gtksource.search_settings.SearchSettings settings)

Parameters

buffer gtksource.buffer.Buffer

a #GtkSourceBuffer.

settings gtksource.search_settings.SearchSettings

a #GtkSourceSearchSettings, or null.

Return Value

a new search context.