KateVi::ReplaceViMode

#include <replacevimode.h>

Inherits KateVi::ModeBase.

Public Member Functions

 ReplaceViMode (InputModeManager *viInputModeManager, KTextEditor::ViewPrivate *view, KateViewInternal *viewInternal)
 
void overwrittenChar (const QChar &s)
 
void setCount (int count)
 

Protected Member Functions

bool handleKeypress (const QKeyEvent *e) override
 

Protected Attributes

unsigned int m_count
 

Detailed Description

Commands for the vi replace mode.

Definition at line 31 of file replacevimode.h.

Member Function Documentation

bool ReplaceViMode::handleKeypress ( const QKeyEvent e)
overrideprotected

Checks if the key is a valid command in replace mode.

Returns
true if a command was completed and executed, false otherwise.

Definition at line 99 of file replacevimode.cpp.

void KateVi::ReplaceViMode::overwrittenChar ( const QChar s)
inline

Update the track of overwritten characters with the s character.

Definition at line 38 of file replacevimode.h.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sun Jul 12 2020 22:58:03 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.