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

Method lineNumber

plugins/grepview/grepoutputmodel.cpp:55–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55int GrepOutputItem::lineNumber() const
56{
57 // line starts at 0 for cursor but we want to start at 1
58 return m_change->m_range.start().line() + 1;
59}
60
61QString GrepOutputItem::filename() const
62{

Callers 5

testAnnotationMethod · 0.45
testAnnotationMethod · 0.45
paintMethod · 0.45
sizeHintMethod · 0.45
activateMethod · 0.45

Calls 2

lineMethod · 0.45
startMethod · 0.45

Tested by 2

testAnnotationMethod · 0.36
testAnnotationMethod · 0.36