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

Method addEOLAnnotation

src/plugins/codeeditor/gui/texteditor.cpp:500–505  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

498}
499
500void TextEditor::addEOLAnnotation(const QString &title, const QString &content, int line, int type)
501{
502 d->eOLAnnotationRecords.insertMulti(title, line);
503 auto style = d->createAnnotationStyle(type);
504 eOLAnnotate(line, content, style);
505}
506
507void TextEditor::removeEOLAnnotation(const QString &title)
508{

Callers 1

eOLAnnotateMethod · 0.80

Calls 1

createAnnotationStyleMethod · 0.80

Tested by

no test coverage detected