| 141 | } |
| 142 | |
| 143 | void StandardDocumentationView::search ( const QString& text, DocumentationFindWidget::FindOptions options ) |
| 144 | { |
| 145 | Q_D(StandardDocumentationView); |
| 146 | |
| 147 | QWebEnginePage::FindFlags ff = {}; |
| 148 | if(options & DocumentationFindWidget::Previous) |
| 149 | ff |= QWebEnginePage::FindBackward; |
| 150 | |
| 151 | if(options & DocumentationFindWidget::MatchCase) |
| 152 | ff |= QWebEnginePage::FindCaseSensitively; |
| 153 | |
| 154 | d->m_view->page()->findText(text, ff); |
| 155 | } |
| 156 | |
| 157 | void StandardDocumentationView::searchIncremental(const QString& text, DocumentationFindWidget::FindOptions options) |
| 158 | { |
no outgoing calls
no test coverage detected