Search for usage in LXR

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

Member Function Documentation

◆ handleKeypress()

bool ReplaceViMode::handleKeypress ( const QKeyEvent e)

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

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

Definition at line 83 of file replacevimode.cpp.

◆ overwrittenChar()

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

Update the track of overwritten characters with the s character.

Definition at line 23 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-2022 The KDE developers.
Generated on Sun Jun 26 2022 03:49:56 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.