| 317 | } |
| 318 | |
| 319 | QPair<QUrl, KTextEditor::Cursor> ClangSupport::specialLanguageObjectJumpCursor(const QUrl &url, const KTextEditor::Cursor& position) |
| 320 | { |
| 321 | const QPair<TopDUContextPointer, KTextEditor::Range> import = importedContextForPosition(url, position); |
| 322 | DUChainReadLocker lock; |
| 323 | if (import.first) { |
| 324 | return qMakePair(import.first->url().toUrl(), KTextEditor::Cursor(0,0)); |
| 325 | } |
| 326 | |
| 327 | return {{}, KTextEditor::Cursor::invalid()}; |
| 328 | } |
| 329 | |
| 330 | QPair<QWidget*, KTextEditor::Range> ClangSupport::specialLanguageObjectNavigationWidget(const QUrl& url, const KTextEditor::Cursor& position) |
| 331 | { |
no test coverage detected