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

void QPlainTextEdit::ensureCursorVisible (  ) 

Ensures that the cursor is visible by scrolling the text edit if necessary.

See also:
centerCursor(), centerOnScroll

Definition at line 2808 of file qplaintextedit.cpp.

Referenced by event(), and showEvent().

{
    Q_D(QPlainTextEdit);
    d->ensureCursorVisible(d->centerOnScroll);
}


Generated by  Doxygen 1.6.0   Back to index