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

Method reloadFile

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

Source from the content-addressed store, hash-verified

674}
675
676void TabWidget::reloadFile(const QString &fileName)
677{
678 if (auto editor = d->findEditor(fileName))
679 editor->reload();
680}
681
682void TabWidget::setFileModified(const QString &fileName, bool isModified)
683{

Callers

nothing calls this directly

Calls 2

findEditorMethod · 0.80
reloadMethod · 0.45

Tested by

no test coverage detected