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



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




© 2017-2023 Altova GmbH