OlTextEditSetCursorPosition(3W) UNIX System V OlTextEditSetCursorPosition(3W)
NAME
OlTextEditSetCursorPosition
SYNOPSIS
#include <buffutil.h>
#include <textbuff.h>
#include <TextEdit.h>
...
extern Boolean OlTextEditSetCursorPosition\
(ctx, start, end, cursorPosition)
TextEditWidget ctx;
TextPosition start;
TextPosition end;
TextPosition cursorPosition;
DESCRIPTION
The OlTextEditSetCursorPosition function is used to change the current
selection start and end and cursorPosition. The function does NOT check
(for efficiency) the validity of the positions. If invalid values are
given results are unpredictable. The function attempts to ensure that
the cursorPosition is visible by scrolling the display.
RETURN VALUE
FALSE is returned if the widget supplied is not a TextEdit Widget;
otherwise TRUE is returned.
SEE ALSO
OlTextEditGetCursorPosition(3W), TextEdit Widget
10/89 Page 1