DtEditorGetLastPosition(3) — Subroutines
NAME
DtEditorGetLastPosition − access the last text position in the DtEditor widget
SYNOPSIS
#include <Dt/Editor.h>
XmTextPosition DtEditorGetLastPosition(Widget widget);
DESCRIPTION
The DtEditorGetLastPosition() function accesses the last text position in the DtEditor widget. The position is an integer number of characters from the beginning of the widget’s buffer. Any text added to the end of the buffer is added after this position. The first character position is 0 (zero). The last character position is equal to the number of characters contained in the widget.
The widget argument specifies the DtEditor widget ID.
For a complete definition of the DtEditor widget and its associated resources, see DtEditor(3).
RETURN VALUE
???? Component owner: this is the required wording format for RETURN VALUE; I’ve altered your original - please be sure to check this ????
Upon successful completion, the DtEditorGetLastPosition() function returns an XmTextPosition value that indicates the last position in the text; otherwise, it returns NULL.
SEE ALSO
DtEditor(5), DtEditor(3), DtEditorGetInsertionPosition(3), DtEditorSetInsertionPosition(3).
— 3 May 1994