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

Method annotate

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

Source from the content-addressed store, hash-verified

848}
849
850bool TabWidget::annotate(const QString &fileName, const QString &title, const QString &contents, int line, int type)
851{
852 if (auto editor = d->findEditor(fileName)) {
853 editor->addAnnotation(title, contents, line, type);
854 return true;
855 }
856
857 return false;
858}
859
860bool TabWidget::clearAnnotation(const QString &fileName, const QString &title)
861{

Callers 3

slotSelectedChangedMethod · 0.45

Calls 2

findEditorMethod · 0.80
addAnnotationMethod · 0.80

Tested by

no test coverage detected