Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 3e84ece5 authored by Laurent Montel's avatar Laurent Montel 😁

Add more debug

parent 255aedd1
......@@ -107,7 +107,11 @@ void GrammarResultTextEdit::slotReplaceWord(const MessageComposer::PluginGrammar
cur.setPosition(position);
cur.setPosition(position + act.length(), QTextCursor::KeepAnchor);
QTextCharFormat format;
cur.insertText(replacementWord, format);
if (act.length() != replacementWord.length()) {
qDebug() << " We need to update act";
}
}
Q_EMIT replaceText(actWithReplacement);
......
Markdown is supported
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