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

Method removeEOLAnnotation

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

Source from the content-addressed store, hash-verified

505}
506
507void TextEditor::removeEOLAnnotation(const QString &title)
508{
509 if (!d->eOLAnnotationRecords.contains(title))
510 return;
511
512 auto lineList = d->eOLAnnotationRecords.values(title);
513 d->eOLAnnotationRecords.remove(title);
514
515 for (int line : lineList)
516 clearEOLAnnotations(line);
517}
518
519void TextEditor::commentOperation()
520{

Callers 2

clearEOLAnnotationMethod · 0.80
clearAllEOLAnnotationMethod · 0.80

Calls 3

valuesMethod · 0.80
containsMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected