KateViInsertMode Class Reference
Commands for the vi insert mode. More...
#include <kateviinsertmode.h>

Public Member Functions | |
| KateViInsertMode (KateViInputModeManager *viInputModeManager, KateView *view, KateViewInternal *viewInternal) | |
| ~KateViInsertMode () | |
| void | addMapping (const QString &from, const QString &to) |
| bool | commandCompleteNext () |
| bool | commandCompletePrevious () |
| bool | commandDeleteWord () |
| bool | commandIndent () |
| bool | commandInsertFromAbove () |
| bool | commandInsertFromBelow () |
| bool | commandMoveOneWordLeft () |
| bool | commandMoveOneWordRight () |
| bool | commandToFirstCharacterInFile () |
| bool | commandToLastCharacterInFile () |
| bool | commandUnindent () |
| const QString | getMapping (const QString &from) const |
| const QStringList | getMappings () const |
| bool | handleKeypress (const QKeyEvent *e) |
Detailed Description
Commands for the vi insert mode.
Definition at line 35 of file kateviinsertmode.h.
Constructor & Destructor Documentation
| KateViInsertMode::KateViInsertMode | ( | KateViInputModeManager * | viInputModeManager, |
| KateView * | view, | ||
| KateViewInternal * | viewInternal | ||
| ) |
Definition at line 30 of file kateviinsertmode.cpp.
| KateViInsertMode::~KateViInsertMode | ( | ) |
Definition at line 38 of file kateviinsertmode.cpp.
Member Function Documentation
Implements KateViModeBase.
Definition at line 61 of file kateviinsertmode.h.
| bool KateViInsertMode::commandCompleteNext | ( | ) |
Definition at line 157 of file kateviinsertmode.cpp.
| bool KateViInsertMode::commandCompletePrevious | ( | ) |
Definition at line 167 of file kateviinsertmode.cpp.
| bool KateViInsertMode::commandDeleteWord | ( | ) |
Definition at line 81 of file kateviinsertmode.cpp.
| bool KateViInsertMode::commandIndent | ( | ) |
Definition at line 102 of file kateviinsertmode.cpp.
| bool KateViInsertMode::commandInsertFromAbove | ( | ) |
Definition at line 43 of file kateviinsertmode.cpp.
| bool KateViInsertMode::commandInsertFromBelow | ( | ) |
Definition at line 62 of file kateviinsertmode.cpp.
| bool KateViInsertMode::commandMoveOneWordLeft | ( | ) |
Definition at line 139 of file kateviinsertmode.cpp.
| bool KateViInsertMode::commandMoveOneWordRight | ( | ) |
Definition at line 148 of file kateviinsertmode.cpp.
| bool KateViInsertMode::commandToFirstCharacterInFile | ( | ) |
Definition at line 114 of file kateviinsertmode.cpp.
| bool KateViInsertMode::commandToLastCharacterInFile | ( | ) |
Definition at line 126 of file kateviinsertmode.cpp.
| bool KateViInsertMode::commandUnindent | ( | ) |
Definition at line 108 of file kateviinsertmode.cpp.
Implements KateViModeBase.
Definition at line 62 of file kateviinsertmode.h.
| const QStringList KateViInsertMode::getMappings | ( | ) | const [inline, virtual] |
Implements KateViModeBase.
Definition at line 63 of file kateviinsertmode.h.
| bool KateViInsertMode::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 182 of file kateviinsertmode.cpp.
The documentation for this class was generated from the following files:
KDE 4.6 API Reference