summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-12-17 16:35:22 +0100
committerMontel Laurent <[email protected]>2017-12-17 16:35:22 +0100
commit694f97816642921895daf789154604ba9d34eb8f (patch)
tree1e1eff198e6ef7791265cc6a64bf7d3fa031b5c2
parent7f62b5f4a4171fe302cee68dd990814ebe61bb41 (diff)
Add more debug
-rw-r--r--src/texteditor/commonwidget/texteditfindbarbase.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/texteditor/commonwidget/texteditfindbarbase.cpp b/src/texteditor/commonwidget/texteditfindbarbase.cpp
index 8782f3a..5f5f2ea 100644
--- a/src/texteditor/commonwidget/texteditfindbarbase.cpp
+++ b/src/texteditor/commonwidget/texteditfindbarbase.cpp
@@ -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 {