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

Method allMarkers

src/plugins/codeeditor/gui/private/texteditor_p.cpp:533–543  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

531}
532
533QMap<int, int> TextEditorPrivate::allMarkers()
534{
535 QMap<int, int> markers;
536 for (int line = 0; line < q->lines(); ++line) {
537 int mask = static_cast<int>(q->markersAtLine(line));
538 if (mask != 0)
539 markers.insert(line, mask);
540 }
541
542 return markers;
543}
544
545void TextEditorPrivate::setMarkers(const QMap<int, int> &maskMap)
546{

Callers 1

reloadMethod · 0.80

Calls 3

linesMethod · 0.80
markersAtLineMethod · 0.80
insertMethod · 0.80

Tested by

no test coverage detected