From 9055d50e76444133a313b865f34755fe00cdc476 Mon Sep 17 00:00:00 2001 From: Jordan Sherer Date: Wed, 25 Sep 2019 20:28:00 -0400 Subject: [PATCH] Fixed debug statements in spell checker --- jsc_checker.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/jsc_checker.cpp b/jsc_checker.cpp index a491471..e5a5a77 100644 --- a/jsc_checker.cpp +++ b/jsc_checker.cpp @@ -80,7 +80,7 @@ void JSCChecker::checkRange(QTextEdit* edit, int start, int end) // stop contentsChange signals from being emitted due to changed charFormats edit->document()->blockSignals(true); - qDebug() << "checking range " << start << " - " << end; + //qDebug() << "checking range " << start << " - " << end; QTextCharFormat errorFmt; errorFmt.setFontUnderline(true); @@ -122,7 +122,7 @@ void JSCChecker::checkRange(QTextEdit* edit, int start, int end) } } - qDebug() << "word" << word << "correct" << correct; + //qDebug() << "word" << word << "correct" << correct; } if(correct){ @@ -205,7 +205,7 @@ QMap candidates(QString word, bool includeTwoEdits){ QStringList JSCChecker::suggestions(QString word, int n, bool *pFound){ QStringList s; - qDebug() << "computing suggestions for word" << word; + // qDebug() << "computing suggestions for word" << word; QMap m; @@ -229,7 +229,7 @@ QStringList JSCChecker::suggestions(QString word, int n, bool *pFound){ if(i >= n){ break; } - qDebug() << "suggest" << m[key] << key; + //qDebug() << "suggest" << m[key] << key; s.append(m[key]); i++; }