Kate
#include <kateviglobal.h>
Public Types | |
enum | MappingMode { NormalModeMapping, VisualModeMapping, InsertModeMapping, CommandModeMapping } |
enum | MappingRecursion { Recursive, NonRecursive } |
Static Public Member Functions | |
static MappingMode | mappingModeForCurrentViMode (KateView *view) |
Detailed Description
Definition at line 46 of file kateviglobal.h.
Member Enumeration Documentation
Enumerator | |
---|---|
NormalModeMapping | |
VisualModeMapping | |
InsertModeMapping | |
CommandModeMapping |
Definition at line 61 of file kateviglobal.h.
Enumerator | |
---|---|
Recursive | |
NonRecursive |
Definition at line 60 of file kateviglobal.h.
Constructor & Destructor Documentation
KateViGlobal::KateViGlobal | ( | ) |
Definition at line 35 of file kateviglobal.cpp.
KateViGlobal::~KateViGlobal | ( | ) |
Definition at line 39 of file kateviglobal.cpp.
Member Function Documentation
void KateViGlobal::addMapping | ( | MappingMode | mode, |
const QString & | from, | ||
const QString & | to, | ||
KateViGlobal::MappingRecursion | recursion | ||
) |
Definition at line 171 of file kateviglobal.cpp.
void KateViGlobal::addToNumberedRegister | ( | const QString & | text, |
OperationMode | flag = CharWise |
||
) |
Definition at line 131 of file kateviglobal.cpp.
void KateViGlobal::appendCommandHistoryItem | ( | const QString & | commandHistoryItem | ) |
Definition at line 272 of file kateviglobal.cpp.
void KateViGlobal::appendReplaceHistoryItem | ( | const QString & | replaceHistoryItem | ) |
Definition at line 282 of file kateviglobal.cpp.
void KateViGlobal::appendSearchHistoryItem | ( | const QString & | searchHistoryItem | ) |
Definition at line 257 of file kateviglobal.cpp.
void KateViGlobal::clearAllMacros | ( | ) |
Definition at line 292 of file kateviglobal.cpp.
void KateViGlobal::clearCommandHistory | ( | ) |
Definition at line 267 of file kateviglobal.cpp.
void KateViGlobal::clearMacro | ( | QChar | macroRegister | ) |
Definition at line 297 of file kateviglobal.cpp.
void KateViGlobal::clearMappings | ( | MappingMode | mode | ) |
Definition at line 242 of file kateviglobal.cpp.
void KateViGlobal::clearReplaceHistory | ( | ) |
Definition at line 287 of file kateviglobal.cpp.
void KateViGlobal::clearSearchHistory | ( | ) |
Definition at line 247 of file kateviglobal.cpp.
QStringList KateViGlobal::commandHistory | ( | ) |
Definition at line 262 of file kateviglobal.cpp.
void KateViGlobal::fillRegister | ( | const QChar & | reg, |
const QString & | text, | ||
OperationMode | flag = CharWise |
||
) |
Definition at line 146 of file kateviglobal.cpp.
QString KateViGlobal::getMacro | ( | QChar | macroRegister | ) |
Get the named macro in a format suitable for passing to feedKeyPresses.
Definition at line 316 of file kateviglobal.cpp.
QList< KateViInputModeManager::Completion > KateViGlobal::getMacroCompletions | ( | QChar | macroRegister | ) |
Definition at line 321 of file kateviglobal.cpp.
const QString KateViGlobal::getMapping | ( | MappingMode | mode, |
const QString & | from, | ||
bool | decode = false |
||
) | const |
Definition at line 186 of file kateviglobal.cpp.
const QStringList KateViGlobal::getMappings | ( | MappingMode | mode, |
bool | decode = false |
||
) | const |
Definition at line 196 of file kateviglobal.cpp.
QString KateViGlobal::getRegisterContent | ( | const QChar & | reg | ) | const |
Definition at line 121 of file kateviglobal.cpp.
OperationMode KateViGlobal::getRegisterFlag | ( | const QChar & | reg | ) | const |
Definition at line 126 of file kateviglobal.cpp.
|
inline |
Definition at line 58 of file kateviglobal.h.
bool KateViGlobal::isMappingRecursive | ( | MappingMode | mode, |
const QString & | from | ||
) | const |
Definition at line 213 of file kateviglobal.cpp.
|
static |
Returns CommandModeMapping if the emulated command bar is active, else the mapping mode corresponding to the current Vi mode.
Definition at line 218 of file kateviglobal.cpp.
void KateViGlobal::readConfig | ( | const KConfigGroup & | config | ) |
Definition at line 74 of file kateviglobal.cpp.
void KateViGlobal::removeMapping | ( | MappingMode | mode, |
const QString & | from | ||
) |
Definition at line 181 of file kateviglobal.cpp.
QStringList KateViGlobal::replaceHistory | ( | ) |
Definition at line 277 of file kateviglobal.cpp.
QStringList KateViGlobal::searchHistory | ( | ) |
Definition at line 252 of file kateviglobal.cpp.
void KateViGlobal::storeMacro | ( | QChar | macroRegister, |
const QList< QKeyEvent > | macroKeyEventLog, | ||
const QList< KateViInputModeManager::Completion > | completions | ||
) |
Definition at line 302 of file kateviglobal.cpp.
void KateViGlobal::writeConfig | ( | KConfigGroup & | config | ) | const |
Definition at line 43 of file kateviglobal.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:54 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.