Altova XMLSpy 2025 Enterprise Edition

Superseded by AuthenticView.Selection

 

The returned AuthenticRange object supports navigation via XMLData elements as well as navigation by document elements (e.g. characters, words, tags) or text cursor positions.

 

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

// instead of:

// var objDocEditSel = Application.ActiveDocument.DocEditView.CurrentSelection;

// use now:

   var objRange = Application.ActiveDocument.AuthenticView.Selection;

 

Declaration: CurrentSelection as DocEditSelection

 

Description

The property provides access to the current selection in the Authentic View.

 

 

 

© 2018-2024 Altova GmbH