Commit 57871f02 authored by Laurent Montel's avatar Laurent Montel 😁

Fix case sensitive support

parent 8be16c36
......@@ -175,6 +175,8 @@ QRegExp TextFindWidget::searchRegExp() const
{
QRegExp reg;
if (mCaseSensitiveAct->isChecked()) {
reg.setCaseSensitivity(Qt::CaseSensitive);
} else {
reg.setCaseSensitivity(Qt::CaseInsensitive);
}
//TODO QTextDocument::FindWholeWords ?
......
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