KTextEditor
document.h
Go to the documentation of this file.
379 // TODO: KDE5, add wordRangeAt(), implementation for the range already exists in KateDocument::getWord()
517 virtual bool insertText ( const Cursor &position, const QString &text, bool block = false ) = 0;
527 virtual bool insertText ( const Cursor &position, const QStringList &text, bool block = false ) = 0;
643 void textRemoved(KTextEditor::Document *document, const KTextEditor::Range& range, const QString& oldText);
655 void textChanged(KTextEditor::Document *document, const KTextEditor::Range& oldRange, const KTextEditor::Range& newRange);
668 void textChanged(KTextEditor::Document *document, const KTextEditor::Range& oldRange, const QString& oldText, const KTextEditor::Range& newRange);
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
Range documentRange() const
A Range which encompasses the whole document.
Definition: document.h:455
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:484
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.