]]>
]]>
DtEditorDeleteSelection
library call
DtEditorDeleteSelection
delete the primary selection in the DtEditor widget
#include <Dt/Editor.h>
Boolean DtEditorDeleteSelection
Widget widget
DESCRIPTION
The
DtEditorDeleteSelection function removes the currently highlighted data in a DtEditor
widget.
Any data following the deleted data is moved up.
Text can be selected and deselect programmatically with
&cdeman.DtEditorSelectAll; and
&cdeman.DtEditorDeselect;.
The
widget argument
Specifies the DtEditor widget ID.
For a complete definition of the DtEditor widget
and its associated resources, see
&cdeman.DtEditor;. ]]>
RETURN VALUE
Upon successful completion, the
DtEditorDeleteSelection function returns
True;
otherwise, if the primary selection is
NULL, or if the widget
does not own the primary selection, it returns
False.
SEE ALSO
&cdeman.Dt.Editor.h;, &cdeman.DtEditorClearSelection;, &cdeman.DtEditorCopyToClipboard;, &cdeman.DtEditorCutToClipboard;, &cdeman.DtEditorDeselect;, &cdeman.DtEditorPasteFromClipboard;, &cdeman.DtEditorSelectAll;, &cdeman.DtEditorUndoEdit;.