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

void QPlainTextEdit::moveCursor ( QTextCursor::MoveOperation  operation,
QTextCursor::MoveMode  mode = QTextCursor::MoveAnchor 

Moves the cursor by performing the given operation.

If mode is QTextCursor::KeepAnchor, the cursor selects the text it moves over. This is the same effect that the user achieves when they hold down the Shift key and move the cursor with the cursor keys.

See also:

Definition at line 2455 of file qplaintextedit.cpp.

    d->control->moveCursor(operation, mode);

Generated by  Doxygen 1.6.0   Back to index