Changeset View
Changeset View
Standalone View
Standalone View
core/document.h
Show First 20 Lines • Show All 630 Lines • ▼ Show 20 Line(s) | 198 | public: | |||
---|---|---|---|---|---|
631 | * | 631 | * | ||
632 | * @param searchID The unique id for this search request. | 632 | * @param searchID The unique id for this search request. | ||
633 | * @param text The text to be searched. | 633 | * @param text The text to be searched. | ||
634 | * @param fromStart Whether the search should be started at begin of the document. | 634 | * @param fromStart Whether the search should be started at begin of the document. | ||
635 | * @param caseSensitivity Whether the search is case sensitive. | 635 | * @param caseSensitivity Whether the search is case sensitive. | ||
636 | * @param type The type of the search. @ref SearchType | 636 | * @param type The type of the search. @ref SearchType | ||
637 | * @param moveViewport Whether the viewport shall be moved to the position of the matches. | 637 | * @param moveViewport Whether the viewport shall be moved to the position of the matches. | ||
638 | * @param color The highlighting color of the matches. | 638 | * @param color The highlighting color of the matches. | ||
639 | * @param wholeWords Whether the search should only find whole words or not. | ||||
639 | */ | 640 | */ | ||
640 | void searchText( int searchID, const QString & text, bool fromStart, Qt::CaseSensitivity caseSensitivity, | 641 | void searchText( int searchID, const QString & text, bool fromStart, Qt::CaseSensitivity caseSensitivity, | ||
642 | SearchType type, bool moveViewport, const QColor & color, bool wholeWords ); | ||||
643 | // To be merged with wholeWords = false | ||||
644 | void searchText( int searchID, const QString & text, bool fromStart, Qt::CaseSensitivity caseSensitivity, | ||||
641 | SearchType type, bool moveViewport, const QColor & color ); | 645 | SearchType type, bool moveViewport, const QColor & color ); | ||
642 | 646 | | |||
643 | /** | 647 | /** | ||
644 | * Continues the search for the given @p searchID. | 648 | * Continues the search for the given @p searchID. | ||
645 | */ | 649 | */ | ||
646 | void continueSearch( int searchID ); | 650 | void continueSearch( int searchID ); | ||
647 | 651 | | |||
648 | /** | 652 | /** | ||
▲ Show 20 Lines • Show All 804 Lines • Show Last 20 Lines |