OlTextEditReadSubString(3W) UNIX System V OlTextEditReadSubString(3W)
NAME
OlTextEditReadSubString
SYNOPSIS
#include <buffutil.h>
#include <textbuff.h>
#include <TextEdit.h>
...
extern Boolean OlTextEditReadSubString(ctx, buffer, start, end)
TextEditWidget ctx;
char ** buffer;
TextPosition start;
TextPosition end;
DESCRIPTION
The OlTextEditReadSubString function is used to retrieve a copy of a
substring from the TextBuffer associated with the TextEdit Widget ctx
between positions start through end inclusive. The storage required for
the copy is allocated by this routine; it is the responsibility of the
caller to free this storage when appropriate.
RETURN VALUE
FALSE is returned if the widget supplied is not a TextEdit Widget or if
the operation fails; otherwise TRUE is returned.
SEE ALSO
OlTextEditCopyBuffer(3W), TextEdit Widget
10/89 Page 1