Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

OlTextEditCopyBuffer(3)

OlTextEditReadSubString(3W)  —  MISC REFERENCE MANUAL PAGES

NAME

 OlTextEditReadSubString

SYNOPSIS

#include <buffutil.h>
#include <textbuff.h>
#include <Dynamic.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(3), TextEdit Widget

3/29/90  —  Last change:

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026