KateCommands::CoreCommands Class Reference
This Kate::Command provides access to a lot of the core functionality of kate part, settings, utilities, navigation etc. More...
#include <katecmds.h>
Inheritance diagram for KateCommands::CoreCommands:


Public Member Functions | |
bool | exec (class Kate::View *view, const QString &cmd, QString &errorMsg) |
bool | help (class Kate::View *, const QString &, QString &) |
QStringList | cmds () |
KCompletion * | completionObject (const QString &, Kate::View *) |
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
|
execute command
Implements Kate::Command. Definition at line 84 of file katecmds.cpp. References KateView::cleanIndent(), KateView::comment(), KateDocument::config(), KateView::doc(), KateView::gotoLineNumber(), KateDocument::hlModeName(), KateView::indent(), KateDocumentConfig::indentationWidth(), KateView::killLine(), QString::lower(), KateAutoIndent::modeNumber(), KateDocument::numLines(), QString::section(), KateView::setFoldingMarkersOn(), KateDocument::setHlMode(), KateView::setIconBorder(), KateDocumentConfig::setIndentationMode(), KateDocumentConfig::setIndentationWidth(), KateView::setLineNumbersOn(), KateView::setTabWidth(), KateDocument::setWordWrap(), KateDocument::setWordWrapAt(), QStringList::split(), KateView::tabWidth(), KateView::uncomment(), and KateView::unIndent(). |
|
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. |
|
supported commands as prefixes
Implements Kate::Command. Definition at line 68 of file katecmds.cpp. |
|
Reimplemented from Kate::CommandExtension. Definition at line 265 of file katecmds.cpp. References KateView::doc(), KateDocument::hlModeName(), and KCompletion::setItems(). |
The documentation for this class was generated from the following files: