Kate
#include <katevimodebase.h>
Public Member Functions | |
KateViModeBase () | |
virtual | ~KateViModeBase () |
void | error (const QString &errorMsg) |
Range | findPattern (const QString &pattern, bool backwards, bool caseSensitive, const Cursor &startFrom, int count=-1) const |
QString | getVerbatimKeys () const |
virtual bool | handleKeypress (const QKeyEvent *e)=0 |
void | message (const QString &msg) |
void | setCount (unsigned int count) |
void | setRegister (QChar reg) |
Protected Member Functions | |
void | addJump (KTextEditor::Cursor cursor) |
void | addToNumberUnderCursor (int count) |
bool | deleteRange (KateViRange &r, OperationMode mode=LineWise, bool addToRegister=true) |
KateDocument * | doc () const |
void | fillRegister (const QChar ®, const QString &text, OperationMode flag=CharWise) |
int | findLineStartingWitchChar (const QChar &c, unsigned int count, bool forward=true) const |
Cursor | findNextWordStart (int fromLine, int fromColumn, bool onlyCurrentLine=false) const |
Cursor | findNextWORDStart (int fromLine, int fromColumn, bool onlyCurrentLine=false) const |
KateViRange | findPatternForMotion (const QString &pattern, bool backwards, bool caseSensitive, const Cursor &startFrom, int count=1) const |
Cursor | findPrevWordEnd (int fromLine, int fromColumn, bool onlyCurrentLine=false) const |
Cursor | findPrevWORDEnd (int fromLine, int fromColumn, bool onlyCurrentLine=false) const |
Cursor | findPrevWordStart (int fromLine, int fromColumn, bool onlyCurrentLine=false) const |
Cursor | findPrevWORDStart (int fromLine, int fromColumn, bool onlyCurrentLine=false) const |
KateViRange | findSurrounding (const QRegExp &c1, const QRegExp &c2, bool inner=false) const |
KateViRange | findSurroundingBrackets (const QChar &c1, const QChar &c2, bool inner, const QChar &nested1, const QChar &nested2) const |
KateViRange | findSurroundingQuotes (const QChar &c, bool inner=false) const |
Cursor | findWordEnd (int fromLine, int fromColumn, bool onlyCurrentLine=false) const |
Cursor | findWORDEnd (int fromLine, int fromColumn, bool onlyCurrentLine=false) const |
const QChar | getCharAtVirtualColumn (QString &line, int virtualColumn, int tabWidht) const |
const QChar | getCharUnderCursor () const |
QChar | getChosenRegister (const QChar &defaultReg) const |
unsigned int | getCount () const |
const QString | getLine (int lineNumber=-1) const |
KTextEditor::Cursor | getNextJump (KTextEditor::Cursor) |
KTextEditor::Cursor | getPrevJump (KTextEditor::Cursor) |
const QString | getRange (KateViRange &r, OperationMode mode=LineWise) const |
QString | getRegisterContent (const QChar ®) |
OperationMode | getRegisterFlag (const QChar ®) const |
const Range | getWordRangeUnderCursor () const |
const QString | getWordUnderCursor () const |
KateViRange | goLineDown () |
KateViRange | goLineUp () |
KateViRange | goLineUpDown (int lines) |
KateViRange | goVisualLineUpDown (int lines) |
bool | isCounted () |
unsigned int | linesDisplayed () |
void | scrollViewLines (int l) |
bool | startInsertMode () |
bool | startNormalMode () |
bool | startReplaceMode () |
bool | startVisualBlockMode () |
bool | startVisualLineMode () |
bool | startVisualMode () |
void | switchView (Direction direction=Next) |
void | updateCursor (const Cursor &c) const |
void | yankToClipBoard (QChar chosen_register, QString text) |
Protected Attributes | |
KateViRange | m_commandRange |
unsigned int | m_count |
bool | m_currentMotionWasVisualLineUpOrDown |
QString | m_extraWordCharacters |
QPointer< KTextEditor::Message > | m_infoMessage |
bool | m_iscounted |
QString | m_keysVerbatim |
bool | m_lastMotionWasVisualLineUpOrDown |
int | m_oneTimeCountOverride |
QChar | m_register |
int | m_stickyColumn |
KateView * | m_view |
KateViewInternal * | m_viewInternal |
KateViInputModeManager * | m_viInputModeManager |
Detailed Description
Definition at line 64 of file katevimodebase.h.
Constructor & Destructor Documentation
|
inline |
Definition at line 69 of file katevimodebase.h.
|
inlinevirtual |
Definition at line 77 of file katevimodebase.h.
Member Function Documentation
|
protected |
Definition at line 974 of file katevimodebase.cpp.
|
protected |
Definition at line 1325 of file katevimodebase.cpp.
|
protected |
Definition at line 61 of file katevimodebase.cpp.
|
inlineprotected |
Definition at line 172 of file katevimodebase.h.
void KateViModeBase::error | ( | const QString & | errorMsg | ) |
Definition at line 1255 of file katevimodebase.cpp.
|
protected |
Definition at line 968 of file katevimodebase.cpp.
|
protected |
Definition at line 904 of file katevimodebase.cpp.
|
protected |
Definition at line 317 of file katevimodebase.cpp.
|
protected |
Definition at line 379 of file katevimodebase.cpp.
Range KateViModeBase::findPattern | ( | const QString & | pattern, |
bool | backwards, | ||
bool | caseSensitive, | ||
const Cursor & | startFrom, | ||
int | count = -1 |
||
) | const |
Definition at line 188 of file katevimodebase.cpp.
|
protected |
Definition at line 304 of file katevimodebase.cpp.
|
protected |
Definition at line 421 of file katevimodebase.cpp.
|
protected |
Definition at line 461 of file katevimodebase.cpp.
|
protected |
Definition at line 498 of file katevimodebase.cpp.
|
protected |
Definition at line 562 of file katevimodebase.cpp.
|
protected |
Definition at line 882 of file katevimodebase.cpp.
|
protected |
Definition at line 769 of file katevimodebase.cpp.
|
protected |
Definition at line 702 of file katevimodebase.cpp.
|
protected |
Definition at line 609 of file katevimodebase.cpp.
|
protected |
Definition at line 650 of file katevimodebase.cpp.
|
protected |
Definition at line 1292 of file katevimodebase.cpp.
|
protected |
Definition at line 133 of file katevimodebase.cpp.
|
protected |
- Returns
- the register given for the command. If no register was given, defaultReg is returned.
Definition at line 945 of file katevimodebase.cpp.
|
inlineprotected |
Definition at line 131 of file katevimodebase.h.
|
protected |
Definition at line 119 of file katevimodebase.cpp.
|
protected |
Definition at line 979 of file katevimodebase.cpp.
|
protected |
Definition at line 984 of file katevimodebase.cpp.
|
protected |
Definition at line 91 of file katevimodebase.cpp.
|
protected |
Definition at line 952 of file katevimodebase.cpp.
|
protected |
Definition at line 963 of file katevimodebase.cpp.
QString KateViModeBase::getVerbatimKeys | ( | ) | const |
- Returns
- normal mode command accumulated so far
Definition at line 1287 of file katevimodebase.cpp.
|
protected |
Definition at line 152 of file katevimodebase.cpp.
|
protected |
Definition at line 146 of file katevimodebase.cpp.
|
protected |
Definition at line 989 of file katevimodebase.cpp.
|
protected |
Definition at line 994 of file katevimodebase.cpp.
|
protected |
method for moving up or down one or more lines note: the sticky column is always a virtual column
Definition at line 1003 of file katevimodebase.cpp.
|
protected |
Definition at line 1057 of file katevimodebase.cpp.
|
pure virtual |
Implemented in KateViNormalMode, KateViInsertMode, and KateViReplaceMode.
|
inlineprotected |
Definition at line 138 of file katevimodebase.h.
|
inlineprotected |
Definition at line 128 of file katevimodebase.h.
void KateViModeBase::message | ( | const QString & | msg | ) |
Definition at line 1271 of file katevimodebase.cpp.
|
inlineprotected |
Definition at line 129 of file katevimodebase.h.
|
inline |
Definition at line 85 of file katevimodebase.h.
|
inline |
Definition at line 86 of file katevimodebase.h.
|
protected |
Definition at line 1192 of file katevimodebase.cpp.
|
protected |
Definition at line 1176 of file katevimodebase.cpp.
|
protected |
Definition at line 1201 of file katevimodebase.cpp.
|
protected |
Definition at line 1227 of file katevimodebase.cpp.
|
protected |
Definition at line 1241 of file katevimodebase.cpp.
|
protected |
Definition at line 1210 of file katevimodebase.cpp.
Definition at line 1426 of file katevimodebase.cpp.
|
protected |
Definition at line 937 of file katevimodebase.cpp.
|
protected |
Definition at line 54 of file katevimodebase.cpp.
Member Data Documentation
|
protected |
Definition at line 160 of file katevimodebase.h.
|
protected |
Definition at line 161 of file katevimodebase.h.
|
protected |
Definition at line 170 of file katevimodebase.h.
|
protected |
Definition at line 165 of file katevimodebase.h.
|
protected |
Definition at line 180 of file katevimodebase.h.
|
protected |
Definition at line 163 of file katevimodebase.h.
|
protected |
Definition at line 166 of file katevimodebase.h.
|
protected |
Definition at line 169 of file katevimodebase.h.
|
protected |
Definition at line 162 of file katevimodebase.h.
|
protected |
Definition at line 154 of file katevimodebase.h.
|
protected |
Definition at line 168 of file katevimodebase.h.
|
protected |
Definition at line 172 of file katevimodebase.h.
|
protected |
Definition at line 176 of file katevimodebase.h.
|
protected |
Definition at line 177 of file katevimodebase.h.
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.