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

Method lineText

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

Source from the content-addressed store, hash-verified

814}
815
816QString TabWidget::lineText(const QString &fileName, int line)
817{
818 if (auto editor = d->findEditor(fileName))
819 return editor->text(line);
820
821 return "";
822}
823
824bool TabWidget::eOLAnnotate(const QString &fileName, const QString &title, const QString &contents, int line, int type)
825{

Callers

nothing calls this directly

Calls 2

findEditorMethod · 0.80
textMethod · 0.45

Tested by

no test coverage detected