Altova XMLSpy 2022 Professional 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

 

Description

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

 

 

 

 

© 2016-2022 Altova GmbH