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

Method fileText

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

Source from the content-addressed store, hash-verified

587}
588
589QString 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
600void TabWidget::replaceAll(const QString &fileName, const QString &oldText,
601 const QString &newText, bool caseSensitive, bool wholeWords)

Callers 5

fixBugMethod · 0.45
parseFileFunction · 0.45
createPromptMethod · 0.45
buildSearchJobMethod · 0.45
readLineMethod · 0.45

Calls 2

findEditorMethod · 0.80
textMethod · 0.45

Tested by

no test coverage detected