#include <editinterface.h>
Public Methods | |
| virtual QString | text () const=0 |
| virtual QString | text (uint startLine, uint startCol, uint endLine, uint endCol) const=0 |
| virtual QString | textLine (uint line) const=0 |
| virtual uint | numLines () const=0 |
| virtual uint | length () const=0 |
| virtual int | lineLength (uint line) const=0 |
| virtual bool | setText (const QString &text)=0 |
| virtual bool | clear ()=0 |
| virtual bool | insertText (uint line, uint col, const QString &text)=0 |
| virtual bool | removeText (uint startLine, uint startCol, uint endLine, uint endCol)=0 |
| virtual bool | insertLine (uint line, const QString &text)=0 |
| virtual bool | removeLine (uint line)=0 |
| virtual void | textChanged ()=0 |
Definition at line 30 of file editinterface.h.
|
|
clears the document Warning: This will overwrite any data currently held in this view. |
|
||||||||||||
|
Insert line(s) at the given line number. Use insertLine(numLines(), text) to append line at end of document |
|
||||||||||||||||
|
Inserts text at line "line", column "col" returns true if success Use insertText(numLines(), ...) to append text at end of document |
|
|
|
|
|
|
|
|
|
|
|
Remove line(s) at the given line number. |
|
||||||||||||||||||||
|
remove text at line "line", column "col" returns true if success |
|
|
Set the given text into the view. Warning: This will overwrite any data currently held in this view. |
|
||||||||||||||||||||
|
|
|
|
|
|
|
signals !!! |
|
|
|
1.2.18