Please enable JavaScript to view this site.

Altova XMLSpy 2020 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.

 

 

 

 

© 2020 Altova GmbH