#include <katecmds.h>
Public Member Functions | |
bool | exec (class Kate::View *view, const TQString &cmd, TQString &errorMsg) |
bool | help (class Kate::View *, const TQString &, TQString &) |
TQStringList | cmds () |
TDECompletion * | completionObject (const TQString &cmd, Kate::View *view) |
Public Member Functions inherited from Kate::CommandExtension | |
virtual void | flagCompletions (TQStringList &) |
virtual bool | wantsToProcessText (const TQString &cmdname) |
virtual void | processText (Kate::View *view, const TQString &text) |
Detailed Description
This Kate::Command provides access to a lot of the core functionality of kate part, settings, utilities, navigation etc.
it needs to get a kateview pointer, it will cast the kate::view pointer hard to kateview
Definition at line 39 of file katecmds.h.
Member Function Documentation
◆ cmds()
|
virtual |
supported commands as prefixes
- Returns
- prefix list
Implements Kate::Command.
Definition at line 72 of file katecmds.cpp.
◆ completionObject()
|
virtual |
override completionObject from interfaces/document.h .
Reimplemented from Kate::CommandExtension.
Definition at line 282 of file katecmds.cpp.
◆ exec()
|
virtual |
execute command
- Parameters
-
view view to use for execution cmd cmd string errorMsg error to return if no success
- Returns
- success
Implements Kate::Command.
Definition at line 89 of file katecmds.cpp.
◆ help()
|
inlinevirtual |
Shows help for the given view and cmd string, return a bool about success, msg for status.
Implements Kate::Command.
Definition at line 51 of file katecmds.h.
The documentation for this class was generated from the following files: