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

Method setRangeBackgroundColor

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

Source from the content-addressed store, hash-verified

968}
969
970bool TabWidget::setRangeBackgroundColor(const QString &fileName, int startLine, int endLine, int marker)
971{
972 if (auto editor = d->findEditor(fileName)) {
973 editor->setRangeBackgroundColor(startLine, endLine, marker);
974 return true;
975 }
976
977 return false;
978}
979
980Edit::Range TabWidget::getBackgroundRange(const QString &fileName, int marker, bool &found)
981{

Callers 5

slotSelectedChangedMethod · 0.45
handleRejectMethod · 0.45
processGeneratedDataMethod · 0.45
startMethod · 0.45
updateCacheInfoMethod · 0.45

Calls 1

findEditorMethod · 0.80

Tested by

no test coverage detected