MCPcopy Create free account
hub / github.com/KDE/kdevelop / rangesConnect

Function rangesConnect

kdevplatform/language/assistant/renameassistant.cpp:34–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32
33namespace {
34bool rangesConnect(const KTextEditor::Range& firstRange, const KTextEditor::Range& secondRange)
35{
36 return !firstRange.intersect(secondRange + KTextEditor::Range(0, -1, 0, +1)).isEmpty();
37}
38
39Declaration* declarationForChangedRange(KTextEditor::Document* doc, const KTextEditor::Range& changed)
40{

Callers 2

textChangedMethod · 0.85

Calls 3

RangeClass · 0.70
isEmptyMethod · 0.45
intersectMethod · 0.45

Tested by

no test coverage detected