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

Detailed Description
Commands for the vi normal mode.
Definition at line 50 of file katevinormalmode.h.
Constructor & Destructor Documentation
| KateViNormalMode::KateViNormalMode | ( | KateViInputModeManager * | viInputModeManager, |
| KateView * | view, | ||
| KateViewInternal * | viewInternal | ||
| ) |
Definition at line 44 of file katevinormalmode.cpp.
| KateViNormalMode::~KateViNormalMode | ( | ) | [virtual] |
Definition at line 71 of file katevinormalmode.cpp.
Member Function Documentation
| void KateViNormalMode::addCurrentPositionToJumpList | ( | ) |
Definition at line 438 of file katevinormalmode.cpp.
Implements KateViModeBase.
Definition at line 2433 of file katevinormalmode.cpp.
| bool KateViNormalMode::commandAbort | ( | ) |
Definition at line 1246 of file katevinormalmode.cpp.
| bool KateViNormalMode::commandAddToNumber | ( | ) |
Definition at line 1306 of file katevinormalmode.cpp.
| bool KateViNormalMode::commandAlignLine | ( | ) |
Definition at line 1283 of file katevinormalmode.cpp.
| bool KateViNormalMode::commandAlignLines | ( | ) |
Definition at line 1293 of file katevinormalmode.cpp.
| bool KateViNormalMode::commandCentreViewOnCursor | ( | ) |
Definition at line 1236 of file katevinormalmode.cpp.
| bool KateViNormalMode::commandChange | ( | ) |
Definition at line 857 of file katevinormalmode.cpp.
| bool KateViNormalMode::commandChangeCase | ( | ) |
Definition at line 705 of file katevinormalmode.cpp.
| bool KateViNormalMode::commandChangeLine | ( | ) |
Definition at line 897 of file katevinormalmode.cpp.
| bool KateViNormalMode::commandChangeToEOL | ( | ) |
Definition at line 889 of file katevinormalmode.cpp.
| bool KateViNormalMode::commandDelete | ( | ) |
Definition at line 598 of file katevinormalmode.cpp.
| bool KateViNormalMode::commandDeleteChar | ( | ) |
Definition at line 1064 of file katevinormalmode.cpp.
| bool KateViNormalMode::commandDeleteCharBackward | ( | ) |
Definition at line 1083 of file katevinormalmode.cpp.
| bool KateViNormalMode::commandDeleteLine | ( | ) |
Definition at line 566 of file katevinormalmode.cpp.
| bool KateViNormalMode::commandDeleteToEOL | ( | ) |
Definition at line 607 of file katevinormalmode.cpp.
| bool KateViNormalMode::commandEnterInsertMode | ( | ) |
enter insert mode at the cursor position
Definition at line 459 of file katevinormalmode.cpp.
| bool KateViNormalMode::commandEnterInsertModeAppend | ( | ) |
enter insert mode after the current character
Definition at line 469 of file katevinormalmode.cpp.
| bool KateViNormalMode::commandEnterInsertModeAppendEOL | ( | ) |
start insert mode after the last character of the line
Definition at line 494 of file katevinormalmode.cpp.
| bool KateViNormalMode::commandEnterInsertModeBeforeFirstNonBlankInLine | ( | ) |
Definition at line 504 of file katevinormalmode.cpp.
| bool KateViNormalMode::commandEnterReplaceMode | ( | ) |
Definition at line 561 of file katevinormalmode.cpp.
| bool KateViNormalMode::commandEnterVisualBlockMode | ( | ) |
Definition at line 529 of file katevinormalmode.cpp.
| bool KateViNormalMode::commandEnterVisualLineMode | ( | ) |
Definition at line 519 of file katevinormalmode.cpp.
| bool KateViNormalMode::commandEnterVisualMode | ( | ) |
Definition at line 539 of file katevinormalmode.cpp.
| bool KateViNormalMode::commandIndentLine | ( | ) |
Definition at line 1167 of file katevinormalmode.cpp.
| bool KateViNormalMode::commandIndentLines | ( | ) |
Definition at line 1189 of file katevinormalmode.cpp.
| bool KateViNormalMode::commandJoinLines | ( | ) |
Definition at line 827 of file katevinormalmode.cpp.
| bool KateViNormalMode::commandMakeLowercase | ( | ) |
Definition at line 647 of file katevinormalmode.cpp.
| bool KateViNormalMode::commandMakeLowercaseLine | ( | ) |
Definition at line 664 of file katevinormalmode.cpp.
| bool KateViNormalMode::commandMakeUppercase | ( | ) |
Definition at line 676 of file katevinormalmode.cpp.
| bool KateViNormalMode::commandMakeUppercaseLine | ( | ) |
Definition at line 693 of file katevinormalmode.cpp.
| bool KateViNormalMode::commandOpenNewLineOver | ( | ) |
Definition at line 793 of file katevinormalmode.cpp.
| bool KateViNormalMode::commandOpenNewLineUnder | ( | ) |
Definition at line 775 of file katevinormalmode.cpp.
| bool KateViNormalMode::commandPaste | ( | ) |
Definition at line 999 of file katevinormalmode.cpp.
| bool KateViNormalMode::commandPasteBefore | ( | ) |
Definition at line 1040 of file katevinormalmode.cpp.
| bool KateViNormalMode::commandPrintCharacterCode | ( | ) |
Definition at line 1252 of file katevinormalmode.cpp.
| bool KateViNormalMode::commandRedo | ( | ) |
Definition at line 1144 of file katevinormalmode.cpp.
| bool KateViNormalMode::commandRepeatLastChange | ( | ) |
Definition at line 1273 of file katevinormalmode.cpp.
| bool KateViNormalMode::commandReplaceCharacter | ( | ) |
Definition at line 1103 of file katevinormalmode.cpp.
| bool KateViNormalMode::commandScrollPageDown | ( | ) |
Definition at line 1222 of file katevinormalmode.cpp.
| bool KateViNormalMode::commandScrollPageUp | ( | ) |
Definition at line 1229 of file katevinormalmode.cpp.
| bool KateViNormalMode::commandSearch | ( | ) |
Definition at line 1132 of file katevinormalmode.cpp.
| bool KateViNormalMode::commandSetMark | ( | ) |
Definition at line 1150 of file katevinormalmode.cpp.
| bool KateViNormalMode::commandSubstituteChar | ( | ) |
Definition at line 926 of file katevinormalmode.cpp.
| bool KateViNormalMode::commandSubstituteLine | ( | ) |
Definition at line 935 of file katevinormalmode.cpp.
| bool KateViNormalMode::commandSubtractFromNumber | ( | ) |
Definition at line 1313 of file katevinormalmode.cpp.
| bool KateViNormalMode::commandSwitchToCmdLine | ( | ) |
Definition at line 1117 of file katevinormalmode.cpp.
| bool KateViNormalMode::commandToOtherEnd | ( | ) |
Definition at line 549 of file katevinormalmode.cpp.
| bool KateViNormalMode::commandUndo | ( | ) |
Definition at line 1138 of file katevinormalmode.cpp.
| bool KateViNormalMode::commandUnindentLine | ( | ) |
Definition at line 1178 of file katevinormalmode.cpp.
| bool KateViNormalMode::commandUnindentLines | ( | ) |
Definition at line 1206 of file katevinormalmode.cpp.
| bool KateViNormalMode::commandYank | ( | ) |
Definition at line 940 of file katevinormalmode.cpp.
| bool KateViNormalMode::commandYankLine | ( | ) |
Definition at line 958 of file katevinormalmode.cpp.
| bool KateViNormalMode::commandYankToEOL | ( | ) |
Definition at line 972 of file katevinormalmode.cpp.
| void KateViNormalMode::executeCommand | ( | const KateViCommand * | cmd | ) | [protected] |
Definition at line 408 of file katevinormalmode.cpp.
| QRegExp KateViNormalMode::generateMatchingItemRegex | ( | ) | [protected] |
Definition at line 2406 of file katevinormalmode.cpp.
Implements KateViModeBase.
Definition at line 2438 of file katevinormalmode.cpp.
| const QStringList KateViNormalMode::getMappings | ( | ) | const [virtual] |
Implements KateViModeBase.
Definition at line 2443 of file katevinormalmode.cpp.
| void KateViNormalMode::goToPos | ( | const KateViRange & | r | ) | [protected, virtual] |
Definition at line 391 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 93 of file katevinormalmode.cpp.
| void KateViNormalMode::initializeCommands | ( | ) | [protected] |
Definition at line 2288 of file katevinormalmode.cpp.
| void KateViNormalMode::mappingTimerTimeOut | ( | ) | [slot] |
Definition at line 80 of file katevinormalmode.cpp.
| KateViRange KateViNormalMode::motionDown | ( | ) |
Definition at line 1324 of file katevinormalmode.cpp.
| KateViRange KateViNormalMode::motionDownToFirstNonBlank | ( | ) |
Definition at line 1383 of file katevinormalmode.cpp.
| KateViRange KateViNormalMode::motionFindChar | ( | ) |
Definition at line 1626 of file katevinormalmode.cpp.
| KateViRange KateViNormalMode::motionFindCharBackward | ( | ) |
Definition at line 1652 of file katevinormalmode.cpp.
| KateViRange KateViNormalMode::motionFindNext | ( | ) |
Definition at line 1799 of file katevinormalmode.cpp.
| KateViRange KateViNormalMode::motionFindPrev | ( | ) |
Definition at line 1791 of file katevinormalmode.cpp.
| KateViRange KateViNormalMode::motionLeft | ( | ) |
Definition at line 1335 of file katevinormalmode.cpp.
| KateViRange KateViNormalMode::motionPageDown | ( | ) |
Definition at line 1355 of file katevinormalmode.cpp.
| KateViRange KateViNormalMode::motionPageUp | ( | ) |
Definition at line 1369 of file katevinormalmode.cpp.
| KateViRange KateViNormalMode::motionRepeatlastTF | ( | ) |
Definition at line 1738 of file katevinormalmode.cpp.
| KateViRange KateViNormalMode::motionRepeatlastTFBackward | ( | ) |
Definition at line 1764 of file katevinormalmode.cpp.
| KateViRange KateViNormalMode::motionRight | ( | ) |
Definition at line 1345 of file katevinormalmode.cpp.
| KateViRange KateViNormalMode::motionToChar | ( | ) |
Definition at line 1683 of file katevinormalmode.cpp.
| KateViRange KateViNormalMode::motionToCharBackward | ( | ) |
Definition at line 1707 of file katevinormalmode.cpp.
| KateViRange KateViNormalMode::motionToColumn0 | ( | ) |
Definition at line 1604 of file katevinormalmode.cpp.
| KateViRange KateViNormalMode::motionToEndOfPrevWord | ( | ) |
Definition at line 1544 of file katevinormalmode.cpp.
| KateViRange KateViNormalMode::motionToEndOfPrevWORD | ( | ) |
Definition at line 1566 of file katevinormalmode.cpp.
| KateViRange KateViNormalMode::motionToEndOfWord | ( | ) |
Definition at line 1510 of file katevinormalmode.cpp.
| KateViRange KateViNormalMode::motionToEndOfWORD | ( | ) |
Definition at line 1527 of file katevinormalmode.cpp.
| KateViRange KateViNormalMode::motionToEOL | ( | ) |
Definition at line 1588 of file katevinormalmode.cpp.
| KateViRange KateViNormalMode::motionToFirstCharacterOfLine | ( | ) |
Definition at line 1613 of file katevinormalmode.cpp.
| KateViRange KateViNormalMode::motionToLineFirst | ( | ) |
Definition at line 1808 of file katevinormalmode.cpp.
| KateViRange KateViNormalMode::motionToLineLast | ( | ) |
Definition at line 1821 of file katevinormalmode.cpp.
| KateViRange KateViNormalMode::motionToMark | ( | ) |
Definition at line 1854 of file katevinormalmode.cpp.
| KateViRange KateViNormalMode::motionToMarkLine | ( | ) |
Definition at line 1881 of file katevinormalmode.cpp.
| KateViRange KateViNormalMode::motionToMatchingItem | ( | ) |
Definition at line 1893 of file katevinormalmode.cpp.
| KateViRange KateViNormalMode::motionToNextBraceBlockEnd | ( | ) |
Definition at line 2043 of file katevinormalmode.cpp.
| KateViRange KateViNormalMode::motionToNextBraceBlockStart | ( | ) |
Definition at line 2003 of file katevinormalmode.cpp.
| KateViRange KateViNormalMode::motionToNextOccurrence | ( | ) |
Definition at line 2083 of file katevinormalmode.cpp.
| KateViRange KateViNormalMode::motionToPreviousBraceBlockEnd | ( | ) |
Definition at line 2063 of file katevinormalmode.cpp.
| KateViRange KateViNormalMode::motionToPreviousBraceBlockStart | ( | ) |
Definition at line 2023 of file katevinormalmode.cpp.
| KateViRange KateViNormalMode::motionToPrevOccurrence | ( | ) |
Definition at line 2094 of file katevinormalmode.cpp.
| KateViRange KateViNormalMode::motionToScreenColumn | ( | ) |
Definition at line 1839 of file katevinormalmode.cpp.
| KateViRange KateViNormalMode::motionUp | ( | ) |
Definition at line 1330 of file katevinormalmode.cpp.
| KateViRange KateViNormalMode::motionUpToFirstNonBlank | ( | ) |
Definition at line 1397 of file katevinormalmode.cpp.
| KateViRange KateViNormalMode::motionWordBackward | ( | ) |
Definition at line 1444 of file katevinormalmode.cpp.
| KateViRange KateViNormalMode::motionWORDBackward | ( | ) |
Definition at line 1488 of file katevinormalmode.cpp.
| KateViRange KateViNormalMode::motionWORDForward | ( | ) |
Definition at line 1466 of file katevinormalmode.cpp.
| KateViRange KateViNormalMode::motionWordForward | ( | ) |
Definition at line 1411 of file katevinormalmode.cpp.
| void KateViNormalMode::reset | ( | ) | [protected, virtual] |
Definition at line 384 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 368 of file katevinormalmode.cpp.
| KateViRange KateViNormalMode::textObjectABracket | ( | ) |
Definition at line 2246 of file katevinormalmode.cpp.
| KateViRange KateViNormalMode::textObjectAComma | ( | ) |
Definition at line 2256 of file katevinormalmode.cpp.
| KateViRange KateViNormalMode::textObjectAParen | ( | ) |
Definition at line 2236 of file katevinormalmode.cpp.
| KateViRange KateViNormalMode::textObjectAQuoteDouble | ( | ) |
Definition at line 2216 of file katevinormalmode.cpp.
| KateViRange KateViNormalMode::textObjectAQuoteSingle | ( | ) |
Definition at line 2226 of file katevinormalmode.cpp.
| KateViRange KateViNormalMode::textObjectAWord | ( | ) |
Definition at line 2110 of file katevinormalmode.cpp.
| KateViRange KateViNormalMode::textObjectAWORD | ( | ) |
Definition at line 2164 of file katevinormalmode.cpp.
| KateViRange KateViNormalMode::textObjectInnerBracket | ( | ) |
Definition at line 2251 of file katevinormalmode.cpp.
| KateViRange KateViNormalMode::textObjectInnerComma | ( | ) |
Definition at line 2271 of file katevinormalmode.cpp.
| KateViRange KateViNormalMode::textObjectInnerParen | ( | ) |
Definition at line 2241 of file katevinormalmode.cpp.
| KateViRange KateViNormalMode::textObjectInnerQuoteDouble | ( | ) |
Definition at line 2221 of file katevinormalmode.cpp.
| KateViRange KateViNormalMode::textObjectInnerQuoteSingle | ( | ) |
Definition at line 2231 of file katevinormalmode.cpp.
| KateViRange KateViNormalMode::textObjectInnerWord | ( | ) |
Definition at line 2137 of file katevinormalmode.cpp.
| KateViRange KateViNormalMode::textObjectInnerWORD | ( | ) |
Definition at line 2190 of file katevinormalmode.cpp.
Member Data Documentation
QStack<int> KateViNormalMode::m_awaitingMotionOrTextObject [protected] |
Definition at line 235 of file katevinormalmode.h.
QVector<KateViCommand *> KateViNormalMode::m_commands [protected] |
Definition at line 231 of file katevinormalmode.h.
unsigned int KateViNormalMode::m_countTemp [protected] |
Definition at line 228 of file katevinormalmode.h.
QChar KateViNormalMode::m_defaultRegister [protected] |
Definition at line 242 of file katevinormalmode.h.
bool KateViNormalMode::m_findWaitingForChar [protected] |
Definition at line 229 of file katevinormalmode.h.
bool KateViNormalMode::m_ignoreMapping [protected] |
Definition at line 255 of file katevinormalmode.h.
KateViKeyParser* KateViNormalMode::m_keyParser [protected] |
Definition at line 258 of file katevinormalmode.h.
QString KateViNormalMode::m_keys [protected] |
Definition at line 227 of file katevinormalmode.h.
QString KateViNormalMode::m_lastTFcommand [protected] |
Definition at line 239 of file katevinormalmode.h.
bool KateViNormalMode::m_mappingKeyPress [protected] |
Definition at line 253 of file katevinormalmode.h.
QString KateViNormalMode::m_mappingKeys [protected] |
Definition at line 256 of file katevinormalmode.h.
QMap<QChar, KTextEditor::MovingCursor*> KateViNormalMode::m_marks [protected] |
Definition at line 246 of file katevinormalmode.h.
QVector<int> KateViNormalMode::m_matchingCommands [protected] |
Definition at line 233 of file katevinormalmode.h.
QHash<QString, QString> KateViNormalMode::m_matchingItems [protected] |
Definition at line 249 of file katevinormalmode.h.
QVector<int> KateViNormalMode::m_matchingMotions [protected] |
Definition at line 234 of file katevinormalmode.h.
QRegExp KateViNormalMode::m_matchItemRegex [protected] |
Definition at line 250 of file katevinormalmode.h.
int KateViNormalMode::m_motionOperatorIndex [protected] |
Definition at line 237 of file katevinormalmode.h.
QVector<KateViMotion *> KateViNormalMode::m_motions [protected] |
Definition at line 232 of file katevinormalmode.h.
QString KateViNormalMode::m_registerTemp [protected] |
Definition at line 243 of file katevinormalmode.h.
The documentation for this class was generated from the following files:
KDE 4.6 API Reference