7#ifndef KATE_NORMAL_INPUT_MODE_H
8#define KATE_NORMAL_INPUT_MODE_H
12#include "kateabstractinputmode.h"
14class KateNormalInputModeFactory;
16class KateCommandLineBar;
18class KateNormalInputMode :
public KateAbstractInputMode
20 explicit KateNormalInputMode(KateViewInternal *viewInternal);
21 friend KateNormalInputModeFactory;
25 QString viewModeHuman()
const override;
27 QString viewInputModeHuman()
const override;
29 void activate()
override;
30 void deactivate()
override;
31 void reset()
override;
33 bool overwrite()
const override;
34 void overwrittenChar(
const QChar &)
override;
36 void clearSelection()
override;
39 void gotFocus()
override;
40 void lostFocus()
override;
42 void readSessionConfig(
const KConfigGroup &config)
override;
44 void updateRendererConfig()
override;
45 void updateConfig()
override;
46 void readWriteChanged(
bool rw)
override;
49 void findSelectedForwards()
override;
50 void findSelectedBackwards()
override;
51 void findReplace()
override;
52 void findNext()
override;
53 void findPrevious()
override;
55 void activateCommandLine()
override;
58 bool blinkCaret()
const override;
59 KTextEditor::caretStyles caretStyle()
const override;
61 void toggleInsert()
override;
62 void launchInteractiveCommand(
const QString &command)
override;
64 QString bookmarkLabel(
int line)
const override;
76 IncrementalSearchBarOrKeepMode
84 KateSearchBar *searchBar(
const SearchBarMode mode);
90 bool hasSearchBar()
const
92 return m_searchBar.get();
99 KateCommandLineBar *cmdLineBar();
102 std::unique_ptr<KateSearchBar> m_searchBar;
103 std::unique_ptr<KateCommandLineBar> m_cmdLine;
ViewMode
Possible view modes These correspond to various modes the text editor might be in.
InputMode
Possible input modes.
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.