Altova XMLSpy 2022 Enterprise Edition

Superseded by AuthenticRange.Delete

 

The Delete method of AuthenticRange allows to delete any range of the document, not only the current UI selection.

 

// ----- javascript sample -----

// instead of:

// Application.ActiveDocument.DocEditView.EditClear();

// use now:

if (! Application.ActiveDocument.AuthenticView.Selection.Delete())

   MsgBox ("Error: can't delete current selection");

 

Declaration: EditClear

 

Description

Deletes the current selection.

 

 

 

 

© 2016-2022 Altova GmbH