Kate
katevicommandrangeexpressionparser.cpp
Go to the documentation of this file.
68 Range CommandRangeExpressionParser::parseRangeExpression(const QString& command, KateView* view, QString& destRangeExpression, QString& destTransformedCommand)
70 return rangeExpressionParser.parseRangeExpression(command, destRangeExpression, destTransformedCommand, view);
73 Range CommandRangeExpressionParser::parseRangeExpression(const QString& command, QString& destRangeExpression, QString& destTransformedCommand, KateView* view)
150 int match = view->doc()->searchText( Range( view->cursorPosition(), view->doc()->documentEnd() ),
QString cap(int nth) const
void push_back(const T &value)
const T & at(int i) const
int size() const
T & first()
QString & remove(int position, int n)
KateViInputModeManager * getViInputModeManager()
Definition: kateview.cpp:1587
int size() const
static KTextEditor::Range parseRangeExpression(const QString &command, KateView *view, QString &destRangeExpression, QString &destTransformedCommand)
Attempt to parse any leading range expression (e.g.
Definition: katevicommandrangeexpressionparser.cpp:68
void setPattern(const QString &pattern)
int matchedLength() const
int indexIn(const QString &str, int offset, CaretMode caretMode) const
QStringList capturedTexts() const
CommandRangeExpressionParser()
Definition: katevicommandrangeexpressionparser.cpp:37
int toInt(bool *ok, int base) const
bool isEmpty() const
bool isEmpty() const
KTextEditor::Cursor getMarkPosition(const QChar &mark) const
Definition: kateviinputmodemanager.cpp:781
virtual KTextEditor::Cursor documentEnd() const
Definition: katedocument.cpp:4681
Definition: kateview.h:77
virtual QVector< KTextEditor::Range > searchText(const KTextEditor::Range &range, const QString &pattern, const KTextEditor::Search::SearchOptions options)
Definition: katedocument.cpp:1387
QString & replace(int position, int n, QChar after)
const QChar at(int position) const
QString pattern() const
QStringList split(const QString &sep, const QString &str, bool allowEmptyEntries)
bool exactMatch(const QString &str) const
QString arg(qlonglong a, int fieldWidth, int base, const QChar &fillChar) const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:56:58 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:56:58 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.