@warning Using this is wrong in most cases! If you want to transform this range to the current revision, you should do a proper mapping instead through @ref KDevelop::DUChainBase or @ref KDevelop::RevisionReference or @ref KDevelop::DocumentChangeTracker
| 111 | /// mapping instead through @ref KDevelop::DUChainBase or @ref KDevelop::RevisionReference |
| 112 | /// or @ref KDevelop::DocumentChangeTracker |
| 113 | static RangeInRevision castFromSimpleRange(const KTextEditor::Range& range) |
| 114 | { |
| 115 | return RangeInRevision(range.start().line(), range.start().column(), range.end().line(), range.end().column()); |
| 116 | } |
| 117 | ///qDebug() stream operator. Writes this range to the debug output in a nicely formatted way. |
| 118 | inline friend QDebug operator<<(QDebug s, const RangeInRevision& range) |
| 119 | { |
no test coverage detected