Kate
#include <katecmds.h>
Inherits Command, CommandExtension, and RangeCommand.
Public Member Functions | |
~ViCommands () | |
const QStringList & | cmds () |
KCompletion * | completionObject (KTextEditor::View *, const QString &) |
bool | exec (class KTextEditor::View *view, const QString &cmd, QString &msg) |
bool | exec (class KTextEditor::View *view, const QString &cmd, QString &msg, const KTextEditor::Range &range=KTextEditor::Range(-1,-0,-1, 0)) |
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 &) |
Static Public Member Functions | |
static ViCommands * | self () |
Detailed Description
This KTextEditor::Command provides vi 'ex' commands.
Definition at line 110 of file katecmds.h.
Constructor & Destructor Documentation
|
inline |
Definition at line 117 of file katecmds.h.
Member Function Documentation
const QStringList & KateCommands::ViCommands::cmds | ( | ) |
KCompletion * KateCommands::ViCommands::completionObject | ( | KTextEditor::View * | view, |
const QString & | cmd | ||
) |
override completionObject from interfaces/document.h .
Definition at line 714 of file katecmds.cpp.
bool KateCommands::ViCommands::exec | ( | class KTextEditor::View * | view, |
const QString & | cmd, | ||
QString & | msg | ||
) |
execute command
- Parameters
-
view view to use for execution cmd cmd string msg message returned from running the command
- Returns
- success
Definition at line 561 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) |
||
) |
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
Definition at line 568 of file katecmds.cpp.
|
inlinevirtual |
Definition at line 156 of file katecmds.h.
|
inline |
This command does not have help.
- See also
- KTextEditor::Command::help
Definition at line 143 of file katecmds.h.
|
inlinevirtual |
Definition at line 158 of file katecmds.h.
|
inlinestatic |
Definition at line 160 of file katecmds.h.
bool KateCommands::ViCommands::supportsRange | ( | const QString & | range | ) |
Definition at line 703 of file katecmds.cpp.
|
inlinevirtual |
Definition at line 157 of file katecmds.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:57:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.