| 605 | } |
| 606 | |
| 607 | void TabWidget::replaceText(const QString &fileName, int line, int index, int length, const QString &after) |
| 608 | { |
| 609 | if (auto editor = d->findEditor(fileName)) |
| 610 | editor->replaceRange(line, index, line, index + length, after, true); |
| 611 | } |
| 612 | |
| 613 | bool TabWidget::replaceRange(const QString &fileName, const dpfservice::Edit::Range &range, const QString &newText) |
| 614 | { |
no test coverage detected