editinterface.h
virtual uint numLines() const =0
virtual TQString textLine(uint line) const =0
virtual uint length() const =0
virtual TQString text(uint startLine, uint startCol, uint endLine, uint endCol) const =0
virtual bool setText(const TQString &text)=0
Set the given text into the view.
virtual bool removeText(uint startLine, uint startCol, uint endLine, uint endCol)=0
remove text at line "line", column "col" returns true if success
virtual bool removeLine(uint line)=0
Remove line(s) at the given line number.
virtual bool insertLine(uint line, const TQString &text)=0
Insert line(s) at the given line number.
This is the main interface for accessing and modifying text of the Document class.
Definition: editinterface.h:34
virtual bool insertText(uint line, uint col, const TQString &text)=0
Inserts text at line "line", column "col" returns true if success Use insertText(numLines(),...
KTextEditor is KDE's standard text editing KPart interface.
Definition: blockselectiondcopinterface.h:10
virtual bool clear()=0
clears the document Warning: This will overwrite any data currently held in this view.
virtual int lineLength(uint line) const =0