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

Method backgroundMarkerDefine

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

Source from the content-addressed store, hash-verified

960}
961
962int TabWidget::backgroundMarkerDefine(const QString &fileName, const QColor &color, int defaultMarker)
963{
964 if (auto editor = d->findEditor(fileName))
965 return editor->backgroundMarkerDefine(color, defaultMarker);
966
967 return -1;
968}
969
970bool TabWidget::setRangeBackgroundColor(const QString &fileName, int startLine, int endLine, int marker)
971{

Callers 2

slotSelectedChangedMethod · 0.45

Calls 1

findEditorMethod · 0.80

Tested by

no test coverage detected