KateVi::EmulatedCommandBar Class Reference

#include <emulatedcommandbar.h>

Inherits KateViewBarWidget.

Public Types

enum  Mode { NoMode, SearchForward, SearchBackward, Command }

Public Member Functions

 EmulatedCommandBar (KateViInputMode *viInputMode, InputModeManager *viInputModeManager, QWidget *parent=nullptr)
QString executeCommand (const QString &commandToExecute)
bool handleKeyPress (const QKeyEvent *keyEvent)
void init (Mode mode, const QString &initialText=QString())
bool isActive ()
bool isSendingSyntheticSearchCompletedKeypress ()
void setCommandResponseMessageTimeout (long commandResponseMessageTimeOutMS)
void setViInputModeManager (InputModeManager *viInputModeManager)
void startInteractiveSearchAndReplace (QSharedPointer< SedReplace::InteractiveSedReplacer > interactiveSedReplace)

Detailed Description

A KateViewBarWidget that attempts to emulate some of the features of Vim's own command bar, including insertion of register contents via ctr-r<registername>; dismissal via ctrl-c and ctrl-[; bi-directional incremental searching, with SmartCase; interactive sed-replace; plus a few extensions such as completion from document and navigable sed search and sed replace history.

Definition at line 54 of file emulatedcommandbar.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.