@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
| 97 | /// mapping instead through @ref KDevelop::DUChainBase or @ref KDevelop::RevisionReference |
| 98 | /// or @ref KDevelop::DocumentChangeTracker |
| 99 | static CursorInRevision castFromSimpleCursor(const KTextEditor::Cursor& cursor) |
| 100 | { |
| 101 | return CursorInRevision(cursor.line(), cursor.column()); |
| 102 | } |
| 103 | |
| 104 | /// qDebug() stream operator. Writes this cursor to the debug output in a nicely formatted way. |
| 105 | inline friend QDebug operator<<(QDebug s, const CursorInRevision& cursor) |
no test coverage detected