Please enable JavaScript to view this site.

Altova XMLSpy 2020 Professional 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");


See also


Declaration: EditClear



Deletes the current selection.





© 2019 Altova GmbH