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 c06d6ac4a2
commit aa8c47d578
4 changed files with 9 additions and 9 deletions

View File

@@ -21,7 +21,6 @@
#ifndef NCMPCPP_SCROLLPAD_H
#define NCMPCPP_SCROLLPAD_H
#include <boost/regex.hpp>
#include "window.h"
#include "strbuffer.h"
@@ -47,8 +46,8 @@ struct Scrollpad: public Window
void flush();
void reset();
bool setProperties(Color begin, const std::string &s, Color end, size_t id = -2, boost::regex::flag_type flags = boost::regex::icase);
bool setProperties(Format begin, const std::string &s, Format end, size_t id = -2, boost::regex::flag_type flags = boost::regex::icase);
bool setProperties(Color begin, const std::string &s, Color end, size_t flags, size_t id = -2);
bool setProperties(Format begin, const std::string &s, Format end, size_t flags, size_t id = -2);
void removeProperties(size_t id = -2);
template <typename ItemT>