KTextEditor
view.h
134 * implementation. The getter viewInputMode() returns enum \InputMode representing the current mode.
137 * \e NormalModeInsert and \e NormalModeOverwrite. You can use viewMode() getter to obtain those.
426 * \warning !!!!!! DON'T USE THIS FUNCTION, UNLESS YOU ARE SURE YOU DON'T WANT PLUGINS TO WORK !!!!!!
799 bool insertTemplate(KTextEditor::Cursor insertPosition, const QString &templateString, const QString &script = QString());
919 virtual void readSessionConfig(const KConfigGroup &config, const QSet<QString> &flags = QSet<QString>()) = 0;
929 virtual void writeSessionConfig(KConfigGroup &config, const QSet<QString> &flags = QSet<QString>()) = 0;
937 virtual QExplicitlySharedDataPointer<KTextEditor::Attribute> defaultStyleAttribute(KSyntaxHighlighting::Theme::TextStyle defaultStyle) const = 0;
1010 * \param delegate the new AbstractAnnotationItemDelegate, or \c nullptr to reset to the default delegate
1014 virtual void setAnnotationItemDelegate(KTextEditor::AbstractAnnotationItemDelegate *delegate) = 0;
1032 * @param uniformItemSizes if \c true the annotation items are considered to all have the same size
1201 * \param models list of models to start. If this is an empty list, all registered models are started.
A delegate for rendering line annotation information and handling events.
Definition: abstractannotationitemdelegate.h:117
An item model for providing code completion, and meta information for enhanced presentation.
Definition: codecompletionmodel.h:67
An model for providing line annotation information.
Definition: annotationinterface.h:41
An object representing a section of text, from one Cursor to another.
Definition: include/ktexteditor/range.h:48
void writeSessionConfig(KConfigGroup &config, const QSet< QString > &flags=QSet< QString >()) override
Write session settings to the config.
ViewMode
Possible view modes These correspond to various modes the text editor might be in.
Definition: view.h:293
Class to provide text hints for a View.
Definition: texthintinterface.h:41
The KTextEditor namespace contains all the public API that is required to use the KTextEditor compone...
Definition: katetextblock.h:22
Q_SCRIPTABLE bool focusIn(int ms=-1)
void readSessionConfig(const KConfigGroup &config, const QSet< QString > &flags=QSet< QString >()) override
Read session settings from the given config.
Q_SCRIPTABLE bool focusOut(int ms=-1)
A source of inline notes for a document.
Definition: inlinenoteprovider.h:28
Definition: mainwindow.h:45
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Jun 6 2023 03:50:08 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Jun 6 2023 03:50:08 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.