Logo Search packages:      
Sourcecode: qt4-x11 version File versions

QTextCursor QPlainTextEdit::textCursor (  )  const

Returns a copy of the QTextCursor that represents the currently visible cursor. Note that changes on the returned cursor do not affect QPlainTextEdit's cursor; use setTextCursor() to update the visible cursor.

Definition at line 1342 of file qplaintextedit.cpp.

Referenced by centerCursor().

    Q_D(const QPlainTextEdit);
    return d->control->textCursor();

Generated by  Doxygen 1.6.0   Back to index