RegisterTextBufferWordDefinition(3
UN
W)
IX SysteR
meV
gisterTextBufferWordDefinition(3W)
Text Buffer Utilities
NAME
RegisterTextBufferWordDefinition
SYNOPSIS
#include <textbuff.h>
...
extern void RegisterTextBufferWordDefinition(word_definition)
int (*word_definition)();
DESCRIPTION
The RegisterTextBufferWordDefinition procedure provides the capability to
replace the word definition function used by the TextBuffer Utilities.
This function is called as:~
(*word_definition)(c);
The function is responsible for returning non-zero if the character c is
considered a character that can occur in a word and zero otherwise.
Calling this function with NULL reinstates the default word definition
which allows the following set of characters: a-zA-Z0-9_
10/89 Page 1