MCPcopy Create free account
hub / github.com/KDE/kate / highlightingForLine

Method highlightingForLine

apps/lib/diff/diffeditor.cpp:431–437  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

429}
430
431const LineHighlight *DiffEditor::highlightingForLine(int line)
432{
433 auto it = std::find_if(m_data.cbegin(), m_data.cend(), [line](LineHighlight hl) {
434 return hl.line == line;
435 });
436 return it == m_data.cend() ? nullptr : &(*it);
437}
438
439void DiffEditor::setLineNumberData(std::vector<int> lineNosA, std::vector<int> lineNosB, int maxLineNum)
440{

Callers 1

drawLineNumberMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected