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 694f9781 authored by Laurent Montel's avatar Laurent Montel 😁

Add more debug

parent 7f62b5f4
......@@ -178,6 +178,7 @@ bool TextEditFindBarBase::searchText(bool backward, bool isAutoSearch)
bool found = false;
if (mFindWidget->isRegularExpression()) {
qDebug() << " mLastSearchRegExp"<<mLastSearchRegExp;
found = searchInDocument(mLastSearchRegExp, searchOptions);
} else {
found = searchInDocument(mLastSearchStr, searchOptions);
......@@ -202,6 +203,7 @@ void TextEditFindBarBase::slotUpdateSearchOptions()
const QTextDocument::FindFlags searchOptions = mFindWidget->searchOptions();
mLastSearchStr = mFindWidget->search()->text();
mLastSearchRegExp = mFindWidget->searchRegExp();
qDebug() << " mLastSearchRegExp"<<mLastSearchRegExp;
if (mFindWidget->isRegularExpression()) {
searchInDocument(mLastSearchRegExp, searchOptions);
} else {
......
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