Commit 341ffeb6 authored by Leandro Melo's avatar Leandro Melo
Browse files

Removing some trailing white spaces and a minor fix.

parent d66d188f
......@@ -53,7 +53,7 @@ public:
private:
virtual void doReplaceExpressions(const QStringList &captures) = 0;
bool m_active;
bool m_active;
};
void updateDynamicRules(const QList<QSharedPointer<Rule> > &rules, const QStringList &captures);
......
......@@ -214,8 +214,7 @@ bool Rule::matchEscapeSequence(const QString &text,
if (progress->offset() < length) {
const QChar &c = text.at(progress->offset());
if (c == kA || c == kB || c == kE || c == kF || c == kN || c == kR || c == kT ||
c == kV || c == kV || c == kQuestion || c == kSingleQuote || c == kQuote ||
c == kBackSlash) {
c == kV || c == kQuestion || c == kSingleQuote || c == kQuote || c == kBackSlash) {
progress->incrementOffset();
return true;
} else if (saveRestoreOffset) {
......
......@@ -67,7 +67,7 @@ public:
virtual ~Detect2CharsRule() {}
void setChar(const QString &character);
void setChar1(const QString &character);
void setChar1(const QString &character);
private:
virtual bool doMatchSucceed(const QString &text,
......
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