KTextEditor
include/ktexteditor/command.h
77 * Will register this command for the commands names given in \p cmds at the global editor instance.
124 virtual bool exec(KTextEditor::View *view, const QString &cmd, QString &msg, const KTextEditor::Range &range = KTextEditor::Range::invalid()) = 0;
const QStringList & cmds() const
Return a list of strings a command may begin with.
Definition: include/ktexteditor/command.h:96
An object representing a section of text, from one Cursor to another.
Definition: include/ktexteditor/range.h:44
The KTextEditor namespace contains all the public API that is required to use the KTextEditor compone...
Definition: katetextblock.h:22
constexpr static Range invalid() Q_DECL_NOEXCEPT
Returns an invalid range.
Definition: include/ktexteditor/range.h:115
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Dec 4 2023 03:52:10 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Dec 4 2023 03:52:10 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.