• Skip to content
  • Skip to link menu
KDE 4.6 API Reference
  • KDE API Reference
  • kdelibs
  • KDE Home
  • Contact Us
 

Kate

Public Member Functions

KateViInsertMode Class Reference

Commands for the vi insert mode. More...

#include <kateviinsertmode.h>

Inheritance diagram for KateViInsertMode:
Inheritance graph
[legend]

List of all members.

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

void KateViInsertMode::addMapping ( const QString &  from,
const QString &  to 
) [inline, virtual]

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.

const QString KateViInsertMode::getMapping ( const QString &  from) const [inline, virtual]

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:
  • kateviinsertmode.h
  • kateviinsertmode.cpp

Kate

Skip menu "Kate"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.7.3
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal