MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / replaceAll

Method replaceAll

src/plugins/codeeditor/gui/tabwidget.cpp:600–605  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

598}
599
600void TabWidget::replaceAll(const QString &fileName, const QString &oldText,
601 const QString &newText, bool caseSensitive, bool wholeWords)
602{
603 if (auto editor = d->findEditor(fileName))
604 d->docFind->replaceAll(editor, oldText, newText, caseSensitive, wholeWords);
605}
606
607void TabWidget::replaceText(const QString &fileName, int line, int index, int length, const QString &after)
608{

Callers

nothing calls this directly

Calls 1

findEditorMethod · 0.80

Tested by

no test coverage detected