Altova XMLSpy 2024 Enterprise Edition

Superseded by AuthenticRange.Cut


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


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

// instead of:

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

// use now:

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

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


Declaration: EditCut



Cuts the current selection from the document and copies it to the clipboard.





© 2018-2024 Altova GmbH