|
|
This is an interface for the KTextEditor::Document class !!!
EditInterface ()
| EditInterface |
~EditInterface ()
| ~EditInterface |
[virtual]
uint editInterfaceNumber ()
| editInterfaceNumber |
[const]
void setEditInterfaceDCOPSuffix (const QCString &suffix)
| setEditInterfaceDCOPSuffix |
[protected]
QString text ()
| text |
[const pure virtual]
Returns: the complete document as a single QString
QString text ( uint startLine, uint startCol, uint endLine, uint endCol )
| text |
[const pure virtual]
Returns: a QString
QString textLine ( uint line )
| textLine |
[const pure virtual]
Returns: All the text from the requested line.
uint numLines ()
| numLines |
[const pure virtual]
Returns: The current number of lines in the document
uint length ()
| length |
[const pure virtual]
Returns: the number of characters in the document
int lineLength ( uint line )
| lineLength |
[const pure virtual]
Returns: the number of characters in the line (-1 if no line "line")
bool setText ( const QString &text )
| setText |
[pure virtual]
Set the given text into the view. Warning: This will overwrite any data currently held in this view.
bool clear ()
| clear |
[pure virtual]
clears the document Warning: This will overwrite any data currently held in this view.
bool insertText ( uint line, uint col, const QString &text )
| insertText |
[pure virtual]
Inserts text at line "line", column "col" returns true if success Use insertText(numLines(), ...) to append text at end of document
bool removeText ( uint startLine, uint startCol, uint endLine, uint endCol )
| removeText |
[pure virtual]
remove text at line "line", column "col" returns true if success
bool insertLine ( uint line, const QString &text )
| insertLine |
[pure virtual]
Insert line(s) at the given line number. Use insertLine(numLines(), text) to append line at end of document
bool removeLine ( uint line )
| removeLine |
[pure virtual]
Remove line(s) at the given line number.
void textChanged ()
| textChanged |
[pure virtual]
signals !!!
void charactersInteractivelyInserted (int ,int ,const QString&)
| charactersInteractivelyInserted |
[pure virtual]
Generated by: caleb on tcdevel on Tue Jan 28 12:54:37 2003, using kdoc $. |