actions: respect regular expression config when searching in text fields

This commit is contained in:
Andrzej Rybczak
2015-05-17 16:30:11 +02:00
parent 12db40849c
commit c68631b2f0
4 changed files with 8 additions and 8 deletions

View File

@@ -1812,7 +1812,7 @@ void Find::run()
Statusbar::print("Searching...");
auto s = static_cast<Screen<NC::Scrollpad> *>(myScreen);
s->main().removeProperties();
if (token.empty() || s->main().setProperties(NC::Format::Reverse, token, NC::Format::NoReverse))
if (token.empty() || s->main().setProperties(NC::Format::Reverse, token, NC::Format::NoReverse, Config.regex_type))
Statusbar::print("Done");
else
Statusbar::print("No matching patterns found");