Altova XMLSpy 2024 Enterprise Edition 

Superseded by AuthenticRange.IsDeleteEnabled

 

The IsDeleteEnabled property is now supported for any range of the document, not only the current UI selection.

 

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

// instead of:

// if (Application.ActiveDocument.DocEditView.IsEditClearEnabled)

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

// use now:

var objCurrSelection = Application.ActiveDocument.AuthenticView.Selection;

if (objCurrSelection.IsDeleteEnabled)

   objCurrSelection.Delete();

 

Declaration: IsEditClearEnabled as Boolean

 

Description

True if EditClear is possible. See also Editing operations.

 

 

 

© 2017-2023 Altova GmbH