gtksource.search_settings
Module for [SearchSettings] class
Types 3
Search settings.
A gtksource.search_settings.SearchSettings object represents the settings of a search. The search settings can be associated with one or several gtksource.search_context.SearchContexts.
Methods
SearchSettingsGidBuilder builder() static nothrowGet builder for [gtksource.search_settings.SearchSettings] Returns: New builder objectbool atWordBoundaries() @property nothrowGet `atWordBoundaries` property. Returns: If true, a search match must start and end a word. The match can span multiple words.void atWordBoundaries(bool propval) @property nothrowSet `atWordBoundaries` property. Params: propval = If true, a search match must start and end a word. The match can span multiple words.bool caseSensitive() @property nothrowGet `caseSensitive` property. Returns: Whether the search is case sensitive.void caseSensitive(bool propval) @property nothrowSet `caseSensitive` property. Params: propval = Whether the search is case sensitive.bool regexEnabled() @property nothrowGet `regexEnabled` property. Returns: Search by regular expressions with [gtksource.search_settings.SearchSettings.searchText] as the pattern.void regexEnabled(bool propval) @property nothrowSet `regexEnabled` property. Params: propval = Search by regular expressions with [gtksource.search_settings.SearchSettings.searchText] as the pattern.string searchText() @property nothrowGet `searchText` property. Returns: A search string, or null if the search is disabled.void searchText(string propval) @property nothrowSet `searchText` property. Params: propval = A search string, or null if the search is disabled.bool visibleOnly() @property nothrowGet `visibleOnly` property. Returns: Exclude invisible text from the search. A search match may have invisible text interspersed.void visibleOnly(bool propval) @property nothrowSet `visibleOnly` property. Params: propval = Exclude invisible text from the search. A search match may have invisible text interspersed.bool wrapAround() @property nothrowGet `wrapAround` property. Returns: 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.void wrapAround(bool propval) @property nothrowSet `wrapAround` property. Params: propval = 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.bool getAtWordBoundaries() nothrowbool getCaseSensitive() nothrowbool getRegexEnabled() nothrowbool getVisibleOnly() nothrowbool getWrapAround() nothrowvoid setAtWordBoundaries(bool atWordBoundaries) nothrowChange whether the search is done at word boundaries.void setCaseSensitive(bool caseSensitive) nothrowEnables or disables the case sensitivity for the search.void setRegexEnabled(bool regexEnabled) nothrowEnables or disables whether to search by regular expressions.void setVisibleOnly(bool visibleOnly) nothrowEnables or disables whether to exclude invisible text from the search.Fluent builder implementation template for gtksource.search_settings.SearchSettings
Methods
T atWordBoundaries(bool propval) nothrowSet `atWordBoundaries` property. Params: propval = If true, a search match must start and end a word. The match can span multiple words. Returns: Builder instance for fluent chainingT caseSensitive(bool propval) nothrowSet `caseSensitive` property. Params: propval = Whether the search is case sensitive. Returns: Builder instance for fluent chainingT regexEnabled(bool propval) nothrowSet `regexEnabled` property. Params: propval = Search by regular expressions with [gtksource.search_settings.SearchSettings.searchText] as the pattern. Returns: Builder instance for fluent chainingT searchText(string propval) nothrowSet `searchText` property. Params: propval = A search string, or null if the search is disabled.T visibleOnly(bool propval) nothrowSet `visibleOnly` property. Params: propval = Exclude invisible text from the search. A search match may have invisible text interspersed. Returns: Builder instance for fluent chainingT wrapAround(bool propval) nothrowSet `wrapAround` property. Params: propval = 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...Fluent builder for gtksource.search_settings.SearchSettings
Methods