KateVi::ReplaceViMode

Search for usage in LXR

#include <replacevimode.h>

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 17 of file replacevimode.h.

Constructor & Destructor Documentation

◆ ReplaceViMode()

ReplaceViMode::ReplaceViMode ( InputModeManager * viInputModeManager,
KTextEditor::ViewPrivate * view,
KateViewInternal * viewInternal )
explicit

Definition at line 19 of file replacevimode.cpp.

Member Function Documentation

◆ handleKeypress()

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 84 of file replacevimode.cpp.

◆ overwrittenChar()

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

Update the track of overwritten characters with the s character.

Definition at line 23 of file replacevimode.h.

◆ setCount()

void KateVi::ReplaceViMode::setCount ( int count)
inline

Definition at line 28 of file replacevimode.h.

Member Data Documentation

◆ m_count

unsigned int KateVi::ReplaceViMode::m_count
protected

Definition at line 65 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-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:01:56 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.