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

 

Description

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

 

 

 

 

© 2017-2023 Altova GmbH