Initial import of the CDE 2.1.30 sources from the Open Group.

This commit is contained in:
Peter Howkins
2012-03-10 18:21:40 +00:00
commit 83b6996daa
18978 changed files with 3945623 additions and 0 deletions

View File

@@ -0,0 +1,69 @@
<!-- $XConsortium: EdDelete.sgm /main/5 1996/08/30 12:58:24 rws $ -->
<!-- (c) Copyright 1995 Digital Equipment Corporation. -->
<!-- (c) Copyright 1995 Hewlett-Packard Company. -->
<!-- (c) Copyright 1995 International Business Machines Corp. -->
<!-- (c) Copyright 1995 Sun Microsystems, Inc. -->
<!-- (c) Copyright 1995 Novell, Inc. -->
<!-- (c) Copyright 1995 FUJITSU LIMITED. -->
<!-- (c) Copyright 1995 Hitachi. -->
<![ %CDE.C.CDE; [<RefEntry Id="CDEMX.XCSA.MAN21.rsml.1">]]>
<![ %CDE.C.XO; [<RefEntry Id="XCSA.MAN21.rsml.1">]]>
<RefMeta>
<RefEntryTitle>DtEditorDeleteSelection</RefEntryTitle>
<ManVolNum>library call</ManVolNum>
</RefMeta>
<RefNameDiv>
<RefName><Function>DtEditorDeleteSelection</Function></RefName>
<RefPurpose>delete the primary selection in the DtEditor widget
</RefPurpose>
</RefNameDiv>
<!-- CDE Common Source Format, Version 1.0.0-->
<!-- *************************************************************************-->
<!-- ** (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company-->
<!-- ** (c) Copyright 1993, 1994, 1995 International Business Machines Corp.-->
<!-- ** (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.-->
<!-- ** (c) Copyright 1993, 1994, 1995 Novell, Inc.-->
<!-- *************************************************************************-->
<RefSynopsisDiv>
<FuncSynopsis Remap="ANSI">
<FuncSynopsisInfo>#include &lt;Dt/Editor.h>
</FuncSynopsisInfo>
<FuncDef>Boolean <Function>DtEditorDeleteSelection</Function></FuncDef>
<ParamDef>Widget <Parameter>widget</Parameter></ParamDef>
</FuncSynopsis>
</RefSynopsisDiv>
<RefSect1>
<Title>DESCRIPTION</Title>
<Para>The
<Function>DtEditorDeleteSelection</Function> 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;.</Para>
<Para>The
<Symbol Role="Variable">widget</Symbol> argument
Specifies the DtEditor widget ID.
<![ %CDE.C.CDE; [</Para>
<Para>For a complete definition of the DtEditor widget
and its associated resources, see
&cdeman.DtEditor;. ]]></Para>
</RefSect1>
<RefSect1>
<Title>RETURN VALUE</Title>
<Para>Upon successful completion, the
<Function>DtEditorDeleteSelection</Function> function returns
True;
otherwise, if the primary selection is
<SystemItem Class="Constant">NULL</SystemItem>, or if the widget
does not own the primary selection, it returns
False.
</Para>
</RefSect1>
<RefSect1>
<Title>SEE ALSO</Title>
<Para>&cdeman.Dt.Editor.h;, &cdeman.DtEditorClearSelection;, &cdeman.DtEditorCopyToClipboard;, &cdeman.DtEditorCutToClipboard;, &cdeman.DtEditorDeselect;, &cdeman.DtEditorPasteFromClipboard;, &cdeman.DtEditorSelectAll;, &cdeman.DtEditorUndoEdit;.</Para>
</RefSect1>
</RefEntry>
<!--fickle 1.12 mancsf-to-docbook 1.2 08/07/95 23:40:24-->