[ CCode ( has_construct_function = false ) ]
[ Version ( since = "3.10" ) ]
public SourceSearchContext (SourceBuffer buffer, SourceSearchSettings? 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].
| buffer |
a SourceBuffer. |
| settings |
a SourceSearchSettings, or null. |
|
a new search context. |