KTextEditor
replacevimode.cpp
19ReplaceViMode::ReplaceViMode(InputModeManager *viInputModeManager, KTextEditor::ViewPrivate *view, KateViewInternal *viewInternal)
139 if (m_viInputModeManager->inputAdapter()->viModeEmulatedCommandBar()->isSendingSyntheticSearchCompletedKeypress()) {
228 const QString added = doc()->text(KTextEditor::Range(m_viInputModeManager->marks()->getStartEditYanked(), m_view->cursorPosition()));
constexpr int column() const noexcept
Retrieve the column on which this cursor is situated.
Definition cursor.h:192
KTextEditor::Cursor documentEnd() const override
End position of the document.
Definition katedocument.cpp:5797
QString text(KTextEditor::Range range, bool blockwise=false) const override
Get the document content within the given range.
Definition katedocument.cpp:442
QChar characterAt(KTextEditor::Cursor position) const override
Get the character at text position cursor.
Definition katedocument.cpp:483
An object representing a section of text, from one Cursor to another.
Definition include/ktexteditor/range.h:49
bool handleKeypress(const QKeyEvent *e) override
Checks if the key is a valid command in replace mode.
Definition replacevimode.cpp:84
void overwrittenChar(const QChar &s)
Update the track of overwritten characters with the s character.
Definition replacevimode.h:23
QAction * next(const QObject *recvr, const char *slot, QObject *parent)
Null
int key() const const
Qt::KeyboardModifiers modifiers() const const
const QChar at(qsizetype position) const const
void clear()
bool isEmpty() const const
qsizetype length() const const
QString & remove(QChar ch, Qt::CaseSensitivity cs)
QString right(qsizetype n) const const
Key_Backspace
NoModifier
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:07:22 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:07:22 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.