Kate
KateViNormalMode Class Reference
Commands for the vi normal mode. More...
#include <katevinormalmode.h>

Detailed Description
Commands for the vi normal mode.Definition at line 45 of file katevinormalmode.h.
Constructor & Destructor Documentation
KateViNormalMode::KateViNormalMode | ( | KateViInputModeManager * | viInputModeManager, | |
KateView * | view, | |||
KateViewInternal * | viewInternal | |||
) |
Definition at line 30 of file katevinormalmode.cpp.
KateViNormalMode::~KateViNormalMode | ( | ) | [virtual] |
Definition at line 52 of file katevinormalmode.cpp.
Member Function Documentation
void KateViNormalMode::addCurrentPositionToJumpList | ( | ) |
Definition at line 374 of file katevinormalmode.cpp.
bool KateViNormalMode::commandAbort | ( | ) |
Definition at line 1302 of file katevinormalmode.cpp.
bool KateViNormalMode::commandAlignLine | ( | ) |
Definition at line 1336 of file katevinormalmode.cpp.
bool KateViNormalMode::commandAlignLines | ( | ) |
Definition at line 1346 of file katevinormalmode.cpp.
bool KateViNormalMode::commandChange | ( | ) |
Definition at line 952 of file katevinormalmode.cpp.
bool KateViNormalMode::commandChangeCase | ( | ) |
Definition at line 810 of file katevinormalmode.cpp.
bool KateViNormalMode::commandChangeLine | ( | ) |
Definition at line 983 of file katevinormalmode.cpp.
bool KateViNormalMode::commandChangeToEOL | ( | ) |
Definition at line 975 of file katevinormalmode.cpp.
bool KateViNormalMode::commandDelete | ( | ) |
Definition at line 665 of file katevinormalmode.cpp.
bool KateViNormalMode::commandDeleteChar | ( | ) |
Definition at line 1127 of file katevinormalmode.cpp.
bool KateViNormalMode::commandDeleteCharBackward | ( | ) |
Definition at line 1146 of file katevinormalmode.cpp.
bool KateViNormalMode::commandDeleteLine | ( | ) |
Definition at line 634 of file katevinormalmode.cpp.
bool KateViNormalMode::commandDeleteToEOL | ( | ) |
Definition at line 674 of file katevinormalmode.cpp.
bool KateViNormalMode::commandEnterInsertMode | ( | ) |
bool KateViNormalMode::commandEnterInsertModeAppend | ( | ) |
bool KateViNormalMode::commandEnterInsertModeAppendEOL | ( | ) |
start insert mode after the last character of the line
Definition at line 419 of file katevinormalmode.cpp.
bool KateViNormalMode::commandEnterInsertModeBeforeFirstCharacterOfLine | ( | ) |
Definition at line 428 of file katevinormalmode.cpp.
bool KateViNormalMode::commandEnterVisualLineMode | ( | ) |
Definition at line 442 of file katevinormalmode.cpp.
bool KateViNormalMode::commandEnterVisualMode | ( | ) |
Definition at line 452 of file katevinormalmode.cpp.
bool KateViNormalMode::commandFindNext | ( | ) |
Definition at line 1223 of file katevinormalmode.cpp.
bool KateViNormalMode::commandFindPrev | ( | ) |
Definition at line 1216 of file katevinormalmode.cpp.
bool KateViNormalMode::commandIndentLine | ( | ) |
Definition at line 1230 of file katevinormalmode.cpp.
bool KateViNormalMode::commandIndentLines | ( | ) |
Definition at line 1252 of file katevinormalmode.cpp.
bool KateViNormalMode::commandJoinLines | ( | ) |
Definition at line 930 of file katevinormalmode.cpp.
bool KateViNormalMode::commandMakeLowercase | ( | ) |
Definition at line 714 of file katevinormalmode.cpp.
bool KateViNormalMode::commandMakeLowercaseLine | ( | ) |
Definition at line 750 of file katevinormalmode.cpp.
bool KateViNormalMode::commandMakeUppercase | ( | ) |
Definition at line 762 of file katevinormalmode.cpp.
bool KateViNormalMode::commandMakeUppercaseLine | ( | ) |
Definition at line 798 of file katevinormalmode.cpp.
bool KateViNormalMode::commandOpenNewLineOver | ( | ) |
Definition at line 897 of file katevinormalmode.cpp.
bool KateViNormalMode::commandOpenNewLineUnder | ( | ) |
Definition at line 880 of file katevinormalmode.cpp.
bool KateViNormalMode::commandPaste | ( | ) |
Definition at line 1061 of file katevinormalmode.cpp.
bool KateViNormalMode::commandPasteBefore | ( | ) |
Definition at line 1099 of file katevinormalmode.cpp.
bool KateViNormalMode::commandPrintCharacterCode | ( | ) |
Definition at line 1308 of file katevinormalmode.cpp.
bool KateViNormalMode::commandRedo | ( | ) |
Definition at line 1198 of file katevinormalmode.cpp.
bool KateViNormalMode::commandRepeatLastChange | ( | ) |
Definition at line 1328 of file katevinormalmode.cpp.
bool KateViNormalMode::commandReplaceCharacter | ( | ) |
Definition at line 1166 of file katevinormalmode.cpp.
bool KateViNormalMode::commandScrollPageDown | ( | ) |
Definition at line 1288 of file katevinormalmode.cpp.
bool KateViNormalMode::commandScrollPageUp | ( | ) |
Definition at line 1295 of file katevinormalmode.cpp.
bool KateViNormalMode::commandSearch | ( | ) |
Definition at line 1186 of file katevinormalmode.cpp.
bool KateViNormalMode::commandSetMark | ( | ) |
Definition at line 1204 of file katevinormalmode.cpp.
bool KateViNormalMode::commandSubstituteChar | ( | ) |
Definition at line 1009 of file katevinormalmode.cpp.
bool KateViNormalMode::commandSubstituteLine | ( | ) |
Definition at line 1018 of file katevinormalmode.cpp.
bool KateViNormalMode::commandSwitchToCmdLine | ( | ) |
Definition at line 1180 of file katevinormalmode.cpp.
bool KateViNormalMode::commandToOtherEnd | ( | ) |
Definition at line 462 of file katevinormalmode.cpp.
bool KateViNormalMode::commandUndo | ( | ) |
Definition at line 1192 of file katevinormalmode.cpp.
bool KateViNormalMode::commandUnindentLine | ( | ) |
Definition at line 1241 of file katevinormalmode.cpp.
bool KateViNormalMode::commandUnindentLines | ( | ) |
Definition at line 1270 of file katevinormalmode.cpp.
bool KateViNormalMode::commandYank | ( | ) |
Definition at line 1023 of file katevinormalmode.cpp.
bool KateViNormalMode::commandYankLine | ( | ) |
Definition at line 1040 of file katevinormalmode.cpp.
bool KateViNormalMode::commandYankToEOL | ( | ) |
Definition at line 1054 of file katevinormalmode.cpp.
void KateViNormalMode::executeCommand | ( | const KateViCommand * | cmd | ) | [protected] |
Definition at line 344 of file katevinormalmode.cpp.
QRegExp KateViNormalMode::generateMatchingItemRegex | ( | ) | [protected] |
Definition at line 2044 of file katevinormalmode.cpp.
void KateViNormalMode::goToPos | ( | const KateViRange & | r | ) | [protected, virtual] |
Definition at line 327 of file katevinormalmode.cpp.
bool KateViNormalMode::handleKeypress | ( | const QKeyEvent * | e | ) |
parses a key stroke to check if it's a valid (part of) a command
- Returns:
- true if a command was completed and executed, false otherwise
Definition at line 62 of file katevinormalmode.cpp.
void KateViNormalMode::initializeCommands | ( | ) | [protected] |
Definition at line 1939 of file katevinormalmode.cpp.
KateViRange KateViNormalMode::motionDown | ( | ) |
Definition at line 1363 of file katevinormalmode.cpp.
KateViRange KateViNormalMode::motionFindChar | ( | ) |
Definition at line 1425 of file katevinormalmode.cpp.
KateViRange KateViNormalMode::motionFindCharBackward | ( | ) |
Definition at line 1448 of file katevinormalmode.cpp.
KateViRange KateViNormalMode::motionLeft | ( | ) |
Definition at line 1374 of file katevinormalmode.cpp.
KateViRange KateViNormalMode::motionRight | ( | ) |
Definition at line 1384 of file katevinormalmode.cpp.
KateViRange KateViNormalMode::motionToChar | ( | ) |
Definition at line 1476 of file katevinormalmode.cpp.
KateViRange KateViNormalMode::motionToCharBackward | ( | ) |
Definition at line 1497 of file katevinormalmode.cpp.
KateViRange KateViNormalMode::motionToColumn0 | ( | ) |
Definition at line 1403 of file katevinormalmode.cpp.
KateViRange KateViNormalMode::motionToEndOfPrevWORD | ( | ) |
Definition at line 614 of file katevinormalmode.cpp.
KateViRange KateViNormalMode::motionToEndOfPrevWord | ( | ) |
Definition at line 594 of file katevinormalmode.cpp.
KateViRange KateViNormalMode::motionToEndOfWORD | ( | ) |
Definition at line 579 of file katevinormalmode.cpp.
KateViRange KateViNormalMode::motionToEndOfWord | ( | ) |
Definition at line 564 of file katevinormalmode.cpp.
KateViRange KateViNormalMode::motionToEOL | ( | ) |
Definition at line 1394 of file katevinormalmode.cpp.
KateViRange KateViNormalMode::motionToFirstCharacterOfLine | ( | ) |
Definition at line 1412 of file katevinormalmode.cpp.
KateViRange KateViNormalMode::motionToLineFirst | ( | ) |
Definition at line 1525 of file katevinormalmode.cpp.
KateViRange KateViNormalMode::motionToLineLast | ( | ) |
Definition at line 1538 of file katevinormalmode.cpp.
KateViRange KateViNormalMode::motionToMark | ( | ) |
Definition at line 1571 of file katevinormalmode.cpp.
KateViRange KateViNormalMode::motionToMarkLine | ( | ) |
Definition at line 1597 of file katevinormalmode.cpp.
KateViRange KateViNormalMode::motionToMatchingItem | ( | ) |
Definition at line 1607 of file katevinormalmode.cpp.
KateViRange KateViNormalMode::motionToNextBraceBlockEnd | ( | ) |
Definition at line 1751 of file katevinormalmode.cpp.
KateViRange KateViNormalMode::motionToNextBraceBlockStart | ( | ) |
Definition at line 1715 of file katevinormalmode.cpp.
KateViRange KateViNormalMode::motionToPreviousBraceBlockEnd | ( | ) |
Definition at line 1769 of file katevinormalmode.cpp.
KateViRange KateViNormalMode::motionToPreviousBraceBlockStart | ( | ) |
Definition at line 1733 of file katevinormalmode.cpp.
KateViRange KateViNormalMode::motionToScreenColumn | ( | ) |
Definition at line 1556 of file katevinormalmode.cpp.
KateViRange KateViNormalMode::motionUp | ( | ) |
Definition at line 1369 of file katevinormalmode.cpp.
KateViRange KateViNormalMode::motionWORDBackward | ( | ) |
Definition at line 544 of file katevinormalmode.cpp.
KateViRange KateViNormalMode::motionWordBackward | ( | ) |
Definition at line 504 of file katevinormalmode.cpp.
KateViRange KateViNormalMode::motionWORDForward | ( | ) |
Definition at line 524 of file katevinormalmode.cpp.
KateViRange KateViNormalMode::motionWordForward | ( | ) |
Definition at line 473 of file katevinormalmode.cpp.
void KateViNormalMode::reset | ( | ) | [protected, virtual] |
Definition at line 320 of file katevinormalmode.cpp.
void KateViNormalMode::resetParser | ( | ) | [protected] |
(re)set to start configuration.
This is done when a command is completed executed or when a command is aborted
Definition at line 303 of file katevinormalmode.cpp.
KateViRange KateViNormalMode::textObjectABracket | ( | ) |
Definition at line 1927 of file katevinormalmode.cpp.
KateViRange KateViNormalMode::textObjectAParen | ( | ) |
Definition at line 1917 of file katevinormalmode.cpp.
KateViRange KateViNormalMode::textObjectAQuoteDouble | ( | ) |
Definition at line 1897 of file katevinormalmode.cpp.
KateViRange KateViNormalMode::textObjectAQuoteSingle | ( | ) |
Definition at line 1907 of file katevinormalmode.cpp.
KateViRange KateViNormalMode::textObjectAWORD | ( | ) |
Definition at line 1845 of file katevinormalmode.cpp.
KateViRange KateViNormalMode::textObjectAWord | ( | ) |
Definition at line 1791 of file katevinormalmode.cpp.
KateViRange KateViNormalMode::textObjectInnerBracket | ( | ) |
Definition at line 1932 of file katevinormalmode.cpp.
KateViRange KateViNormalMode::textObjectInnerParen | ( | ) |
Definition at line 1922 of file katevinormalmode.cpp.
KateViRange KateViNormalMode::textObjectInnerQuoteDouble | ( | ) |
Definition at line 1902 of file katevinormalmode.cpp.
KateViRange KateViNormalMode::textObjectInnerQuoteSingle | ( | ) |
Definition at line 1912 of file katevinormalmode.cpp.
KateViRange KateViNormalMode::textObjectInnerWORD | ( | ) |
Definition at line 1871 of file katevinormalmode.cpp.
KateViRange KateViNormalMode::textObjectInnerWord | ( | ) |
Definition at line 1818 of file katevinormalmode.cpp.
Member Data Documentation
QStack<int> KateViNormalMode::m_awaitingMotionOrTextObject [protected] |
Definition at line 201 of file katevinormalmode.h.
QVector<KateViCommand *> KateViNormalMode::m_commands [protected] |
Definition at line 197 of file katevinormalmode.h.
unsigned int KateViNormalMode::m_countTemp [protected] |
Definition at line 193 of file katevinormalmode.h.
QChar KateViNormalMode::m_defaultRegister [protected] |
Definition at line 206 of file katevinormalmode.h.
bool KateViNormalMode::m_findWaitingForChar [protected] |
Definition at line 194 of file katevinormalmode.h.
KateViKeySequenceParser* KateViNormalMode::m_keyParser [protected] |
Definition at line 216 of file katevinormalmode.h.
QString KateViNormalMode::m_keys [protected] |
Definition at line 192 of file katevinormalmode.h.
QMap<QChar, KTextEditor::SmartCursor*>* KateViNormalMode::m_marks [protected] |
Definition at line 210 of file katevinormalmode.h.
QVector<int> KateViNormalMode::m_matchingCommands [protected] |
Definition at line 199 of file katevinormalmode.h.
QHash<QString, QString> KateViNormalMode::m_matchingItems [protected] |
Definition at line 213 of file katevinormalmode.h.
QVector<int> KateViNormalMode::m_matchingMotions [protected] |
Definition at line 200 of file katevinormalmode.h.
QRegExp KateViNormalMode::m_matchItemRegex [protected] |
Definition at line 214 of file katevinormalmode.h.
int KateViNormalMode::m_motionOperatorIndex [protected] |
Definition at line 203 of file katevinormalmode.h.
QVector<KateViMotion *> KateViNormalMode::m_motions [protected] |
Definition at line 198 of file katevinormalmode.h.
QString KateViNormalMode::m_registerTemp [protected] |
Definition at line 207 of file katevinormalmode.h.
int KateViNormalMode::m_waitingForMotionOrTextObject [protected] |
Definition at line 195 of file katevinormalmode.h.
The documentation for this class was generated from the following files: