[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [ktexteditor] src/vimode: Debugging--.
From:       Simon St James <kdedevel () etotheipiplusone ! com>
Date:       2016-06-17 8:18:10
Message-ID: E1bDoyg-0002ZN-BN () scm ! kde ! org
[Download RAW message or body]

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/emulatedcommandbar.cpp
index 70b09c5..5ac856c 100644
--- a/src/vimode/emulatedcommandbar.cpp
+++ b/src/vimode/emulatedcommandbar.cpp
@@ -942,7 +942,6 @@ void \
EmulatedCommandBar::InteractiveSedReplaceMode::activate(QSharedPointer<SedR  
 bool EmulatedCommandBar::InteractiveSedReplaceMode::handleKeyPress(const QKeyEvent* \
keyEvent)  {
-    qDebug() << "InteractiveSedReplaceMode::handleKeypress";
     // TODO - it would be better to use e.g. keyEvent->key() == Qt::Key_Y instead of \
                keyEvent->text() == "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::handleKeyPress(const QKeyEve  \
moveCursorTo(cursorPosIfFinalMatch);  finishInteractiveSedReplace();
         }
-        qDebug() << "y/n";
         return true;
     } else if (keyEvent->text() == QLatin1String("l")) {
         m_interactiveSedReplacer->replaceCurrentMatch();
         finishInteractiveSedReplace();
-        qDebug() << "l";
         return true;
     } else if (keyEvent->text() == QLatin1String("q")) {
         finishInteractiveSedReplace();
-        qDebug() << "q";
         return true;
     } else if (keyEvent->text() == QLatin1String("a")) {
         m_interactiveSedReplacer->replaceAllRemaining();
         finishInteractiveSedReplace();
-        qDebug() << "a";
         return true;
     }
-    qDebug() << "Returning false";
     return false;
 }
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic