KTextEditor
document.h
Go to the documentation of this file.
379 // TODO: KDE5, add wordRangeAt(), implementation for the range already exists in KateDocument::getWord()
497 virtual bool insertText ( const Cursor &position, const QString &text, bool block = false ) = 0;
507 virtual bool insertText ( const Cursor &position, const QStringList &text, bool block = false ) = 0;
623 void textRemoved(KTextEditor::Document *document, const KTextEditor::Range& range, const QString& oldText);
635 void textChanged(KTextEditor::Document *document, const KTextEditor::Range& oldRange, const KTextEditor::Range& newRange);
648 void textChanged(KTextEditor::Document *document, const KTextEditor::Range& oldRange, const QString& oldText, const KTextEditor::Range& newRange);
KAction * saveAs(const QObject *recvr, const char *slot, QObject *parent)
KTEXTEDITOR_EXPORT Editor * editor(const char *libname)
Helper function for the EditorChooser.
Definition: ktexteditor.cpp:174
static Cursor start()
Returns a cursor representing the start of any document - i.e., line 0, column 0. ...
Definition: cursor.cpp:57
A KParts derived class representing a text document.
Definition: document.h:111
KAction * clear(const QObject *recvr, const char *slot, QObject *parent)
Range documentRange() const
A Range which encompasses the whole document.
Definition: document.h:435
An object representing a section of text, from one Cursor to another.
Definition: range.h:54
A text widget with KXMLGUIClient that represents a Document.
Definition: view.h:145
Cursor endOfLine(int line) const
Get the end cursor position of line line.
Definition: document.h:464
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.