|
|
This is an interface for the KTextEditor::Document class !!!
EditInterface ()
| EditInterface |
~EditInterface ()
| ~EditInterface |
[virtual]
unsigned int editInterfaceNumber ()
| editInterfaceNumber |
[const]
QString text ()
| text |
[const pure virtual]
Returns: the complete document as a single QString
QString text ( unsigned int startLine, unsigned int startCol, unsigned int endLine, unsigned int endCol )
| text |
[const pure virtual]
Returns: a QString
QString textLine ( unsigned int line )
| textLine |
[const pure virtual]
Returns: All the text from the requested line.
unsigned int numLines ()
| numLines |
[const pure virtual]
Returns: The current number of lines in the document
unsigned int length ()
| length |
[const pure virtual]
Returns: the number of characters in the document
int lineLength ( unsigned int 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 ( unsigned int line, unsigned int col, const QString &text )
| insertText |
[pure virtual]
Inserts text at line "line", column "col" returns true if success
bool removeText ( unsigned int startLine, unsigned int startCol, unsigned int endLine, unsigned int endCol )
| removeText |
[pure virtual]
remove text at line "line", column "col" returns true if success
bool insertLine ( unsigned int line, const QString &text )
| insertLine |
[pure virtual]
Insert line(s) at the given line number. If the line number is -1 (the default) then the line is added to end of the document
bool removeLine ( unsigned int line )
| removeLine |
[pure virtual]
Insert line(s) at the given line number. If the line number is -1 (the default) then the line is added to end of the document
void textChanged ()
| textChanged |
[pure virtual]
signals !!!
void charactersInteractivelyInserted (int ,int ,const QString&)
| charactersInteractivelyInserted |
[pure virtual]
Generated by: dfaure on faure on Tue Apr 16 08:51:19 2002, using kdoc 2.0a53. |