| 463 | } |
| 464 | |
| 465 | void CodeHighlightingInstance::highlightDeclaration(Declaration* declaration, const QColor& color) |
| 466 | { |
| 467 | HighlightedRange h; |
| 468 | h.range = declaration->range(); |
| 469 | h.attribute = m_highlighting->attributeForType(typeForDeclaration(declaration, nullptr), |
| 470 | CodeHighlightingContext::Declaration, color); |
| 471 | m_highlight.push_back(h); |
| 472 | } |
| 473 | |
| 474 | void CodeHighlightingInstance::highlightUse(DUContext* context, int index, const QColor& color) |
| 475 | { |
nothing calls this directly
no test coverage detected