| 587 | } |
| 588 | |
| 589 | QString TabWidget::fileText(const QString &fileName, bool *success) |
| 590 | { |
| 591 | if (auto editor = d->findEditor(fileName)) { |
| 592 | if (success) *success = true; |
| 593 | return editor->text(); |
| 594 | } |
| 595 | |
| 596 | if (success) *success = false; |
| 597 | return {}; |
| 598 | } |
| 599 | |
| 600 | void TabWidget::replaceAll(const QString &fileName, const QString &oldText, |
| 601 | const QString &newText, bool caseSensitive, bool wholeWords) |
no test coverage detected