IncrementTextBufferLocation(3W) — MISC REFERENCE MANUAL PAGES
Text Buffer Utilities
NAME
IncrementTextBufferLocation
SYNOPSIS
#include <textbuff.h>
...
extern TextLocation IncrementTextBufferLocation(text, location, line, offset)
TextBuffer ∗ text;
TextLocation location;
TextLine line;
TextPosition offset;
DESCRIPTION
The IncrementTextBufferLocation function is used to increment a location by either line lines and/or offset characters. It returns the new location. Note: if line or offset are negative the function performs a decrement operation. If the starting location or the resulting location is invalid the starting location is returned without modification; otherwise the new location is returned.
SEE ALSO
NextLocation(3), PreviousLocation(3)
Sun Release 4.1 — Last change: {:heading=>"IncrementTextBufferLocation\|(\|3W\|)\0\0\(em\0\0\∗(]D"}