Kate
KateCommands::ViCommands Class Reference
This KTextEditor::Command provides vi 'ex' commands. More...
#include <katecmds.h>

Public Member Functions | |
const QStringList & | cmds () |
KCompletion * | completionObject (KTextEditor::View *, const QString &) |
bool | exec (class KTextEditor::View *view, const QString &cmd, QString &msg, const KTextEditor::Range &range=KTextEditor::Range(-1,-0,-1, 0)) |
bool | exec (class KTextEditor::View *view, const QString &cmd, QString &msg) |
virtual void | flagCompletions (QStringList &) |
bool | help (class KTextEditor::View *, const QString &, QString &) |
virtual void | processText (KTextEditor::View *, const QString &) |
bool | supportsRange (const QString &range) |
virtual bool | wantsToProcessText (const QString &) |
Detailed Description
This KTextEditor::Command provides vi 'ex' commands.
Definition at line 93 of file katecmds.h.
Member Function Documentation
const QStringList & KateCommands::ViCommands::cmds | ( | ) | [virtual] |
supported commands as prefixes
- Returns:
- prefix list
Implements KTextEditor::Command.
Definition at line 379 of file katecmds.cpp.
KCompletion * KateCommands::ViCommands::completionObject | ( | KTextEditor::View * | view, | |
const QString & | cmd | |||
) | [virtual] |
override completionObject from interfaces/document.h .
Implements KTextEditor::CommandExtension.
Definition at line 456 of file katecmds.cpp.
bool KateCommands::ViCommands::exec | ( | class KTextEditor::View * | view, | |
const QString & | cmd, | |||
QString & | msg, | |||
const KTextEditor::Range & | range = KTextEditor::Range(-1, -0, -1, 0) | |||
) | [virtual] |
execute command on given range
- Parameters:
-
view view to use for execution cmd cmd string msg message returned from running the command rangeStart first line in range rangeEnd last line in range
- Returns:
- success
Implements KTextEditor::RangeCommand.
Definition at line 396 of file katecmds.cpp.
bool KateCommands::ViCommands::exec | ( | class KTextEditor::View * | view, | |
const QString & | cmd, | |||
QString & | msg | |||
) | [virtual] |
execute command
- Parameters:
-
view view to use for execution cmd cmd string msg message returned from running the command
- Returns:
- success
Implements KTextEditor::Command.
Definition at line 389 of file katecmds.cpp.
virtual void KateCommands::ViCommands::flagCompletions | ( | QStringList & | ) | [inline, virtual] |
Implements KTextEditor::CommandExtension.
Definition at line 134 of file katecmds.h.
bool KateCommands::ViCommands::help | ( | class KTextEditor::View * | , | |
const QString & | , | |||
QString & | ||||
) | [inline, virtual] |
This command does not have help.
- See also:
- KTextEditor::Command::help
Implements KTextEditor::Command.
Definition at line 121 of file katecmds.h.
virtual void KateCommands::ViCommands::processText | ( | KTextEditor::View * | , | |
const QString & | ||||
) | [inline, virtual] |
Implements KTextEditor::CommandExtension.
Definition at line 136 of file katecmds.h.
Implements KTextEditor::RangeCommand.
Definition at line 450 of file katecmds.cpp.
Implements KTextEditor::CommandExtension.
Definition at line 135 of file katecmds.h.
The documentation for this class was generated from the following files: