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

Method end

plugins/clang/codegen/sourcemanipulation.cpp:165–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163}
164
165KTextEditor::Cursor SourceCodeInsertion::end() const
166{
167 auto ret = m_context->rangeInCurrentRevision().end();
168 if (m_codeRepresentation && m_codeRepresentation->lines() && dynamic_cast<TopDUContext*>(m_context.data())) {
169 ret.setLine(m_codeRepresentation->lines() - 1);
170 ret.setColumn(m_codeRepresentation->line(ret.line()).size());
171 }
172 return ret;
173}
174
175KTextEditor::Range SourceCodeInsertion::insertionRange(int line)
176{

Callers 12

addVariablesFunction · 0.45
insertionRangeMethod · 0.45
textChangedMethod · 0.45
executeMethod · 0.45
executeMethod · 0.45
findDeclarationFunction · 0.45
executeMethod · 0.45
computeCompletionsMethod · 0.45
shouldAbortCompletionMethod · 0.45

Calls 7

setColumnMethod · 0.80
linesMethod · 0.45
dataMethod · 0.45
setLineMethod · 0.45
sizeMethod · 0.45
lineMethod · 0.45

Tested by

no test coverage detected