KTextEditor
ktexteditor.cpp
Go to the documentation of this file.
virtual bool insertText(const Cursor &position, const QString &text, bool block=false)=0
Insert text at position.
const QString & defaultEncoding() const
Get the current default encoding for this Editor part.
Definition: ktexteditor.cpp:106
bool simpleMode() const
Query the editor whether simple mode is on or not.
Definition: ktexteditor.cpp:101
virtual bool setSelection(const Range &range)=0
Set the view's selection to the range selection.
virtual ~LoadSaveFilterCheckPlugin()
Definition: ktexteditor.cpp:298
virtual bool blockSelection() const =0
Get the status of the selection mode.
KTEXTEDITOR_EXPORT Editor * editor(const char *libname)
Helper function for the EditorChooser.
Definition: ktexteditor.cpp:174
KTEXTEDITOR_EXPORT_DEPRECATED Plugin * createPlugin(KService::Ptr service, QObject *parent)
Create a plugin represented by service with parent object parent.
Definition: ktexteditor.cpp:148
virtual ~TextHintInterface()
Definition: ktexteditor.cpp:278
bool isActiveView() const
Check whether this view is the document's active view.
Definition: ktexteditor.cpp:116
virtual ~TemplateInterface()
Definition: ktexteditor.cpp:271
virtual View * activeView() const =0
Return the view which currently has user focus, if any.
LoadSaveFilterCheckPlugin(QObject *parent)
Definition: ktexteditor.cpp:294
A KParts derived class representing a text document.
Definition: document.h:111
void setDefaultEncoding(const QString &defaultEncoding)
Set the current default encoding for this Editor part.
Definition: ktexteditor.cpp:111
void setSimpleMode(bool on)
Switch editor to simple mode for average users.
Definition: ktexteditor.cpp:96
virtual Document * document() const =0
Get the view's document, that means the view is a view of the returned document.
ParameterizedSessionConfigInterface()
Definition: ktexteditor.cpp:261
virtual Cursor cursorPosition() const =0
Get the view's current cursor position.
virtual bool cursorInText(const Cursor &cursor)
Checks whether the cursor specifies a valid position in a document.
Definition: document.cpp:164
An object representing a section of text, from one Cursor to another.
Definition: range.h:54
virtual int line() const
Retrieve the line on which this cursor is situated.
Definition: cursor.cpp:62
ModificationInterface()
Definition: ktexteditor.cpp:221
virtual bool insertText(const QString &text)
This is a convenience function which inserts text at the view's current cursor position.
Definition: ktexteditor.cpp:140
virtual int lineLength(int line) const =0
Get the length of a given line in characters.
SessionConfigInterface()
Definition: ktexteditor.cpp:254
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:56:48 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:56:48 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.