Commit 8b806c4d authored by hjk's avatar hjk
Browse files

debugger: make ctrl-click to navigate between input and output pane (much) faster

parent 8ffc25bb
......@@ -309,6 +309,9 @@ public slots:
QString needle2 = QLatin1Char('>') + needle;
QTextCursor cursor(document());
do {
cursor = document()->find(needle, cursor);
if (cursor.isNull())
break; // Not found.
const QString line = cursor.block().text();
if (line.startsWith(needle) || line.startsWith(needle2)) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment