KateViReplaceMode Class Reference
Commands for the vi replace mode. More...
#include <katevireplacemode.h>

Public Member Functions | |
| KateViReplaceMode (KateViInputModeManager *viInputModeManager, KateView *view, KateViewInternal *viewInternal) | |
| ~KateViReplaceMode () | |
| void | addMapping (const QString &from, const QString &to) |
| void | backspace () |
| bool | commandInsertFromLine (int offset) |
| bool | commandMoveOneWordLeft () |
| bool | commandMoveOneWordRight () |
| const QString | getMapping (const QString &from) const |
| const QStringList | getMappings () const |
| bool | handleKeypress (const QKeyEvent *e) |
| void | overwrittenChar (const QChar &s) |
Detailed Description
Commands for the vi replace mode.
Definition at line 35 of file katevireplacemode.h.
Constructor & Destructor Documentation
| KateViReplaceMode::KateViReplaceMode | ( | KateViInputModeManager * | viInputModeManager, |
| KateView * | view, | ||
| KateViewInternal * | viewInternal | ||
| ) |
Definition at line 27 of file katevireplacemode.cpp.
| KateViReplaceMode::~KateViReplaceMode | ( | ) |
Definition at line 35 of file katevireplacemode.cpp.
Member Function Documentation
Implements KateViModeBase.
Definition at line 52 of file katevireplacemode.h.
| void KateViReplaceMode::backspace | ( | ) |
Definition at line 157 of file katevireplacemode.cpp.
| bool KateViReplaceMode::commandInsertFromLine | ( | int | offset | ) |
Definition at line 39 of file katevireplacemode.cpp.
| bool KateViReplaceMode::commandMoveOneWordLeft | ( | ) |
Definition at line 65 of file katevireplacemode.cpp.
| bool KateViReplaceMode::commandMoveOneWordRight | ( | ) |
Definition at line 74 of file katevireplacemode.cpp.
Implements KateViModeBase.
Definition at line 53 of file katevireplacemode.h.
| const QStringList KateViReplaceMode::getMappings | ( | ) | const [inline, virtual] |
Implements KateViModeBase.
Definition at line 54 of file katevireplacemode.h.
| bool KateViReplaceMode::handleKeypress | ( | const QKeyEvent * | e | ) |
checks if the key is a valid command
- Returns:
- true if a command was completed and executed, false otherwise
Definition at line 87 of file katevireplacemode.cpp.
| void KateViReplaceMode::overwrittenChar | ( | const QChar & | s | ) | [inline] |
Definition at line 48 of file katevireplacemode.h.
The documentation for this class was generated from the following files:
KDE 4.6 API Reference