| 615 | } |
| 616 | |
| 617 | void DebugController::showCurrentLine() |
| 618 | { |
| 619 | const auto location = qMakePair(m_currentSession->currentUrl(), m_currentSession->currentLine()); |
| 620 | |
| 621 | if (location.second != -1) { |
| 622 | const auto localLocation = m_currentSession->convertToLocalUrl(location); |
| 623 | ICore::self()->documentController()->openDocument(localLocation.first, |
| 624 | KTextEditor::Cursor(localLocation.second, 0), |
| 625 | IDocumentController::DefaultMode); |
| 626 | } |
| 627 | } |
| 628 | } |
| 629 | |
| 630 | #include "moc_debugcontroller.cpp" |
nothing calls this directly
no test coverage detected