minor cleanups
This commit is contained in:
parent
0ca66e3bf9
commit
4dc333c8b3
|
@ -41,7 +41,6 @@ public:
|
||||||
typedef std::function<SelectionAndCaptures (const Selection&)> Selector;
|
typedef std::function<SelectionAndCaptures (const Selection&)> Selector;
|
||||||
typedef std::function<SelectionAndCapturesList (const Selection&)> MultiSelector;
|
typedef std::function<SelectionAndCapturesList (const Selection&)> MultiSelector;
|
||||||
|
|
||||||
|
|
||||||
Editor(Buffer& buffer);
|
Editor(Buffer& buffer);
|
||||||
virtual ~Editor() {}
|
virtual ~Editor() {}
|
||||||
|
|
||||||
|
|
|
@ -74,7 +74,6 @@ struct RegexFilter
|
||||||
if (boost::regex_match(content.c_str(), m_insert_match) and
|
if (boost::regex_match(content.c_str(), m_insert_match) and
|
||||||
boost::regex_match(line_begin, position, results, m_line_match))
|
boost::regex_match(line_begin, position, results, m_line_match))
|
||||||
{
|
{
|
||||||
String suffix;
|
|
||||||
content = results.format(m_replacement.c_str());
|
content = results.format(m_replacement.c_str());
|
||||||
auto it = std::find(content.begin(), content.end(), '$');
|
auto it = std::find(content.begin(), content.end(), '$');
|
||||||
if (it != content.end())
|
if (it != content.end())
|
||||||
|
|
Loading…
Reference in New Issue
Block a user