class KTextEditor.SearchInterfaceabstract class |
|
|
Search interface extension for the Document. Introduction The SearchInterface provides methods to search for a given text pattern in a Document. You can either search for a simple text or for a regular expression, see searchText. Accessing the SearchInterface The SearchInterface is supposed to be an extension interface for a Document, i.e. the Document inherits the interface provided that the used KTextEditor library implements the interface. Use qobject_cast to access the interface: // doc is of type KTextEditor.Document* KTextEditor.SearchInterface *iface = qobject_cast
See also KTextEditor.Document
Author Christoph Cullmann \ |
|
Constructor. |
|
Searches the given input range for a text pattern.
Searches for a text pattern within the given input range.
The kind of search performed depends on the
range - Input range to search in pattern - Text pattern to search for options - Combination of search flags Returns List of ranges (length >=1)
See also Search.SearchOptionsEnum
Author Sebastian Pipping \ |
|
Specifies all options supported by searchText. Returns Combination of all flags supported by searchText
See also Search.SearchOptionsEnum
Author Sebastian Pipping \ |