.. highlightlang:: us .. index:: EdClear .. _edclear: EdClear ======= .. us.tag EdClear ENGLISH EdSet :ref:`EdClear` deletes the current selection in the editor. .. function:: bool = EdClear(hEdit) .. us.return **Return Value** If the function succeeds, the return value is TRUE (1); otherwise it is FALSE (0). .. us.params **Parameters** .. uparam:: hEdit Identifies the editor. .. us.comment **Comment** The deletion performed by :ref:`EdClear` can be undone by calling the :ref:`EdUndo` function. To delete the current selection and place the deleted contents into the clipboard, call the :ref:`EdCut` function. .. seealso:: :ref:`overview-editors`, :ref:`EdUndo`, :ref:`EdCut`, :ref:`EdCreate` :sub:`id-1677268`