Altova XMLSpy 2024 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



Deletes the current selection.





© 2018-2024 Altova GmbH