|
class | QDocumentCursor |
|
class | QDocumentPrivate |
|
class | QDocumentCommand |
|
QDocument * | document () const |
|
bool | atEnd () const |
|
bool | atStart () const |
|
bool | atBlockEnd () const |
|
bool | atBlockStart () const |
|
bool | atLineEnd () const |
|
bool | atLineStart () const |
|
bool | hasSelection () const |
|
bool | isSilent () const |
|
void | setSilent (bool y) |
|
bool | isAutoUpdated () const |
|
void | setAutoUpdated (bool y) |
|
QDocumentLine | line () const |
|
QDocumentLine | anchorLine () const |
|
int | lineNumber () const |
|
int | columnNumber () const |
|
int | anchorLineNumber () const |
|
int | anchorColumnNumber () const |
|
int | visualColumnNumber () const |
|
void | setColumnNumber (int c, int m=QDocumentCursor::MoveAnchor) |
|
QPoint | documentPosition () const |
|
QPoint | anchorDocumentPosition () const |
|
QPolygon | documentRegion () const |
|
int | position () const |
|
void | shift (int offset) |
|
void | setPosition (int pos, int m) |
|
bool | movePosition (int offset, int op, int m) |
|
void | insertText (const QString &s, bool keepAnchor=false) |
|
QChar | nextChar () const |
|
QChar | previousChar () const |
|
void | eraseLine () |
|
void | deleteChar () |
|
void | deletePreviousChar () |
|
QDocumentCursor | selectionStart () const |
|
QDocumentCursor | selectionEnd () const |
|
bool | eq (const QDocumentCursorHandle *h) |
|
bool | lt (const QDocumentCursorHandle *h) |
|
bool | gt (const QDocumentCursorHandle *h) |
|
QString | selectedText () const |
|
void | clearSelection () |
|
void | removeSelectedText (bool keepAnchor=false) |
|
void | replaceSelectedText (const QString &text) |
|
void | select (QDocumentCursor::SelectionType t) |
|
void | setSelectionBoundary (const QDocumentCursor &c) |
|
bool | isWithinSelection (const QDocumentCursor &c) const |
|
QDocumentCursor | intersect (const QDocumentCursor &c) const |
|
void | beginBoundary (int &begline, int &begcol) const |
|
void | endBoundary (int &endline, int &endcol) const |
|
void | substractBoundaries (int lbeg, int cbeg, int lend, int cend) |
|
void | boundaries (int &begline, int &begcol, int &endline, int &endcol) const |
|
void | intersectBoundaries (int &lbeg, int &cbeg, int &lend, int &cend) const |
|
void | intersectBoundaries (QDocumentCursorHandle *h, int &lbeg, int &cbeg, int &lend, int &cend) const |
|
void | beginEditBlock () |
|
void | endEditBlock () |
|
void | moveTo (int line, int column) |
|
void | moveTo (const QDocumentCursor &c) |
|
void | copy (const QDocumentCursorHandle *c) |
|
void | refreshColumnMemory () |
|
bool | hasColumnMemory () const |
|
void | setColumnMemory (bool y) |
|
virtual void | execute (QDocumentCommand *c) |
|
| QDocumentCursorHandle (QDocument *d, int line=0) |
|
QDocumentCursorHandle * | clone () const |
|