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

Function castToSimpleCursor

kdevplatform/language/editor/cursorinrevision.h:90–93  ·  view source on GitHub ↗

@warning Using this is wrong in most cases! If you want to transform this cursor to the current revision, you should do a proper mapping instead through @ref KDevelop::DUChainBase or @ref KDevelop::RevisionReference or @ref KDevelop::DocumentChangeTracker

Source from the content-addressed store, hash-verified

88 /// mapping instead through @ref KDevelop::DUChainBase or @ref KDevelop::RevisionReference
89 /// or @ref KDevelop::DocumentChangeTracker
90 KTextEditor::Cursor castToSimpleCursor() const
91 {
92 return KTextEditor::Cursor(line, column);
93 }
94
95 /// @warning Using this is wrong in most cases! If you want
96 /// to transform this cursor to the current revision, you should do a proper

Callers

nothing calls this directly

Calls 1

CursorClass · 0.50

Tested by

no test coverage detected