Skip to content
Snippets Groups Projects
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
No related merge requests found
......@@ -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)) {
setFocus();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment