KTextEditor
view.h
119 * implementation. The getter viewInputMode() returns enum \InputMode representing the current mode.
122 * \e NormalModeInsert and \e NormalModeOverwrite. You can use viewMode() getter to obtain those.
317 void textInserted(KTextEditor::View *view, const KTextEditor::Cursor &position, const QString &text);
331 * \warning !!!!!! DON'T USE THIS FUNCTION, UNLESS YOU ARE SURE YOU DON'T WANT PLUGINS TO WORK !!!!!!
704 bool insertTemplate(const KTextEditor::Cursor &insertPosition, const QString &templateString, const QString &script = QString());
824 virtual void readSessionConfig(const KConfigGroup &config, const QSet<QString> &flags = QSet<QString>()) = 0;
834 virtual void writeSessionConfig(KConfigGroup &config, const QSet<QString> &flags = QSet<QString>()) = 0;
842 virtual KTextEditor::Attribute::Ptr defaultStyleAttribute(KTextEditor::DefaultStyle defaultStyle) const = 0;
DefaultStyle
The following lists all valid default styles that are used for the syntax highlighting files in the i...
Definition: attribute.h:28
An object representing a section of text, from one Cursor to another.
Definition: include/ktexteditor/range.h:44
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:198
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)
Definition: mainwindow.h:43
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Jan 30 2023 03:56:09 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Jan 30 2023 03:56:09 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.