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:
Kate::Command

List of all members.

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 75 of file katecmds.h.


Member Function Documentation

QStringList KateCommands::SedReplace::cmds (  )  [inline, virtual]

supported commands as prefixes

Returns:
prefix list

Implements Kate::Command.

Definition at line 93 of file katecmds.h.

bool KateCommands::SedReplace::exec ( class Kate::View view,
const QString cmd,
QString errorMsg 
) [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 471 of file katecmds.cpp.

bool KateCommands::SedReplace::help ( class Kate::View view,
const QString cmd,
QString msg 
) [inline, virtual]

Shows help for the given view and cmd string, return a bool about success, msg for status.

Implements Kate::Command.

Definition at line 87 of file katecmds.h.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys