KTextEditor
10#ifndef KATEVI_COMMAND_RANGE_EXPRESSION_PARSER
11#define KATEVI_COMMAND_RANGE_EXPRESSION_PARSER
13#include <ktexteditor/range.h>
17class InputModeManager;
19class CommandRangeExpressionParser
22 explicit CommandRangeExpressionParser(InputModeManager *vimanager);
33 KTextEditor::Range parseRange(
const QString &command, QString &destTransformedCommand)
const;
39 static QString parseRangeString(
const QString &command);
42 int calculatePosition(
const QString &
string)
const;
44 static bool matchLineNumber(
const QString &line, QList<int> &values);
45 bool matchLastLine(
const QString &line, QList<int> &values)
const;
46 bool matchThisLine(
const QString &line, QList<int> &values)
const;
47 bool matchMark(
const QString &line, QList<int> &values)
const;
48 bool matchForwardSearch(
const QString &line, QList<int> &values)
const;
49 bool matchBackwardSearch(
const QString &line, QList<int> &values)
const;
52 InputModeManager *m_viInputModeManager;
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:55:25 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.