SearchCommand Class Reference
Inheritance diagram for SearchCommand:

Public Member Functions | |
SearchCommand () | |
bool | exec (class Kate::View *view, const QString &cmd, QString &errorMsg) |
bool | help (class Kate::View *, const QString &, QString &) |
QStringList | cmds () |
bool | wantsToProcessText (const QString &) |
void | processText (Kate::View *, const QString &) |
Detailed Description
Definition at line 217 of file katesearch.h.
Member Function Documentation
|
Execute this command for the given view and cmd string, return a bool about success, msg for status.
Implements Kate::Command. Definition at line 716 of file katesearch.cpp. References QRegExp::cap(), QString::contains(), endl(), kdDebug(), QRegExp::search(), and QString::startsWith(). |
|
Shows help for the given view and cmd string, return a bool about success, msg for status.
Implements Kate::Command. Definition at line 822 of file katesearch.cpp. |
|
Pure text start part of the commands which can be handled by this object which means i.e. for s/sdl/sdf/g => s or for char:1212 => char Implements Kate::Command. Definition at line 861 of file katesearch.cpp. |
|
Reimplemented from Kate::CommandExtension. Definition at line 868 of file katesearch.cpp. |
|
This is called by the commandline each time the argument text for the command changes, if wantsToProcessText() returns true.
Reimplemented from Kate::CommandExtension. Definition at line 873 of file katesearch.cpp. References QRegExp::cap(), KateView::find(), KateView::getDoc(), QString::isEmpty(), QString::length(), QRegExp::search(), KateView::setCursorPositionInternal(), and QString::startsWith(). |
The documentation for this class was generated from the following files: