PreviousTextBufferWord(3W) — MISC. REFERENCE MANUAL PAGES
Text Buffer Utilities
NAME
PreviousTextBufferWord
SYNOPSIS
#include <textbuff.h>
...
extern TextLocation PreviousTextBufferWord(textBuffer, current)
TextBuffer ∗ textBuffer;
TextLocation current;
DESCRIPTION
The PreviousTextBufferWord function is used to locate the beginning of a word in a TextBuffer relative to a given current location. It returns the location of the beginning of the word which precedes the given current location. If the current location is within a word this function will skip over the current word. If the current word is the first word in the TextBuffer the function wraps to the end of the buffer.
SEE ALSO
Sun Release 4.0 — Last change: