Class
GtkSourceSearchSettings
Description [src]
class GtkSource.SearchSettings : GObject.Object {
parent_instance: GObject
}
Search settings.
A GtkSourceSearchSettings
object represents the settings of a search. The
search settings can be associated with one or several
GtkSourceSearchContext
s.
Instance methods
gtk_source_search_settings_set_at_word_boundaries
Change whether the search is done at word boundaries.
gtk_source_search_settings_set_case_sensitive
Enables or disables the case sensitivity for the search.
gtk_source_search_settings_set_regex_enabled
Enables or disables whether to search by regular expressions.
gtk_source_search_settings_set_visible_only
Enables or disables whether to exclude invisible text from the search.
since: 5.12
Properties
GtkSource.SearchSettings:at-word-boundaries
If TRUE
, a search match must start and end a word. The match can
span multiple words.
GtkSource.SearchSettings:regex-enabled
Search by regular expressions with
GtkSourceSearchSettings:search-text
as the pattern.
GtkSource.SearchSettings:visible-only
Exclude invisible text from the search. A search match may have invisible text interspersed.
since: 5.12
GtkSource.SearchSettings:wrap-around
For a forward search, continue at the beginning of the buffer if no search occurrence is found. For a backward search, continue at the end of the buffer.
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.