KateCommands::SedReplace Class Reference
-- Charles Samuels <charles@kde.org> Support vim/sed find and replace s/search/replace/ find search, replace with replace on this line s/search/replace/ do the same to the whole file s/search/replace/i do the S. More...
#include <katecmds.h>
Inheritance diagram for KateCommands::SedReplace:


Public Member Functions | |
bool | exec (class Kate::View *view, const QString &cmd, QString &errorMsg) |
bool | help (class Kate::View *, const QString &, QString &) |
QStringList | cmds () |
Detailed Description
-- Charles Samuels <charles@kde.org> Support vim/sed find and replace s/search/replace/ find search, replace with replace on this line s/search/replace/ do the same to the whole file s/search/replace/i do the S.and R., but case insensitively $s/search/replace/ do the search are replacement to the selection only
$s/// is currently unsupported
Definition at line 62 of file katecmds.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 330 of file katecmds.cpp. References QRegExp::cap(), endl(), KStdAccel::find(), kdDebug(), QString::length(), KStdAccel::replace(), and QRegExp::search(). |
|
Shows help for the given view and cmd string, return a bool about success, msg for status.
Implements Kate::Command. Definition at line 67 of file katecmds.h. |
|
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 69 of file katecmds.h. |
The documentation for this class was generated from the following files: