KTextEditor
katecmd.cpp
78 if (cmd.length() >= 2 && cmd.at(0) == QLatin1Char('s') && (cmd.at(1) == QLatin1Char('-') || cmd.at(1) == QLatin1Char('_'))) {
86 if (b && (!cmd[f].isLetterOrNumber() && cmd[f] != QLatin1Char('-') && cmd[f] != QLatin1Char('_'))) {
191void KateCmdShellCompletion::splitText(const QString &text, QString &text_start, QString &text_compl) const
void insertItems(const QStringList &items)
void removeItem(const QString &item)
virtual QString makeCompletion(const QString &string)
void matches(const QStringList &matchlist)
void match(const QString &item)
void addItem(const QString &item)
const QStringList & cmds() const
Return a list of strings a command may begin with.
Definition include/ktexteditor/command.h:96
QString makeCompletion(const QString &text) override
Finds completions to the given text.
Definition katecmd.cpp:153
const_iterator constBegin() const const
const_iterator constEnd() const const
bool contains(const Key &key) const const
iterator insert(const Key &key, const T &value)
bool remove(const Key &key)
T value(const Key &key) const const
QList< T > values() const const
Iterator
void append(QList< T > &&value)
iterator begin()
qsizetype count() const const
iterator end()
bool isEmpty() const const
T & last()
void removeFirst()
const QChar at(qsizetype position) const const
QString left(qsizetype n) const const
qsizetype length() const const
QString mid(qsizetype position, qsizetype n) const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:11:27 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:11:27 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.