KateVi::EmulatedCommandBar

Search for usage in LXR

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 () const
 
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 37 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-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.