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

Function normalizeCursor

plugins/switchtobuddy/switchtobuddyplugin.cpp:36–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34namespace {
35
36KTextEditor::Cursor normalizeCursor(KTextEditor::Cursor c)
37{
38 c.setColumn(0);
39 return c;
40}
41
42///Tries to find a definition for the declaration at given cursor-position and document-url. DUChain must be locked.
43Declaration* definitionForCursorDeclaration(const KTextEditor::Cursor& cursor, const QUrl& url)

Callers 1

Calls 1

setColumnMethod · 0.80

Tested by

no test coverage detected