From kde-commits Fri Jun 17 08:18:10 2016 From: Simon St James Date: Fri, 17 Jun 2016 08:18:10 +0000 To: kde-commits Subject: [ktexteditor] src/vimode: Debugging--. Message-Id: X-MARC-Message: https://marc.info/?l=kde-commits&m=146615208922757 Git commit 65f317f1ecad90c0a510fdea8c6f5c6b15255fc0 by Simon St James. Committed on 17/06/2016 at 08:14. Pushed by sstjames into branch 'master'. Debugging--. M +0 -6 src/vimode/emulatedcommandbar.cpp http://commits.kde.org/ktexteditor/65f317f1ecad90c0a510fdea8c6f5c6b15255fc0 diff --git a/src/vimode/emulatedcommandbar.cpp b/src/vimode/emulatedcommand= bar.cpp index 70b09c5..5ac856c 100644 --- a/src/vimode/emulatedcommandbar.cpp +++ b/src/vimode/emulatedcommandbar.cpp @@ -942,7 +942,6 @@ void EmulatedCommandBar::InteractiveSedReplaceMode::act= ivate(QSharedPointerkey() =3D=3D Qt::Ke= y_Y instead of keyEvent->text() =3D=3D "y", // but this would require some slightly dicey changes to the "feed key= press" code in order to make it work // with mappings and macros. @@ -961,24 +960,19 @@ bool EmulatedCommandBar::InteractiveSedReplaceMode::h= andleKeyPress(const QKeyEve moveCursorTo(cursorPosIfFinalMatch); finishInteractiveSedReplace(); } - qDebug() << "y/n"; return true; } else if (keyEvent->text() =3D=3D QLatin1String("l")) { m_interactiveSedReplacer->replaceCurrentMatch(); finishInteractiveSedReplace(); - qDebug() << "l"; return true; } else if (keyEvent->text() =3D=3D QLatin1String("q")) { finishInteractiveSedReplace(); - qDebug() << "q"; return true; } else if (keyEvent->text() =3D=3D QLatin1String("a")) { m_interactiveSedReplacer->replaceAllRemaining(); finishInteractiveSedReplace(); - qDebug() << "a"; return true; } - qDebug() << "Returning false"; return false; } =